summaryrefslogtreecommitdiff
path: root/src/telebt-v3.0
Commit message (Collapse)AuthorAge
* altos/telebt-v3.0: Report battery voltage correctlyKeith Packard2015-06-25
| | | | | | | There was an extra %d, and an extra ':' in the output, making the UI not parse the voltage correctly Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Replace ao_alarm/ao_clear_alarm with ao_sleep_forKeith Packard2015-02-13
| | | | | | | | | | | | | | | | Having arbitrary alarms firing in the middle of complicated device logic makes no sense at all. Therefore only correct use of ao_alarm and ao_clear_alarm was around a specific ao_sleep call, with correct recovery in case the alarm fires. This patch replaces all uses of ao_alarm/ao_sleep/ao_clear_alarm with ao_sleep_for, a new function which takes the alarm timeout directly. A few cases which weren't simply calling ao_sleep have been reworked to pass the timeout value down to the place where sleep *is* being called, and having that code deal with the return correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telebt-v3.0: Set initial radio cal to a sensible valueKeith Packard2015-02-04
| | | | | | | | CC1200 uses a different xtal than CC1120, so the default calibration needs to change. This value hit 434.550 on SN 2407, so it seems like a reasonable place to start. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telebt-v3.0: Add monitor bitsKeith Packard2015-02-01
| | | | | | Will be useful to actually be able to receive telemetry Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telebt-v3.0: Turn red LED off after initializationKeith Packard2015-02-01
| | | | | | This lets the user know the device successfully initialized. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telebt-v3.0: Fix stdio setup for BTMKeith Packard2015-02-01
| | | | | | | Make sure the BTM module is allowed to be included in stdio, but delay adding that until the BT link is running. Signed-off-by: Keith Packard <keithp@keithp.com>
* And, also add the TeleBT v3.0 flash loader MakefileKeith Packard2015-01-30
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Oops, forgot the TeleBT-v3.0 MakefileKeith Packard2015-01-30
| | | | | | | git doesn't warn about files named 'Makefile' because they're supposed to be generated... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add support for TeleBT v3.0Keith Packard2015-01-24
Add support to the BTM driver for non-CC1111 interrupts Add HW flow control to STM serial driver Signed-off-by: Keith Packard <keithp@keithp.com>