summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altos: Set APRS deviation to 3kHzstm-flashKeith Packard2013-05-06
| | | | | | | | I finally found a bunch of references to APRS on the net and they all appear to assume a 3kHz deviation. Let's see if this works better with Yaesu radios. Signed-off-by: Keith Packard <keithp@keithp.com>
* Revert "altos: Make APRS deviation configurable"Keith Packard2013-05-06
| | | | | | This reverts commit a18d68da1b0b23a6089166fcd14a5bb5368f10f1. We're just going to use 3kHz for APRS
* altos/test: Fix warning in ao_aprs_testKeith Packard2013-05-03
| | | | | | Was not forward-declaring ao_radio_send_aprs, causing a warning Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make APRS deviation configurableKeith Packard2013-05-03
| | | | | | Maybe this will help the Yaesu VX-8GR receive our packets Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge remote-tracking branch 'origin/master' into stm-flashKeith Packard2013-05-02
|\ | | | | | | | | Conflicts: altosdroid/Notebook
| * Allow build without SDCCKeith Packard2013-05-02
| | | | | | | | | | | | | | The AltOS directory handles not building the cc1111 apps when sdcc is missing already, so don't require it, just whinge if it's missing Signed-off-by: Keith Packard <keithp@keithp.com>
| * Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2013-04-29
| |\
| | * altosdroid: Add wish for persistent TBT and freq settingsKeith Packard2013-04-27
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | add libssl-dev as a build dep since it's used in FAT filesystem test codeBdale Garbee2013-04-29
| | |
| * | point to pkgconfig content in /opt/cortex so stlink stuff worksBdale Garbee2013-04-29
| | |
* | | altos: No need to set GPS tick in satellite packetKeith Packard2013-05-01
| | | | | | | | | | | | | | | | | | | | | It's already been set in the location packet, and doing it twice bumps TeleMetrum over the code space limit (yay!) Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Use SYSTICK on STM32LKeith Packard2013-05-01
| | | | | | | | | | | | | | | | | | | | | It's probably more power efficient than using one of the timers, and it's certainly easier to configure. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Mark GPS telemetry packets with GPS time stampKeith Packard2013-05-01
| | | | | | | | | | | | | | | | | | | | | | | | This provides a reasonable accurate indication of the system time when the GPS location data was received, and also makes sure GPS packets get some timestamp when no other telemetry is being transmitted. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altoslib: Update GPS state even if new state is unlockedKeith Packard2013-04-30
| | | | | | | | | | | | | | | | | | | | | Otherwise, we can't see fine GPS details while GPS is unlocked, and that's annoying Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Use separate exception stack on STM32LKeith Packard2013-04-30
| | | | | | | | | | | | | | | | | | | | | | | | This reserves 512 bytes of memory for a stack, then makes sure that exceptions continue to use that stack while processes use the per-task stack. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Reduce stack usage of FAT driver and loggerKeith Packard2013-04-30
| | | | | | | | | | | | | | | | | | | | | | | | Move some large stack arrays to static storage. Also eliminates some printf error messages which don't seem that useful except for debugging. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Open up the DVGA gain to use all of the available settingsKeith Packard2013-04-30
| | | | | | | | | | | | | | | | | | | | | We usually work in RF quiet areas; let the AGC hardware try all of the available gain settings. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Stop using telelco v0.2 top LEDS for radio TX/RXKeith Packard2013-04-30
| | | | | | | | | | | | | | | | | | | | | The top LEDs are now used for signal strength; a red LED indicates failed communcations, so we don't need to blink stuff and annoy the user. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Make cc1120 driver return false on recv timeoutKeith Packard2013-04-30
| | | | | | | | | | | | | | | | | | Was returning an uninitialized value, which was often not zero Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Reconfigure CC1120 receiver to match our usageKeith Packard2013-04-29
| | | | | | | | | | | | | | | | | | | | | | | | Open up the AGC to the full range. Set the AGC ref based on our receive BW (100kHz). Use the previous AGC value as the first guess for the next receive. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Compute "real" RSSI value in radio code as neededKeith Packard2013-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of dragging around the weird CC1111 RSSI values, just compute a dBm value in a signed 8-bit integer, ao_radio_rssi. Use that everywhere we need RSSI internally. We leave the weird CC1111 value in the packet reply as that's what the host expects. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altosdroid: Add Notebook entry for reloading telem data optionKeith Packard2013-04-29
| | | | | | | | | | | | | | | | | | | | | This lets the user recover the rocket flight data after stopping the application but before recovering the rocket. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: More .gitignore bitsKeith Packard2013-04-28
| | | | | | | | | | | | | | | | | | stm-demo Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Add a bunch of .gitignore filesKeith Packard2013-04-28
| | | | | | | | | | | | | | | | | | Ignore ao_product.h and built binaries Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Add ublox checksum app to generate ublox config linesKeith Packard2013-04-28
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Add .gitignore to kalman test dirKeith Packard2013-04-28
| | |
* | | altos: Build test framework for kalman filterKeith Packard2013-04-28
| | | | | | | | | | | | | | | | | | | | | This has some known flight data and generates kalman filter information for them to test Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Ignore ao_aes_test binaryKeith Packard2013-04-28
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos/test: Add telemega plot helper scriptKeith Packard2013-04-28
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Simple .gdbinit file for telegpsKeith Packard2013-04-28
| | | | | | | | | | | | | | | | | | Turns on pretty printing Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Add nickle micropeak log parsing codeKeith Packard2013-04-28
| | | | | | | | | | | | | | | | | | I think this was just some debugging stuff, but it doesn't seem useless Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Add telelco-v0.2 projectKeith Packard2013-04-28
| | | | | | | | | | | | | | | | | | Includes the necessary flash loader bits too Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Allow LCD segments to not be multiplexed across digitsKeith Packard2013-04-28
| | | | | | | | | | | | | | | | | | | | | This allows each LCD segment to be individually configured as to which COM and which SEG drives it, permitting maximum flexibility in wiring. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Wait after configuring boot pin before testing itKeith Packard2013-04-28
| | | | | | | | | | | | | | | | | | | | | | | | Clearly the pin isn't quite ready just after it's been configured, so hang around for a while (100 nops) to let things setting down before testing the value of the pin. Makes booting a lot more reliable. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Clear any broken cc1120 TX fifo bits before transmittingKeith Packard2013-04-28
| | | | | | | | | | | | | | | | | | | | | | | | This just goes and clears the transmitter before using it, just in case it got wedged somehow. It also clears the bits while waiting for the radio to go idle, otherwise it'd never make it. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Make cc1120 driver wait for TX finishedKeith Packard2013-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, we may come in and try to use the radio again too quickly, causing it to go into a TX fifo error state. This change watches the MARC status until the transmitter is explicitly marked as finished. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Provide timeout value to ao_radio_recvKeith Packard2013-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using ao_alarm around calls to ao_radio_recv, provide an explicit timeout value as needed by radio functions with more complicated system interaction than the cc1111. The timeout is 8 bits of clock ticks. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Build test framework for AES codeKeith Packard2013-04-28
| | | | | | | | | | | | | | | | | | Simple CBC-CMAC test with a constant 0 key and constant 0 data for now. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Make telemega-v0.3 binary use the right nameKeith Packard2013-04-27
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos/stm: Create per-product flash loadersKeith Packard2013-04-27
| | | | | | | | | | | | | | | | | | | | | Split the flash loader prototype into pieces so that each product can build a custom flash loader with very little code. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Add ao_boot_chain to telemega v0.3Keith Packard2013-04-27
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | | Merge branch 'master' into stm-flashKeith Packard2013-04-27
|\ \ \ | | |/ | |/|
| * | altos: All STM ADC users need to declare HAS_ADC_TEMPKeith Packard2013-04-27
| | | | | | | | | | | | | | | | | | Otherwise we can't configure the ADC unit correctly at boot time Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Build telemega-v0.3 by defaultKeith Packard2013-04-27
| |/ | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge branch 'master' into stm-flashKeith Packard2013-04-27
|\|
| * Merge remote-tracking branch 'origin/master'Keith Packard2013-04-25
| |\
| | * document need for an ARM Cortex toolchain in /opt/cortex, point to build docsBdale Garbee2013-04-25
| | |
| * | altos: Add TeleMega v0.3 supportKeith Packard2013-04-25
| | | | | | | | | | | | | | | | | | Includes adding SPI support to the MPU6000 driver Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Add MR25 everspin MRAM driverKeith Packard2013-04-25
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Make SD card driver compile without radio supportKeith Packard2013-04-25
| |/ | | | | | | | | | | | | | | The SD card driver blocks the radio when trying to access the card as that operation appears very sensitive to RFI. This fix makes the driver work when there *isn't* a radio driver in the same device. Signed-off-by: Keith Packard <keithp@keithp.com>