summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Missing java file for preferences demodroid-prefsKeith Packard2013-12-17
|
* altosdroid: Add missing xml files for preferences demoKeith Packard2013-12-17
|
* altosdroid: Create a minimal (and largely fake) preferences dialogKeith Packard2013-12-11
| | | | | | This should explain where this will happen for real in the future. Signed-off-by: Keith Packard <keithp@keithp.com>
* java: Missed libaltos java compile flags from previous patchKeith Packard2013-12-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* java: Add -target 1.6 to all java compilesKeith Packard2013-12-10
| | | | | | This makes sure the results can run with the old JVM Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove ARM .ihx files on 'make clean'Keith Packard2013-12-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Set version to 1.3 in preparation for releaseKeith Packard2013-12-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: More altusmetrum.xsl updates for 1.3Keith Packard2013-12-10
| | | | | | Spell checking even Signed-off-by: Keith Packard <keithp@keithp.com>
* debian: .ihx and .map files are left in subdirs nowKeith Packard2013-12-09
| | | | | | Install them from the right place Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Ship TeleMega-v1.0 firmwareKeith Packard2013-12-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Add turnon_telemega scriptKeith Packard2013-12-09
| | | | | | And a few helper programs Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Rename telemega-v0.3 to telemega-v1.0Keith Packard2013-12-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Oops. Was only filling out part of the TeleMetrum ADC recordKeith Packard2013-12-08
| | | | | | | | Because it's missing a return, we'd end up filling out one element of the ADC record per interrupt, and rotating through which one was set, hitting all of the even offsets within the struct. Yikes! Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: When flashing to TeleDongle or TeleBT, match any .ihx fileKeith Packard2013-12-08
| | | | | | | | Let the user pick any .ihx file when using a device which can only be used as a pair programmer. Note that 'telemetrum' can be either, and we'll assume that it's a self-programmed device (v2) for now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Match directories in hex file matcherKeith Packard2013-12-08
| | | | | | This makes it possible to navigate around the file system Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Don't require radio_cal or usb_descriptors in AltosRomconfigKeith Packard2013-12-08
| | | | | | Not all products will have these values, so allow them to be missing Signed-off-by: Keith Packard <keithp@keithp.com>
* Add new tools to .gitignoreKeith Packard2013-12-08
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add self-flashing codeKeith Packard2013-12-08
| | | | | | | This adds the ability to use the AltOS flash-loader on both STM and NXP processors. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add AltosNoSymbol exceptionKeith Packard2013-12-08
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Use symbols in AltosRomconfig instead of fixed offsetsKeith Packard2013-12-08
| | | | | | | | | The new Hexfile symbol code automatically adds the needed romconfig symbols for cc1111 products, and ARM-based products have symbols in the .ihx files. This means that we can rely on using symbols when finding config values in memory. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Don't match product_altusmetrum for product_basestation or ↵Keith Packard2013-12-08
| | | | | | | | | | | | | product_altimeter It's been years since we've shipped boards configured with product_altusmetrum, but now we've repurposed that code for the flash loader. When matching an explicit product, go ahead and also match altusmetrum so that the flash loader will fit, but when matching basestation or altimeter, don't as that will avoid popping up the flight monitor UI at startup when a board is running the boot loader. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Publish mapping from product name back to USB idKeith Packard2013-12-08
| | | | | | This lets us choose which device to flash based on the filename Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Create AltosProgrammer classKeith Packard2013-12-08
| | | | | | | This provides an abstract interface to flashing boards, for dongle-based and self-programming boards. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add symbols to .ihx filesKeith Packard2013-12-08
| | | | | | | Create a new 0xfe record type to hold the symbols, and append them after the EOF record so that other tools might continue to work. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Support binary reading/writing in AltosLinkKeith Packard2013-12-08
| | | | | | | Binary reads require an explicit length, and do not work while telemetry is running. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: arm-none-eabi-binutils now puts 'main' into .text.startupKeith Packard2013-12-08
| | | | | | | | Change name of .text.ram to .ramtext, then load .text* into flash and .ramtext into ram. This ensures that 'main' and anything else in a random .text.* segment will get loaded into flash as appropriate. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: build ao-usbload by defaultKeith Packard2013-12-08
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: AltosEepromMonitor had false import of altosuilibKeith Packard2013-12-08
| | | | | | Not needed, and breaks the build Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: remove all versions of stm-demo executableKeith Packard2013-12-08
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Change flash loader name to just AltosFlashKeith Packard2013-12-08
| | | | | | Remove the software version string from the product name Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Build .ihx files for all arm projectsKeith Packard2013-12-08
| | | | | | The .ihx version can be processed by the java loader Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow products to override default 100mA USB currentKeith Packard2013-12-08
| | | | | | This will allow products to specify their own current limit. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Clean up ao-stmload and ao-usbload options. Add --rawKeith Packard2013-12-08
| | | | | | | | ao-stmload only uses stlink, ao-usbload only uses self-flashing, so clear up the options in the two programs. The new --raw option skips the serial and radio cal rewriting when flashing the boot loader. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Allow building without stlink and readlineKeith Packard2013-12-08
| | | | | | | | This adds --without-stlink and --without-readline options to configure to disable these features, and adjusts the build process and code to handle that. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-flash-stm and ao-flash-lpc scriptsKeith Packard2013-12-07
| | | | | | These use openocd to download boot loaders to the arm-based products Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Deal with AltosUnits API changeKeith Packard2013-12-07
| | | | | | | The abstract methods in AltosUnits now pass the 'imperial_units' flag explicitly, so deal with that in AltosUnits itself Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Clean up serial close handlingKeith Packard2013-12-07
| | | | | | | | | Unify serial close processing in a single function (close_serial), make everyone else call that. This avoids a couple of cases where the device would be closed and not removed from the devices_opened list, leading to 'device is already in use' messages. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't try to report bearing/elevation without GPSKeith Packard2013-12-07
| | | | | | | If the distance from the pad cannot be computed (due to lacking GPS), then don't try to report it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Nothing in altos uses AES decryption, so don't compile itKeith Packard2013-12-07
| | | | | | Saves a bit of space where AES is used, and avoids some compiler warnings. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: Compute and plot tilt based on GPS trackKeith Packard2013-12-07
| | | | | | | This lets us compare the gyro-computed tilt angle against the actual flight path. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Telemega uses eeprom, include it in main fileKeith Packard2013-12-07
| | | | | | ao_telemega.c didn't include ao_eeprom.h leaving a function undefined Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add lots more GPS data to mega logKeith Packard2013-12-07
| | | | | | | There's plenty of space in the GPS log packets to hold course, speed, climb and DOP values, so just stick them in. Signed-off-by: Keith Packard <keithp@keithp.com>
* src/cc1111: Turn off RC osc after xtal is runningKeith Packard2013-12-07
| | | | | | | There's no reason to keep running the RC oscillator after we switch to the crystal, so turn it off. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: First pass for 1.3 finished; docs have most major sections updated.Keith Packard2013-11-28
| | | | | | Final edits and corrections still required. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Split out USB loader to ao-usbloadKeith Packard2013-11-28
| | | | | | Leave ao-stmload using just stlinkv2 Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Split out altos symbol editing from ao-stmloadKeith Packard2013-11-28
| | | | | | to be shared with ao-usbload Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Missing ao-selfload.hKeith Packard2013-11-28
|
* ao-tools: move 16/32-bit readers from ao-stmload to libKeith Packard2013-11-28
|
* ao-tools: Move ao-selfload into libraryKeith Packard2013-11-28
| | | | | | This needs to be shared between ao-stmload and ao-usbload Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-elftohex and .ihx symbol supportKeith Packard2013-11-28
| | | | | | | ao-elftohex converts an elf file into a hex file so that we can load it with java. Signed-off-by: Keith Packard <keithp@keithp.com>