summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* altos/telelco: Search for available firing nodes at boot timeKeith Packard2012-09-09
| | | | | | Query for available firing nodes, limiting device selections to those found. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefire: Add steady warble when the LCO arm switch is onKeith Packard2012-09-09
| | | | | | And make debugging a run-time option too. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: Fix basic time interval to 10ms -- was 10.1msKeith Packard2012-09-09
| | | | | | Counting from 0 to 100 takes 10.1ms, so count to 99 instead. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/spiradio: Label LEDs so that the radio code can use themKeith Packard2012-09-09
| | | | | | Mark which should be on for TX and which for RX Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Try to get remote cmac time closer to realityKeith Packard2012-09-09
| | | | | | | | Record the time after the packet was sent, but before the return packet arrives to try and more closely approximate the time the packet arrived at the other end. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Clean up flight data definitionsKeith Packard2012-09-09
| | | | | | | These just shuffle the various definitions of data macros around to make the include files more sensible looking. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: include ao_arch_funcs.h at the very end of ao.hKeith Packard2012-09-09
| | | | | | Move it below the definition of the ms5607 init function Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow products without MS5607Keith Packard2012-09-09
| | | | | | | The define for a missing MS5607 was wrong, so anything using the fancy multi-sensor data code would break without an MS5607 in place. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix radio slave to run lights in the normal wayKeith Packard2012-09-06
| | | | | | These were left in a debug mode, toggling instead of flashing. Signed-off-by: Keith Packard <keithp@keithp.com>
* Revert "first work on PWM input to TeleScience, 'p' command displays timer 1"Keith Packard2012-09-01
| | | | | | PWM bits not suitable for master This reverts commit e93c6bcc799d76d4ff425815e2601a25e6796229.
* Revert "Timer 3 working with slower clock and all 16 bits."Keith Packard2012-09-01
| | | | | | PWM bits not suitable for master This reverts commit 49b1ff4c614d24977b33cd17b583acc87acff476.
* Revert "ICP3 working"Keith Packard2012-09-01
| | | | | | PWM bits not suitable for master This reverts commit 75d6aa6f798606f1a6c5a46542065dda81e63b2a.
* Revert "telescience: correctly calculating rate values with higher resolution"Keith Packard2012-09-01
| | | | | | PWM bits not suitable for master This reverts commit ada6f2dfc045e77cb9499f20cdec1b4a54ef0db1.
* altos: Get mma655x driver limping alongKeith Packard2012-08-31
| | | | | | This appears to drive the chip correctly to see values from the accelerometer. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix mma665x pin assigment for mma655xKeith Packard2012-08-31
| | | | | | It's on PE13-PE15, not PA5-PA7 Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add custom panic noise for self-test failuresKeith Packard2012-08-31
| | | | | | Make it easier to tell which component is failing self test Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: another .gitignore fileKeith Packard2012-08-30
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: ao_cc_spi.h isn't necessary for telelcoKeith Packard2012-08-30
| | | | | | The SPI radio defines are in ao_radio_spi.h Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add a bunch of .gitignore entriesKeith Packard2012-08-30
| | | | | | Clean up the git status output Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shuffle LCO functions around, add telelco first cutKeith Packard2012-08-30
| | | | | | | | | Pull LCO functions shared between LCO UI and command line into ao_lco_funcs.c. Import bits for telelco. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Disable debug printfs and fix pad ignite time for telefireKeith Packard2012-08-30
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: spiradio debug serial is port 1, not port 0Keith Packard2012-08-29
| | | | | | | The SPI link uses port 0; it seems like the having the two try to share the same wires is a bad plan. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: SPI radio - use 1->0 for 'done' and 0->1 for 'ready'Keith Packard2012-08-29
| | | | | | | | | | This changes how the SPI radio protocol uses the interrupt line. Instead of a pulse indicating operation done, this now uses a 0 value for done and a 1 value for ready. The key distinction is that the master can tell when the slave is waiting for the next command instead of hoping that it got done 'soon enough'. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: fix ao_pad debug output for query commandKeith Packard2012-08-29
| | | | | | Igniter status is an array these days. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use updated pad protocol for lco commandsKeith Packard2012-08-29
| | | | | | | Stop using the older single-channel protocol and switch to the new multi-channel protocol Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Note changes to configured AES key for SPI radio convenienceKeith Packard2012-08-29
| | | | | | | Keep a sequence number to mark when the AES key is changed so that the radio code can avoid sending the key before every CMAC radio operation. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Wait for IN dma complete on slave SPI sendKeith Packard2012-08-29
| | | | | | | SPI send double buffered, so the DMA completes one byte too early. Use the recv DMA to know when the SPI transfer is complete. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Oops. forgot ao_data.cKeith Packard2012-08-28
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add spiradio MakefileKeith Packard2012-08-28
| | | | | | git add doesn't add Makefile by default. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Mostly working SPI radio linkKeith Packard2012-08-28
| | | | | | | | This includes long delays to avoid overrunning the cc1111 input, otherwise it works pretty well. The delays mean that we can't capture the reply to a cmac command though, so more work is needed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Include the radio_cmac debug commands in telefireKeith Packard2012-08-28
| | | | | | Just temporary debugging Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Explicitly erase memory in STM eeprom driver.Keith Packard2012-08-28
| | | | | | This seems to make the STM32L152 happier Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Track protocol changes to ao_pad debug messagesKeith Packard2012-08-28
| | | | | | Make the debug output build again. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Stop providing debug commands in seven-segment driverKeith Packard2012-08-28
| | | | | | The radio_cmac debug commands use the same letter, and this code works now... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Move radio_cmac test funcs from ao_lco_cmd.c to new fileKeith Packard2012-08-28
| | | | | | | These are useful in the firing node for testing as well, so move them to be shared. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: When sharing radio DMA for AES, use it for in instead of outKeith Packard2012-08-28
| | | | | | | | | We look at the out_done value, but not the in_done value; if we use the radio DMA for out, we would have to use ao_radio_dma_done to check for completion. This way, we can ignore that value and use the existing ao_aes_dma_out_done value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix ao_delay function and move from per-chip code to ao_task.cKeith Packard2012-08-28
| | | | | | | ao_delay hasn't been chip-specific for a long time, and it had a bug in not calling ao_clear_alarm. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Enable STM SYSCFG when routing EXTIKeith Packard2012-08-28
| | | | | | | The EXTI routing information is in the syscfg unit, so that needs to be powered up or writes to its registers will be lost. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: No need to initialize EXTI priorities at startup timeKeith Packard2012-08-28
| | | | | | They all get set to the correct value when enabled. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add spiradio productKeith Packard2012-08-27
| | | | | | Implements the SPI radio protocol Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: sdcdb rc file for telefireKeith Packard2012-08-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add SPI linked radio APIKeith Packard2012-08-27
| | | | | | Forward the necessary radio functions over the SPI link Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Clean up radio APIsKeith Packard2012-08-27
| | | | | | | Move api to ao_radio_cmac.h include file. Expose ao_radio_test as standard API. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Build telelco and spiradio when possibleKeith Packard2012-08-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Expose a signed version of the tick countKeith Packard2012-08-27
| | | | | | Useful when doing time comparisons. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Specify the LCD duty cycle for stm-demoKeith Packard2012-08-27
| | | | | | This is the demo for the large 7-segment displays and needs static drive Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Test multiple quadrature devices. Export quadrature count.Keith Packard2012-08-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Seven segment display driverKeith Packard2012-08-27
| | | | | | Hex numbers and the decimal point. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: More SPI slave changes for cc1111 driverKeith Packard2012-08-27
| | | | | | Don't enable DMA in the other direction when doing slave transfers. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add SPI slave get/put macros to cc1111Keith Packard2012-08-27
| | | | | | Theese don't try to drive the chip select line Signed-off-by: Keith Packard <keithp@keithp.com>