summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altos: Baro-only (but record accel) for TM v1.2pwminKeith Packard2012-07-21
| | | | | | Changes for ULA payload Signed-off-by: Keith Packard <keithp@keithp.com>
* Make telepyro build againKeith Packard2012-07-20
| | | | | | Make the ICP3 rpm counter use in ao_adc_avr.c optional Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' into pwminKeith Packard2012-07-20
|\
| * tools: Use pkgconfig to find stlink for ao-stmloadKeith Packard2012-07-20
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * Add stlink pinoutKeith Packard2012-07-20
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Delay starting KML output for flight and GPS coordsKeith Packard2012-07-19
| | | | | | | | | | | | | | Don't start outputing KML data until the telem record containing flight number and GPS coordinates are present. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Enable ULA-specific optionsKeith Packard2012-07-19
| | | | | | | | | | | | | | MPU6000 Z-axis for 'up'/'down'. Delay radio by 40 seconds after boost Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Start radio a fixed time after boostKeith Packard2012-07-19
| | | | | | | | | | | | Keeps the radio quiet while inside the ULA airframe Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Allow 'Z' MPU6000 axis to be changed at compile timeKeith Packard2012-07-19
| | | | | | | | | | | | | | This axis selects which axis to use for computing flight acceleration when no high-g accelerometer is present. Signed-off-by: Keith Packard <keithp@keithp.com>
* | telescience: steal last adc channel for icp3 most recent valueRobert Garbee2012-07-19
|/
* 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
|\
| * altosdroid: Start adding an AltosLink subclass for androidKeith Packard2012-07-18
| | | | | | | | | | | | Will talks over bluetooth while providing an AltosLink APi Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Make scan UI handle incremental telem dataKeith Packard2012-07-18
| | | | | | | | | | | | | | | | | | The new telem format doesn't send everything in each telem packet, so we need to handle updating information incrementally in the scan results. This involved clearing old scan data when switching frequencies and then updating existing entries with new data as it arrives. Signed-off-by: Keith Packard <keithp@keithp.com>
| * 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>
| * altosui: Accept variations in spacing for igniter status replyKeith Packard2012-07-17
| | | | | | | | | | | | Megametrum uses different white space; just deal with it here. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Move idle monitor managing code to altoslibKeith Packard2012-07-17
| | | | | | | | | | | | More stuff to be shared (potentially) 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>
| * altoslib: Don't use MISSING values in max computationsKeith Packard2012-07-17
| | | | | | | | | | | | | | Early telemetry state may be missing critical data, don't use MISSING values in computing max ranges. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Fix MM conversion functionsKeith Packard2012-07-17
| | | | | | | | | | | | | | Pressure is already reported in Pa, no need to convert that. Voltage divider computations were backwards. 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>
* Add ao-stmload toolKeith Packard2012-07-17
| | | | | | | This loads an ELF image through the STlink programming interface using the stlink utility library Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Skip unknown data when parsing ADC for idle monitoringKeith Packard2012-07-16
| | | | | | This resolves an infinite loop when talking to megametrum. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move serial datastream parser to altoslibKeith Packard2012-07-16
| | | | | | instead of having it in altosui 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>
* altos/stm: Expose ao_gpio_set which sets a specific GPIO pinKeith Packard2012-07-14
| | | | | | Will need versions for other architectures Signed-off-by: Keith Packard <keithp@keithp.com>
* stm: running out of memory in MM -- reduce stack to 668 bytesKeith Packard2012-07-14
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add arbitrary pyro channel supportKeith Packard2012-07-14
| | | | | | | Programmed by specifying a conjunction of flight conditions that trigger the igniter to fire. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: Force STM stack to start at the top of RAMKeith Packard2012-07-14
| | | | | | | Using a fixed size means crashing if there's not enough space for that, or wasting memory if there's too much. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Abstract remote connection timeout stuffKeith Packard2012-07-11
| | | | | | | This moves some of the logic for managing when to present the 'cancel' dialog for remote operations to altoslib. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove a bunch of debugging printfsKeith Packard2012-07-11
| | | | | | These aren't useful at this point. Signed-off-by: Keith Packard <keithp@keithp.com>