summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add --with parameters to configure for compiler selectionnew-stateKeith Packard2013-10-08
| | | | | | | | This allows the user to specify which compiler to use for each target CPU. Also checks to make sure the arm compiler supports -m0 and -m3 cpu type flags. The build now actually uses the specified compilers too. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: New GAS version requires flags in APSR assignmentKeith Packard2013-10-08
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Rename easymini-v0.1 to easymini-v1.0Keith Packard2013-10-07
| | | | | | The production boards are the same as the modified v0.1 boards Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc, altos/stm: ARM requires ISB after switching stack pointersKeith Packard2013-10-07
| | | | | | | This sticks a barrier in the CPU to prevent using the wrong stack register past the change. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Don't require an LED for ao_flightKeith Packard2013-10-07
| | | | | | EasyMini has no LEDs. Deal with it. Signed-off-by: Keith Packard <keithp@keithp.com>
* Change differentiation filter constants and limitsKeith Packard2013-10-07
| | | | | | | Larger limits avoids clipping legit data. Using the same filter time for both ascent and descent makes the results look a bit cleaner. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Set TeleMini v2.0 USB ID correctlyKeith Packard2013-09-19
| | | | | | Uses 0x0027 Signed-off-by: Keith Packard <keithp@keithp.com>
* Add TeleMini v2.0 telemetry supportKeith Packard2013-09-19
| | | | | | Includes AltosLib and ao-telem Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Prefer averaged ground pres for ground alt computationKeith Packard2013-09-19
| | | | | | | | If ground pressure is recorded (as from an eeprom file), then prefer that value to the average of the pre-boost ground pressures when computing the ground altitude. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telemetrum-v2.0: Use red LED during boot timeKeith Packard2013-09-15
| | | | | | | If the LED is stuck on, then the board has failed to initialize, so use red instead of green as a warning indicator. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telemini-v2.0: Change initialization orderKeith Packard2013-09-15
| | | | | | Make sure busses are running before devices are initialized Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Stop copying cc1111 binaries to the altos/src dirKeith Packard2013-09-15
| | | | | | Just clutters up that directory. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add nanopeak-v0.1Keith Packard2013-09-15
| | | | | | The same as micropeak, just a few different pins Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Move micropeak sources aroundKeith Packard2013-09-15
| | | | | | | | This sticks the micropeak sources in appropriate directories, rather than in the micropeak product directory so that they can be shared with future micropeak-style products. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Include device name in Table viewKeith Packard2013-09-06
| | | | | | It's part of the telemetry, so we might as well display it Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: TeleMetrum v2 telemetry includes computes Pa/°C, not raw valuesKeith Packard2013-09-06
| | | | | | | Telemetry sends converted pressure/temp values as it doesn't include the MS5607 calibration data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add receiver serial to telem file namesKeith Packard2013-09-06
| | | | | | Makes it easy to record telemetry from multiple sites and compare them later. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Set 'flight' value in AltosEepromMonitor window during downloadKeith Packard2013-09-06
| | | | | | This feature was lost in the AltosState updates Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Load Telem files in AltosDataChooser tooKeith Packard2013-09-06
| | | | | | Telem file loading was stubbed out from AltosState changes Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add TeleMini eeprom file to Makefile.amKeith Packard2013-09-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Lock access to AltosLink config_dataKeith Packard2013-09-06
| | | | | | | Prevents multiple callers from trying to get config data at the same time and messing up the serial line Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Set 'valid' for valid TeleMetrum eeprom downloadKeith Packard2013-09-06
| | | | | | | Had separate 'tick_valid' value, which wasn't useful as the supertype didn't look there. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui: Add TeleMini-v1.0 eeprom supportKeith Packard2013-09-06
| | | | | | Got lost in the AltosState transition Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debugging printf from InfoTableKeith Packard2013-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Set tick value in new TeleMetrum v2 sensor packetsKeith Packard2013-09-05
| | | | | | Was getting left with the old value, which wasn't very useful Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-telem: Parse new TM v2 packetsKeith Packard2013-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix 'Graph Flight' button in landed dialogKeith Packard2013-09-05
| | | | | | Telemetry file reading was broken (oops!) Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove debug printf from AltosTelemetryMetrumSensorKeith Packard2013-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Rewrite AltosTelemetryIterableKeith Packard2013-09-05
| | | | | | Sort while reading instead of sorting separately. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Record time_change in AltosState correctlyKeith Packard2013-09-05
| | | | | | time_change is used to make real-time playback work. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Update received time when replaying flightsKeith Packard2013-09-05
| | | | | | | Received time is otherwise recorded as the time when the packets were read from the file, which doesn't work in real-time playback Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Only open log file when both flight and serial are knownKeith Packard2013-09-05
| | | | | | | Some telemetry formats include serial and flight in different packets, so wait for both before creating the file Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Use AltosTelemetry.parse to pull telem lines apartKeith Packard2013-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove more AltosRecord based filesKeith Packard2013-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: remove AltosRecord based eeprom codeKeith Packard2013-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove AltosRecord-based telemetry codeKeith Packard2013-09-05
| | | | | | All of this is now AltosState based Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: convert rogue files to unix line endingsMike Beattie2013-09-05
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: more updates for new AltosStateMike Beattie2013-09-05
| | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org> Conflicts: altosdroid/src/org/altusmetrum/AltosDroid/AltosVoice.java
* altosdroid: update to support new state codeMike Beattie2013-09-05
| | | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org> Conflicts: altosdroid/src/org/altusmetrum/AltosDroid/TabAscent.java altosdroid/src/org/altusmetrum/AltosDroid/TabDescent.java altosdroid/src/org/altusmetrum/AltosDroid/TabPad.java
* altoslib: Finish AltosState changes. Update version number.Keith Packard2013-09-05
| | | | | | | Removes all of the AltosRecord bits, changes the monitor idle bits to have per-object state updaters. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Set measured acceleration for measured accelerationKeith Packard2013-09-03
| | | | | | Was setting computed acceleration even for measured data Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Clear sat data when tick changesKeith Packard2013-09-03
| | | | | | | Sat data comes in multiple records, but the tick is always the same, so use that to tell when the set of sats is new Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Start integrated value at 0 by defaultKeith Packard2013-09-03
| | | | | | Check for MISSING and start at zero in that case Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Use first few baro samples for ground pressure on TMKeith Packard2013-09-03
| | | | | | | TM didn't record the ground baro reading in the log file, so pull out the first few measured baro samples and use those instead. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Make Ascent/descent use different filter values. Always filter.Keith Packard2013-09-03
| | | | | | | | | In derivative code, use a shorter filter during ascent as the baro sensor is cleaner then. Then, make sure to always filter the values as the very first few baro samples can be noisy, which generates a bad starting speed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove duplicate cmd/tick from TM eeprom file codeKeith Packard2013-09-03
| | | | | | Also replace tick setting with super call (which does that) Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Clean up metrum eeprom file readingKeith Packard2013-09-03
| | | | | | Spurious tick setting, fix some local variable names Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Correct mega/metrum eeprom years by adding 2000Keith Packard2013-09-03
| | | | | | The files contain a single byte for year, which is always years since 2000. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Correct tick wrapping in eeprom file readingKeith Packard2013-09-03
| | | | | | | Just need to signal that at least one record has been read to know when to start checking for wrap Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Ensure eeprom file body always existsKeith Packard2013-09-03
| | | | | | Create an empty list of body elements if none were read from the file Signed-off-by: Keith Packard <keithp@keithp.com>