summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* altos: Disable telefire 'pad' listener when testing radioKeith Packard2012-08-24
| | | | | | | Ensures that the radio testing won't block waiting for a firing mode packet to arrive. Signed-off-by: Keith Packard <keithp@keithp.com>
* Here's the button driver and event queue logicKeith Packard2012-08-18
| | | | | | These were neglected in the commit which was supposed to include them Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add MMA655X driverKeith Packard2012-08-18
| | | | | | Just debug code at this point, will complete on real hardware Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/cc1111: Document SPI bus pin optionsKeith Packard2012-08-18
| | | | | | Just a comment in the source code about which pins each option selects. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use split SPI bus for MS5607 sensorKeith Packard2012-08-18
| | | | | | | Leave CS low while releasing the SPI bus when waiting for conversion complete -- other SPI bus users will use another set of pins. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow STM SPI bus on multiple pin setsKeith Packard2012-08-18
| | | | | | | | This allows multiple STM pin groups to be used for each SPI bus. Useful for the MS5607 sensor which signals conversion complete on the MISO line. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix .sdcdbrc file for telebt-v0.1Keith Packard2012-08-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Oops. Serial 1 stdin was busted by typoKeith Packard2012-08-07
| | | | | | | | | | A typo in the symbol used to enable stdin wakeups from serial1 caused the input to pend until some other wakeup occurred. This also makes the serial1 hw flow control pin selects in config 2 work right, although those aren't used by any current product Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add button driver and event queueKeith Packard2012-08-06
| | | | | | | With this, a single task can wait for any button or quadrature input device. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Support multiple quadrature encoders.Keith Packard2012-08-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix up quadrature driverKeith Packard2012-08-06
| | | | | | Mostly works now, should work reliably with a bit of input filtering. Signed-off-by: Keith Packard <keithp@keithp.com>
* Signed-off-by: Keith Packard <keithp@keithp.com>Keith Packard2012-08-06
| | | | altos: Test quadrature driver
* altos: Add quadrature driverKeith Packard2012-08-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add ao_gpio_get and ao_exti_set_modeKeith Packard2012-08-06
| | | | | | Needed to support general GPIO interrupts Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Build ao_kalman.h from cc1111 subdirs as neededKeith Packard2012-08-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* src/cc1111: Enable SPI slave modeKeith Packard2012-08-05
| | | | | | This is untested... Signed-off-by: Keith Packard <keithp@keithp.com>
* src/cc1111: Allow serial0 without serial1Keith Packard2012-08-05
| | | | | | The ao_serial_speed structure is needed by serial0 too. Signed-off-by: Keith Packard <keithp@keithp.com>
* src/cc1111: Add ao_gpio_set macroKeith Packard2012-08-05
| | | | | | Allows general GPIO-using code to run on cc1111 Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add driver for STM internal flashKeith Packard2012-07-29
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add telefire-v0.1Keith Packard2012-07-29
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add software AES implementationKeith Packard2012-07-29
| | | | | | This is untested Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/cc1111: Fix serial 0 option 2 pins definitionsKeith Packard2012-07-29
| | | | | | tx/rx are 4/5, rts/cts are 2/3 Signed-off-by: Keith Packard <keithp@keithp.com>
* Add ability to re-play telemetry through TeleDongleKeith Packard2012-07-29
| | | | | | | | This adds a new command to TeleDongle to send arbitrary data, and then creates a new tool, 'ao-send-telem' that replays existing telemetry files through TeleDongle. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Move ao_radio_cmac.c to core (it doesn't depend on hardware)Keith Packard2012-07-22
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Add stlink pinoutKeith Packard2012-07-20
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* telescience: correctly calculating rate values with higher resolutionRobert Garbee2012-07-18
|
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosRobert Garbee2012-07-18
|\
| * altos: Toggling telemetry monitoring would replay the telem queueKeith Packard2012-07-17
| | | | | | | | | | | | | | | | Using the 'm' command to turn telem off and back on would end up going around the whole telemetry queue replaying everything there as the wait loop would exit when disabling monitoring even if the ring was empty. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: With debug cables disconnected, CC1120 seems happy at +16dBmKeith Packard2012-07-17
| | | | | | | | | | | | Let's see how it goes... Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Megametrum ADC values are 12 bits, discard low 4 for telemetryKeith Packard2012-07-17
| | | | | | | | | | | | | | We've only got space for 8 bits for the ADC values for pyro channels, discard the low 4 bits instead of the low 8 bits. Signed-off-by: Keith Packard <keithp@keithp.com>
* | ICP3 workingRobert Garbee2012-07-18
| |
* | Timer 3 working with slower clock and all 16 bits.Robert Garbee2012-07-18
| |
* | first work on PWM input to TeleScience, 'p' command displays timer 1Robert Garbee2012-07-17
|/
* altos: Place STM config values at fixed addresses for re-useKeith Packard2012-07-17
| | | | | | | | Just like cc1111, stick the serial number and radio calibration values at known fixed addresses so that when re-flashing the board, we can go find the existing values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: megametrum depends on ao_companion.hKeith Packard2012-07-16
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Enable pyro channel control in telepyroKeith Packard2012-07-16
| | | | | | This should make the board actually work now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add manual firing command for extra pyro channelsKeith Packard2012-07-16
| | | | | | | In parallel with the existing igniter commands, this tests the programmable pyro channels Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use 'HAS_ORIENT' to enable orientation selection in pyro codeKeith Packard2012-07-16
| | | | | | Don't expose orientation options when no orientation data is available Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Pass flight dynamics to companion boardsKeith Packard2012-07-16
| | | | | | Necessary for TelePyro Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make ao_tick_count visibleKeith Packard2012-07-16
| | | | | | | Necessary to fetch it when interrupts are already disabled as we can't call ao_time then. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove some debug code from avr ADC driverKeith Packard2012-07-16
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make sure telepyro ao_product.h is built before .o filesKeith Packard2012-07-16
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make storage addresses datatype configurableKeith Packard2012-07-16
| | | | | | No sense using 32 bits for tiny hardware Signed-off-by: Keith Packard <keithp@keithp.com>
* src: Add driver for AVR internal eeprom. Use for telepyro config.Keith Packard2012-07-16
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: No space for pyro help on TP v0.1Keith Packard2012-07-16
| | | | | | | AVR doesn't have enough ram to hold the help messages, and we can't use them in flash. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove unused 'func' from ao_config_setKeith Packard2012-07-16
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/avr: Remove debugging command from USB driverKeith Packard2012-07-16
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/avr: Remove debugging printf in avr stdio startupKeith Packard2012-07-16
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* src: Add explicit 'pin' argument to ao_enable_outputKeith Packard2012-07-14
| | | | | | | This lets the cc1111 use the atomic bit operation instead of a mask, which is immune to interrupt issues as well as being a shorter code sequence. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/megametrum: Support the four additional pyro channelsKeith Packard2012-07-14
| | | | | | These use the new pyro code to allow for some flexibility in programming. Signed-off-by: Keith Packard <keithp@keithp.com>