summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* releasing 1.8.61.8.6Bdale Garbee2018-08-05
|
* Merge branch 'master' into branch-1.8Bdale Garbee2018-08-05
|\
| * Update docs for 1.8.6Keith Packard2018-08-05
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add separate 'ao_launch_tick'. Use in pyro and lockout.Keith Packard2018-08-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this, there was only ao_boost_tick, which got reset at each motor burn start. That meant there wasn't any way to measure total flight time for pyro channels and 'apogee lockout' was based on time since most recent motor start instead of total flight time. Now pyro channels and apogee lockout both use total flight time, while motor burn length still uses time since most recent motor burn start (as it should). Docs and UI updated to use 'launch' instead of 'boost' to try and make the change clear. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/plottest: Make linewidth biggerKeith Packard2018-08-05
| | | | | | | | | | | | 1-pixel lines are harsh in 2018 Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stm-demo: Set up for dumping eepromKeith Packard2018-08-05
| | | | | | | | | | | | This is used to dump an eeprom wired to the stm demo board. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Change 'after motor' pyro check to be >= instead of ==Keith Packard2018-08-05
| | | | | | | | | | | | This makes after motor stay valid even if further motors burn. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-tools/ao-dumplog: Dump entire eeprom contentsKeith Packard2018-08-05
| | | | | | | | | | | | | | This gets the eeprom size from the device and uses that to dump the whole thing. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Make stop_remote delay depend on the data rateKeith Packard2018-07-04
| | | | | | | | | | | | | | It takes longer to flush commands at 2400 baud, so wait longer when disabling remote mode. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Fetch current quadrature status at startup timeKeith Packard2018-07-04
| | | | | | | | | | | | | | This avoids having the state appear to change the first time we look at the device. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Make fewer LCO variables publicKeith Packard2018-07-04
| | | | | | | | | | | | | | The lco common code doesn't need to share its internal values with the world; make most of them static. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Make LCO search directly drive pad/box displaysKeith Packard2018-07-04
| | | | | | | | | | | | Don't use ao_lco_show as that has other logic too. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Fix LCO display while searchingKeith Packard2018-07-04
| | | | | | | | | | | | Use lower level functions to control the display more directly Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Fix telelcotwo build for new ao_lco_bits.c fileKeith Packard2018-07-04
| | | | | | | | | | | | Lots of code motion; shouldn't have any functional changes. Signed-off-by: Keith Packard <keithp@keithp.com>
| * add telefireeight-v1.0 to products built by default in src/MakefileBdale Garbee2018-07-04
| |
| * altos: A bit more LCO code sharingKeith Packard2018-07-03
| | | | | | | | | | | | Missed drag race pad toggling in ao_lco_v2.c Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Build telelco-v2.0 by defaultKeith Packard2018-07-03
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Share common LCO functions in ao_lco_bits.cKeith Packard2018-07-03
| | | | | | | | | | | | | | Move common code out of ao_lco.c and ao_lco_v2.c into a shared file, ao_lco_bits.c. Update ao_lco.h to include shared functions. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/test: Compute and show height error tracker in ao_flight_testKeith Packard2018-07-02
| | | | | | | | | | | | | | Enable the computation of ao_error_h_sq_avg in ao_flight_test even when an accelerometer is present to allow review of that data. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosuilib: Split cc1111 vs arm telefire/telemini for flashingKeith Packard2018-07-02
| | | | | | | | | | | | | | Only older telefire and telemini boards had cc1111 processors and need pair-programming. Signed-off-by: Keith Packard <keithp@keithp.com>
| * add a turnon script for TeleLCO v2.0Bdale Garbee2018-07-01
| |
| * altos/telelco-v2.0: Do all drag race beeping from the beeping threadKeith Packard2018-06-18
| | | | | | | | | | | | | | Instead of starting the beep from the calling thread, just update some state and poke the beeping thread. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/ao_pad: Move LED test to the monitor taskKeith Packard2018-06-17
| | | | | | | | | | | | | | It sets the LEDs, so it's best to not start doing that until we've tested them. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/ao_pad: Turn on all LEDs for a moment at power upKeith Packard2018-06-17
| | | | | | | | | | | | Allow validation of all LED connections. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/ao_pad: Use AO_LED_TYPE for computing active LEDs.Keith Packard2018-06-17
| | | | | | | | | | | | instead of uint8_t Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stm: Let products override AO_LED_TYPE for stm processorsKeith Packard2018-06-17
| | | | | | | | | | | | No need requiring it to be uint16_t Signed-off-by: Keith Packard <keithp@keithp.com>
| * Bump version to 1.8.6Keith Packard2018-06-17
| | | | | | | | | | | | Prepare for release. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelco-v2.0: Fix AO_ADC_DUMPKeith Packard2018-06-17
| | | | | | | | | | | | | | Was printing p.v_batt instead of (p)->v_batt. I don't know why the former even worked. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelco-v0.2-cc1200: Add build for NAR hacked TeleLCO v0.2 boardKeith Packard2018-06-17
| | | | | | | | | | | | | | This has the CC1120 replaced with a CC1200, but with 32MHz xtals instead of 40MHz on the radio chip. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/driver: Improve quadrature debouncing for mechanical encodersKeith Packard2018-06-17
| | | | | | | | | | | | | | Track state of encoder better and only bump values when the full motion is detected (all four states). Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelco-v0: Test display, show batt voltage at bootKeith Packard2018-06-17
| | | | | | | | | | | | Just like telelco v2 Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-bringup: Find dfu-util in $PATH for chaoskeyKeith Packard2018-06-17
| | | | | | | | | | | | In case it's not in /usr/bin Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stm: Define ADC channels for TEMP and V_REFKeith Packard2018-06-17
| | | | | | | | | | | | These are fixed at 16 and 17. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stm: Remove unused ADC names from ao_adc_single_stm.cKeith Packard2018-06-17
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelco: Remove STATIC_TEST code from stand-alone LCO boxesKeith Packard2018-05-31
| | | | | | | | | | | | | | This command conflicts with the 'debug' command in these devices and so wasn't usable anyways. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelco-v2.0: Test displays at power onKeith Packard2018-05-31
| | | | | | | | | | | | | | At boot, light up all LEDS and LCD segments for a second to let the user verify that things are working correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telefire*: Do voltage tests in decivolts instead of ADC unitsKeith Packard2018-05-31
| | | | | | | | | | | | | | | | | | | | This requires that each pad device specify the ADC reference voltage and all relevant voltage divider resistor values explicitly so that the ADC values can be converted to decivolts and compared with one another. This should be easier to understand in the future when reading the code. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telefireeight-v1.0: Fix ADC definitionsKeith Packard2018-05-31
| | | | | | | | | | | | | | Was missing all of the GPIO configuration bits, which probably meant the ADCs were returning garbage values. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Revert field name changes for accel cal valuesKeith Packard2018-05-30
| | | | | | | | | | | | | | These names get written in the JSON part of all .eeprom files, so we can't change the names or the values won't be read and written correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelco-v2.0: Set HAS_ADC_SINGLE to enable HSI timerKeith Packard2018-05-28
| | | | | | | | | | | | | | The ADC unit requires the HSI timer to run, so make sure it's enabled for this device. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stm: Enable HSI timer when HAS_ADC_SINGLE is setKeith Packard2018-05-28
| | | | | | | | | | | | The ADC unit always uses the HSI timer. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelco-v2.0: Display local batt voltage at startupKeith Packard2018-05-28
| | | | | | | | | | | | Show the battery voltage for a second at startup. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stm: Add polling ADC sampler APIKeith Packard2018-05-28
| | | | | | | | | | | | | | This just fetches ADC values on demand instead of loading them periodically into a ring buffer from the timer interrupt. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelco-v2.0: Change drag race selected/no-continutity patternKeith Packard2018-05-28
| | | | | | | | | | | | | | Make it turn on at the same time as the pads with continuity, but turn off sooner Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelco-v2.0: Add debug output for pad voltage displayKeith Packard2018-05-28
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelco-v2.0: A bit fancier with the drag-mode LED showKeith Packard2018-05-28
| | | | | | | | | | | | | | | | | | | | | | | | Continutity leds now show whether the pad is included in the drag race *and* the continutity using four different patterns: Drag select & igniter present: long on, short off Drag select & igniter missing: short on, long off Not select & igniter present: solid on Not select & igniter missing: solid off Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelco-v2.0: Fix button names and pin mappings. Add drag LED.Keith Packard2018-05-28
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelco-v2.0: Mixed up the select_button pin (is E0, was set to E13)Keith Packard2018-05-28
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelco-v2.0: Only look at drag select presses, not releasesKeith Packard2018-05-28
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelco-v2.0: Use single-step quadrature codeKeith Packard2018-05-28
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>