summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altoslib: Add missing AltosUnitInfo filesKeith Packard2018-10-04
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Fix gyro headings in CSV filesKeith Packard2018-10-03
| | | | | | Use yaw/pitch/roll instead of x/y/z Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Add 'fix-telebt' to reflash TeleBT v4.0 with correct rf calKeith Packard2018-10-02
| | | | | | Fetches RF calibration value from the net and applies that when reflashing. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fetch RF calibration value for TBT v4.0 units from webKeith Packard2018-10-02
| | | | | | | | | | We shipped a pile of TBT v4.0 units without programming the RF calibration value into flash. This change checks to see if the target is in the right serial number range and has the default RF calibration value, in which case it fetches the RF calibration value from our web site. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: sdcc doesn't have 'false' and 'true'.Keith Packard2018-10-02
| | | | | | Use FALSE and TRUE in ms5607.c driver instead. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-cal-freq: Add --nosave and --output options. Check save results.Keith Packard2018-10-02
| | | | | | | | | --nosave means don't attempt to update the on-device configuration data in eeprom. --output means write the calibration value to a file. Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak: Add MicroUSB 'equals' methodKeith Packard2018-10-02
| | | | | | | This lets the code which polls for devices work with MicroUSB devices too. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Don't accidentally create zero-length PDF filesKeith Packard2018-10-02
| | | | | | | | The PDF files are generated at the same time the HTML files are, so the PDF versions depend on the HTML ones. However, touching the PDF files is a bad idea. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/drivers: Shrink ao_ms5607.c code to fit on micropeak stillKeith Packard2018-10-02
| | | | | | | Use some code constructs that make the little AVR processor happier and save about 16 bytes of memory. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Reduce debug printf spamming during flashing operationKeith Packard2018-10-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: don't build fox1ihu by defaultBdale Garbee2018-08-30
|
* altosuilib: Provide dialog while waiting for flash target to re-appearKeith Packard2018-08-22
| | | | | | | | On windows, switching to the boot loader can take a long time. Instead of timing out after a second, show a dialog and let the user cancel the operation if they get bored of waiting. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Include device path in equals test of AltosUSBDeviceKeith Packard2018-08-22
| | | | | | | Ensure that multiple AltosFlash devices don't appear the same; they all use serial number 1. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Use common constants for flash action messagesKeith Packard2018-08-22
| | | | | | | Place messages in AltosFlashListener instead of using the same strings in three different places. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Don't show radio parameter when reflashing radioless devicesKeith Packard2018-08-22
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Show a more useful message when the flash target device is unknownKeith Packard2018-08-22
| | | | | | | | | The flashing code uses the new symbol table to find information in the existing device; if they don't match at all, there won't be anything about the target device known. Tell the user this, rather than displaying mystic information (or crashing). Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Poll for devices while Select Device dialog is displayedKeith Packard2018-08-22
| | | | | | | | | Lets the user plug/unplug devices and have the dialog box show the current set of available devices. Particularly useful on Windows where it takes a long time after connecting a device for the OS to actually make it usable. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Add 'equals' method to AltosDeviceKeith Packard2018-08-22
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch global 'log' to 'ao_log_data'Keith Packard2018-08-15
| | | | | | Avoid conflicts with 'log' math function. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Stop using 'stdin' name as local variableKeith Packard2018-08-15
| | | | | | stdio kinda wants to own this name Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Fix stdio wakeup on serial IRQKeith Packard2018-08-15
| | | | | | Should just use USE_SERIAL_0_STDIN directly Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow timer interrupt without needing tick countKeith Packard2018-08-15
| | | | | | | This saves a bit of space in the fox1ihu loader which uses the timer interrupt to poke the watchdog. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove spurious 'const' from ao_state_namesKeith Packard2018-08-15
| | | | | | Current gcc complains about this. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove spurious ao_mma655x_spi_index variableKeith Packard2018-08-15
| | | | | | This isn't used; was probably included for debugging at some point. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump java lib versions to 13Keith Packard2018-08-15
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Include TeleMega v3.0 firmware with releasesKeith Packard2018-08-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump version to 1.8.6.1Keith Packard2018-08-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* capture updates to Releasing from 1.8.6 release processBdale 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>