summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* altos/telebt-v3.0: Add send_packet commandKeith Packard2017-05-19
| | | | | | Useful for doing host-based RF protocols. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telebt-v4.0: Remove HAS_POLLCHARKeith Packard2017-05-19
| | | | | | This isn't being used anymore. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefireone-v1.0: Fix confusing defines about config storageKeith Packard2017-05-19
| | | | | | | USE_INTERNAL_FLASH is about storing config data in internal flash, and should be on for telefireone. Signed-off-by: Keith Packard <keithp@keithp.com>
* re-brand current telefiretwo product as telefireoneBdale Garbee2017-05-15
|
* altos/ao_rn4678: Send '$$$' for new devices. Fix name setting code.Keith Packard2017-05-15
| | | | | | | | | New devices won't respond to the cmd pin we have configured, so get them to command mode by sending the $$$ string. Somehow I'd botched the name setting code and hadn't caught it as I hadn't tried a new device... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf: Fix up serial port flow control configuration bitsKeith Packard2017-05-15
| | | | | | | | | Compute whether any sw/hw flow control is in use. Compute whether hw flow control is in use as a separate value. These make the code a bit easier to follow. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telebt-v4.0: Hook up RN4678 moduleKeith Packard2017-05-13
| | | | | | | We've switched from the BM70 to this module which offers a virtual serial channel over both BT and BTLE. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add RN4678 Bluetooth module driverKeith Packard2017-05-13
| | | | | | | | | This works much like the old BTM module, but supports both bluetooth and bluetooth LE. I've poked at it briefly over BTLE to see that it appears to have the right name, but haven't attempted to communicate over BTLE yet. Signed-off-by: Keith Packard <keithp@keithp.com>
* telefiretwo: don't try to record pre-burn sensor values in FLIGHT recordBdale Garbee2017-05-11
|
* altos/telemini-v3.0: Use dbg connector pin 5 for force bootloaderKeith Packard2017-05-04
| | | | | | This works way better than attempting to use the beeper pin. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telemini-v3.0: Add 'recovery mode' on PA14 (pin 6 on dbg header)Keith Packard2017-05-04
| | | | | | | | Connect this pin to GND (pin 3) and TeleMini will come up with N0CALL at 434.550MHz using the original frequency calibration. Helps recover from accidental mis-configuration. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Move 'ao_force_freq' to ao_config.cKeith Packard2017-05-04
| | | | | | Instead of having to add it to each product using this variable. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make CDC ACM 'line coding' publicKeith Packard2017-05-04
| | | | | | This allows other systems to see what baud rate the host has requested. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telebt-v4.0 Set CPU clock to 48Mhz instead of 96MhzBdale Garbee2017-05-03
|
* altos/telegps-v2.0: Disable external serial port to save ROMKeith Packard2017-05-02
| | | | | | We'll have to rewrite some of the serial code to avoid sucking memory here. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Add code to use SoC flash as storageKeith Packard2017-05-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps-v2.0: Reorder initialization sequenceKeith Packard2017-04-30
| | | | | | | | This tries to be a bit more logical about the board initialization sequence, starting with the OS, then the support hardware, internal drivers, external drivers and finally services. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps-v2.0: CC1200 CS is PA1, not PA5.Keith Packard2017-04-30
| | | | | | | Also remove some unneeded config of an additional pin for MCU wakeup, which the CC1120 needs but the CC1200 does not. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps-v2.0: GPS chip is connected to serial 2, not serial 1Keith Packard2017-04-30
| | | | | | Turn on serial 2 and use it for GPS. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps-v2.0: Remove some unneeded definesKeith Packard2017-04-30
| | | | | | HAS_MS5607 and HAS_RADIO_RECV aren't useful. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps-v2.0: Battery ADC input is on PB1, not PA0Keith Packard2017-04-30
| | | | | | Rewire as needed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps-v2.0: Set CPU clock to 48MHz instread of 96MHzKeith Packard2017-04-30
| | | | | | Turns out the CPU doesn't run well at that speed. Who would have guessed? Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps-v2.0: Adjust LED configKeith Packard2017-04-30
| | | | | | The LED is green, not red. Use it for panic and GPS lock. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/kernel: Allow TeleGPS v2 to scale battery in telemKeith Packard2017-04-30
| | | | | | | | | TeleGPS v2 uses the STMF0 processor instead of the LPC11, which means the ADC range is different. As the raw ADC value was getting sent to represent battery voltage in the config packet, we need to scale that for the different processor. This patch allows that to happen. Signed-off-by: Keith Packard <keithp@keithp.com>
* src/kernel: Add GPS lock blink LED to tracker codeKeith Packard2017-04-30
| | | | | | Blinks an LED briefly once every three seconds when GPS is locked. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Build MicroPeak-v2.0 by defaultKeith Packard2017-04-28
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/micropeak-v2.0: Add initial MicroPeak v2 supportKeith Packard2017-04-28
| | | | | | | stm32f042 processor replaces the attiny85 and adds USB support along with more storage. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Add support for HSI clocked applicationsKeith Packard2017-04-28
| | | | | | And allow application space to be limited to less than available flash. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Fix HSI clock rate.Keith Packard2017-04-28
| | | | | | It's 8MHz, not 16MHz Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Make sure systick is off before programmingKeith Packard2017-04-28
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Compute serial baud rate registers at runtimeKeith Packard2017-04-28
| | | | | | | This allows the system clock to vary at runtime, instead of requiring a fixed value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/micropeak: Update ao_micropeak.h for MicroPeak v2Keith Packard2017-04-28
| | | | | | Allow different sample times, add constant for MicroPeak v2 log files. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/micropeak: Use existing ao_ms5607_current variableKeith Packard2017-04-28
| | | | | | Instead of defining another. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add header file for ao_report_micro.cKeith Packard2017-04-28
| | | | | | Defines the functions in this file. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add 100ms constants for baro Kalman filterKeith Packard2017-04-27
| | | | | | MicroPeak v2 uses this rate. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Adapt micro log to MicroPeak V3Keith Packard2017-04-27
| | | | | | | Allow use of regular serial API for sending data. Allow application to specify different storage size. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/ms5607: Allow applications to not use the normal data ring and threadKeith Packard2017-04-27
| | | | | | | MicroPeak V2 has tasks, but doesn't want to use another thread just for the MS5607. Signed-off-by: Keith Packard <keithp@keithp.com>
* telemini-v3.0: make git ignore build productsBdale Garbee2017-04-25
|
* telebt-v4.0: make git ignore products of buildBdale Garbee2017-04-25
|
* telegps-v2.0: slow down radio chip spi speedBdale Garbee2017-04-25
|
* telebt-v4.0: slow down SPI speed to radio chipBdale Garbee2017-04-25
|
* telebt-v4.0: turn off pin remapping in the flash loader, tooBdale Garbee2017-04-25
|
* telebt-v4.0: don't need the USB pin remapping flagBdale Garbee2017-04-25
|
* telebt-v4.0: add ao_send_packetBdale Garbee2017-04-25
|
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2017-04-25
|\
| * altos/nucleo-32: Add lisp save/restoreKeith Packard2017-04-24
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telegps-v2.0: git ignore make resultsKeith Packard2017-04-24
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * Ignore ao_lisp_testKeith Packard2017-04-24
| |
| * altos: Add telemini-v3.0 and easymini-v2.0 to default altos buildKeith Packard2017-04-24
| | | | | | | | | | | | Make sure they get built for releases Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/easymini-v2.0: Add EasyMini v2.0Keith Packard2017-04-24
| | | | | | | | | | | | Like EasyMini v1.0, but with the STM32F0 processor instead of LPC Signed-off-by: Keith Packard <keithp@keithp.com>