summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altos/stm: Change ao_spi_send_sync definition to take const sourceKeith Packard2016-06-29
| | | | | | Provides for a bit better error checking. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: Add more SPI status register bitsKeith Packard2016-06-29
| | | | | | These weren't the original version of the docs that we had. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: use 0xff for dma mutex value for allocated mutexesKeith Packard2016-06-29
| | | | | | | DMA channels which are 'allocated' can't be shared. Instead of using the value '1' in the related 'mutex', use 0xff which won't match any task. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: remove ao_dma_abortKeith Packard2016-06-29
| | | | | | This function isn't used anywhere. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Move comment in ao_sleep_for next to related codeKeith Packard2016-06-29
| | | | | | The comment got moved to the wrong place Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Block interrupts while waking tasks sleeping on timers.Keith Packard2016-06-29
| | | | | | | | Interrupts may not be blocked in the timer ISR, but they need to be while walking the pending timer list and moving tasks back to the run queue. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Deliver firmware for Tmega 2.0 and TBT 3.0 for Windows tooKeith Packard2016-06-29
| | | | | | | 1.6.4 added Tmega 2.0 and TBT 3.0 firmware to linux and mac, but neglected windows. Signed-off-by: Keith Packard <keithp@keithp.com>
* Mark testing version 1.6.4.1Keith Packard2016-06-29
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Deal with multiple installed android SDKsKeith Packard2016-06-29
| | | | | | Use the latest SDK's zipalign Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-chaosread: Document length (-l) optionKeith Packard2016-06-29
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump android version to 13Keith Packard2016-06-29
| | | | | | Need to update the maps API key in the package Signed-off-by: Keith Packard <keithp@keithp.com>
* switch libgtk-3-bin build-dep to gtk-update-icon-cache, closes: #825455Bdale Garbee2016-06-22
|
* doc: Add install-html scriptKeith Packard2016-06-17
| | | | | | | This script strips the XML-ish bits from html files so that ikiwiki can parse them correctly Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump version to 1.6.4Keith Packard2016-06-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Stop reflective JSON class walk at Object instead of nullKeith Packard2016-06-17
| | | | | | | | | Android has classes above Object which are all tied together which cause the object walking to fail in pretty spectacular ways. As Object has no interesting fields, that serves as a fine barrier to the super class walk and works on both android and real java. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Print filename before attempting to parse in --summary modeKeith Packard2016-06-17
| | | | | | | Any problems handling the file are easier to debug if the filename is visible above the error message. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add back some JSON exception debugging printfsKeith Packard2016-06-17
| | | | | | These make it possible to figure out where the JSON code went wrong. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add construction for remaining primitive array types to JSONKeith Packard2016-06-17
| | | | | | | AltosCompanion has an array of ints, which was missed until I tried a telemetry file with companion data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add null constructor for AltosCompanionKeith Packard2016-06-17
| | | | | | This lets it be used by the JSON code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Get rid of manual JSON encoding stuffKeith Packard2016-06-17
| | | | | | | Now that the reflective JSON stuff is working, we can delete all of the manual code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Improve AltosState save/restore debuggingKeith Packard2016-06-17
| | | | | | | When save/restore generate different values, write out the two versions to one.json and two.json for easy comparison. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Use reflection JSON code for frequency preferencesKeith Packard2016-06-17
| | | | | | | This replaces the non-reflective JSON code with reflective code, which is much shorter. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add JSON-based object saving/restoring codeKeith Packard2016-06-17
| | | | | | | This uses Java reflection to construct JSON strings for most Java objects. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add null constructors to AltosQuaternion and AltosRotationKeith Packard2016-06-16
| | | | | | These will be used in the reflection-based JSON code Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove AltosHashSet codeKeith Packard2016-06-15
| | | | | | Everything has switched to JSON now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Switch preserved state format to JSONKeith Packard2016-06-15
| | | | | | This is much easier to debug than the icky strings with backslashes everywhere. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Updates to 1.6.4 release notes.Keith Packard2016-06-15
| | | | | | Note USB fixes for host reboot and other changes. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't open command window when --graph is providedKeith Packard2016-06-15
| | | | | | | When the user explicitly asks to open a graph, don't bring up the command button window too. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Track open frames, exit when none remainKeith Packard2016-06-15
| | | | | | | This will let us not have the altosui window open by causing the application to shut down when the last frame closes. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove missing items from --summary outputKeith Packard2016-06-15
| | | | | | Check all values for MISSING before printing them. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Auto save freq changes on 'ok'Keith Packard2016-06-15
| | | | | | | Add any pending changes in the edit entries to the frequency set when the user selects 'ok'. Signed-off-by: Keith Packard <keithp@keithp.com>
* extend "ok" temp range to 40C, since battery charger on bench can drive temp ↵Bdale Garbee2016-06-12
| | | | | | above 35C at times in Bdale and Robert's production testing
* altos/stmf0: Remove ao_usb_freeKeith Packard2016-06-11
| | | | | | This can't work without a lot more effort. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Rework the sram allocation to save a few text bytesKeith Packard2016-06-11
| | | | | | | Boot loaders were going over 4096 bytes of ROM. I suspect we'll need more serious work soon. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/cc1115l: Reduce trace buffer sizeKeith Packard2016-06-10
| | | | | | A 32-element trace buffer is all the larger we can fit in teledongle. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: Handle USB reset in STM32L usb driverKeith Packard2016-06-10
| | | | | | | Just like lpc and stmf0, deal with the host resetting the bus while rebooting by restoring all usb-related data to the initial values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Handle USB reset by resetting internal stateKeith Packard2016-06-10
| | | | | | | Just like stmf0, this clears internal state at USB reset time so the driver can survive host OS reboots. Signed-off-by: Keith Packard <keithp@keithp.com>
* stmf0: Do not send more data than requested for GET_DESCRIPTORKeith Packard2016-06-09
| | | | | | | | When Linux boots, it asks for only the first 8 bytes of the device descriptor; we must limit the amount of data sent back to that amount or USB will get wedged. Signed-off-by: Keith Packard <keithp@keithp.com>
* stmf0: Clear all USB state when resetting chip. Wakeup all sleepersKeith Packard2016-06-09
| | | | | | | | | When USB is reset, but the board is not power cycled, all of the internal USB state needs to be reset, and any tasks blocked on sending or receiving packets need to be awoken so they can go wait for USB to start running again. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps-v1.0: Document how SN 1959 was fixedKeith Packard2016-06-09
| | | | | | | SN1959 was fixed by jumpering pin 8 to pin 10 so that the DONE_INT_PIN could be switched from PIO 2 to PIO 4 as pin 8 appeared to have failed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Only display map debugging when serial_debug is enabledKeith Packard2016-06-05
| | | | | | This keeps the application quiet for most users. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Fill preload map on site or lat/lon changeKeith Packard2016-05-27
| | | | | | | | This loads the map view with the selected area when the site entry is changed or the user hits return in the lat/lon fields. This lets you see the target launch site without having to load the whole preload set. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: pad/idle indicator table was bustedKeith Packard2016-05-26
| | | | | | | I stuck a pile of extra '|' characters in the table by mistake. Reported-by: Stan <stanleyosmith@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Rename AltosUIMap*New.java to AltosUIMap*.javaKeith Packard2016-05-24
| | | | | | This code isn't really new anymore... Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Have map preload respond to units and font size changesKeith Packard2016-05-24
| | | | | | | Just add suitable listeners so that the display updates when preferences change. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: use miles for distances > 1000ft.Keith Packard2016-05-24
| | | | | | | This makes both the map line and the other distance displays use miles for distances greater than 1000 feet. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add monitor idle modeKeith Packard2016-05-15
| | | | | | | This monitors directly connected devices. No support for doing monitor idle using packet mode, as TeleGPS doesn't support that. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Use log_space when flight_log_max is missingKeith Packard2016-05-15
| | | | | | TeleGPS has this, but not flight_log_max Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add AltosIdleReaderKeith Packard2016-05-15
| | | | | | | This provides an AltosFlightReader interface for monitor idle mode, making that easier to provide in TeleGPS Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add log_space to AltosStateKeith Packard2016-05-15
| | | | | | | TeleGPS doesn't have flight_log_max value, but does have log_space which we can use for the same thing in monitor idle mode. Signed-off-by: Keith Packard <keithp@keithp.com>