goodwatch/firmware
2018-09-16 15:29:33 -04:00
..
apps Drops power consumption to 3.5µA by always running in fast mode. #103 2018-08-31 15:04:30 -04:00
libs Drops power consumption to 3.5µA by always running in fast mode. #103 2018-08-31 15:04:30 -04:00
.gitignore
adc10.h Adds symbols and beginning support for the ADC10 unit of the CC430F6147. #76 2018-07-04 13:52:13 -04:00
adc.c Cleanup. 2018-07-23 18:20:30 -04:00
adc.h Adds symbols and beginning support for the ADC10 unit of the CC430F6147. #76 2018-07-04 13:52:13 -04:00
api.h int2bcd ROM table, eliminates all divisions in clock applet displaying the time. #96 2018-07-23 19:07:59 -04:00
applist.c Moved order of Shabbat app. 2018-08-03 17:48:50 -04:00
applist.h Shabbat applet; edit the Makefile to enable it. Close #101 2018-08-03 12:48:32 -04:00
apps.c Drops power consumption to 3.5µA by always running in fast mode. #103 2018-08-31 15:04:30 -04:00
apps.h Clock and Settime are now separate applets. 2018-07-29 15:40:05 -04:00
bcd.c int2bcd ROM table, eliminates all divisions in clock applet displaying the time. #96 2018-07-23 19:07:59 -04:00
bcd.h int2bcd ROM table, eliminates all divisions in clock applet displaying the time. #96 2018-07-23 19:07:59 -04:00
buzz.c Drops power consumption to 3.5µA by always running in fast mode. #103 2018-08-31 15:04:30 -04:00
buzz.h use Travis' buzz driver instead of mine, re-add alarm app to list 2018-02-10 12:28:12 -05:00
codeplug.c Functional VFO mode in Tuner applet. Close #51. 2018-04-15 18:21:30 -04:00
codeplug.h Functional VFO mode in Tuner applet. Close #51. 2018-04-15 18:21:30 -04:00
codeplug.txt
configdefault.h Cleanup before Defcon. Minor warning in ook.c will be taken care of shortly. 2018-08-09 07:28:59 -04:00
configtemplate.h New OOK modes in the config template. 2018-09-02 11:56:54 -04:00
configure
descriptor.c Beginnings of a module to parse the descriptor tables. We don't investigate the TLV yet, but it's enough to read the model number. #75 2018-04-21 14:04:00 -04:00
descriptor.h Beginnings of a module to parse the descriptor tables. We don't investigate the TLV yet, but it's enough to read the model number. #75 2018-04-21 14:04:00 -04:00
dmesg.c
dmesg.h
Doxyfile
energytrace-txt.gnuplot Better ranging on the text power plot. 2018-08-30 12:30:54 -04:00
energytrace.gnuplot Comments and cleanup. 2018-09-05 12:54:55 -04:00
keypad.c Further cleanup of the LCD behavior in Clock and Stopwatch. #96 2018-07-26 18:22:32 -04:00
keypad.h Moves the VCC code into a new module, adc.o. Battery measurement is now performed in the clock applet by pressing '1'. #76 2018-07-03 11:24:03 -04:00
lcd.c Comments and cleanup. 2018-09-05 12:54:55 -04:00
lcd.h
lcdtext.c Counter now shows the RSSI of the selected channel. 2018-07-29 16:29:51 -04:00
lcdtext.h Counter now shows the RSSI of the selected channel. 2018-07-29 16:29:51 -04:00
main.c Grounds unused pins of Port J to drastically reduce power consumption when profiling. Close #105. 2018-09-16 15:29:33 -04:00
Makefile Command to dump dmesg over sbw. 2018-09-05 12:35:51 -04:00
memory.x
monitor.c Drops power consumption to 3.5µA by always running in fast mode. #103 2018-08-31 15:04:30 -04:00
monitor.h
msp430.x
optim.c Cleanup of the new BCD/HEX conversion. 2018-05-24 14:17:51 -04:00
optim.h Cleanup of the new BCD/HEX conversion. 2018-05-24 14:17:51 -04:00
packet.c Functional OOK emulation example. #85 2018-04-05 15:32:05 -04:00
packet.h
periph.x Adds symbols and beginning support for the ADC10 unit of the CC430F6147. #76 2018-07-04 13:52:13 -04:00
power.c
power.h
radio.c VCC now properly measured in both CC430F6137 (ADC12) and CC430F6147 (ADC10) devices.) #76 2018-07-07 15:54:14 -04:00
radio.h Functional OOK emulation example. #85 2018-04-05 15:32:05 -04:00
README.md
ref.c Now setting sampled mode. I expect that this was already the default. 2018-07-23 18:23:18 -04:00
ref.h VCC now properly measured in both CC430F6137 (ADC12) and CC430F6147 (ADC10) devices.) #76 2018-07-07 15:54:14 -04:00
rng.c Addressing #67 - RNG now has more uniform distribution 2018-02-12 01:57:10 +01:00
rng.h Cleanup to the new RNG, #63. 2018-01-27 14:50:28 -05:00
rtc.c Kills an RTCIV printf. 2018-05-30 23:46:52 -04:00
rtc.h
rtcasm.h Noted that the RTC bug is specific to the '6137. The '6147 is unaffected. 2018-07-29 11:03:15 -04:00
rtcasm.S
sidebutton.c Minor cleanup, shabbat mode fixes. 2018-08-18 14:04:37 -04:00
sidebutton.h
uart.c
uart.h
ucs.c Comments and cleanup. 2018-09-05 12:54:55 -04:00
ucs.h

Howdy y'all,

The GoodWatch firmware is in this directory. You will find user-level applications in the apps/ subdirectory, while *.c in the root directory contain low-level drivers.

To add your own application, for one of the smaller examples, such as stopwatch.c. Your app must provide functions for _init() (to run at startup), _draw() (to run every quarter-second for rendering), and _exit() which should just return 0 unless you need to intercept the Mode button, in which case it may return 1 to delay the exit. Add these three functions to a line of the apps[] structure in applist.h.

In general, we try not to over-abstract the hardware because we don't intend the design to be portable away from the CC430. Include <msp430.h> if you need to access the CC430's IO registers or "api.h" for all the standard functions of the GoodWatch firmware.

Cheers,

--Travis