summaryrefslogtreecommitdiff
path: root/ao-tools/ao-load
Commit message (Collapse)AuthorAge
* ao-tools/ao-load: Return status from 'rewrite'Keith Packard2019-01-03
| | | | | | Was just falling off the end of this function, returning a random value. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add lots of compiler warning flags to ao-tools buildKeith Packard2019-01-03
| | | | | | | This catches some uninitialized variable errors which cause ao-cal-accel to crash (fixes coming next) Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-load: Make ao_sym static to avoid collision with ao-editaltosKeith Packard2014-04-30
| | | | | | | | ao-load doesn't use ao-editaltos at this point, but does share the same name for the symbol table. To make the linker happier, make the ao-load version static. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Create general elf and hex library routinesKeith Packard2013-11-27
| | | | | | | Pulls the elf stuff out of ao-stmload, change the hex stuff into ao_ routines. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Place STM config values at fixed addresses for re-useKeith Packard2012-07-17
| | | | | | | | Just like cc1111, stick the serial number and radio calibration values at known fixed addresses so that when re-flashing the board, we can go find the existing values. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-load: Make usb descriptor rewriting optionalKeith Packard2011-03-16
| | | | | | | TeleMini and TeleNano don't have USB descriptors to rewrite when loading firmware, so allow them to be missing. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-load: fix usage message to note that '=' is required for optionsKeith Packard2011-02-18
| | | | | | | The usage message was suggesting incorrect command line syntax; long options use '=' between the option name and value, not whitespace. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add --cal to man pageKeith Packard2009-12-15
|
* Allow radio calibration to be set from ao-loadKeith Packard2009-12-05
| | | | | | | | This moves the initial radio calibration value into const memory where it will be used if no eeprom configuration value is available, either on an unprogrammed board with eeprom or a device without an eeprom. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add --device/-D support to the command line tools and manualsKeith Packard2009-09-04
| | | | | | | Use the new cc_usbdevs_find_by_arg function to locate suitable target devices connected via USB. Signed-off-by: Keith Packard <keithp@keithp.com>
* add support for building Debian packageBdale Garbee2009-08-18
|
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2009-08-18
|\ | | | | | | | | | | | | | | | | Conflicts: ao-tools/ao-bitbang/Makefile.am ao-tools/ao-eeprom/Makefile.am ao-tools/ao-load/Makefile.am ao-tools/ao-load/ao-load.c ao-tools/ao-rawload/Makefile.am
| * Add manual pages for remaining commands.Keith Packard2009-08-18
| | | | | | | | | | | | | | | | | | Manuals written for ao-bitbang, ao-eeprom, ao-load, ao-rawload and ao-view. Manual for ao-dbg updated to reflect program name change. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Use --tty/-T on command line to specify target deviceKeith Packard2009-08-18
| | | | | | | | | | | | | | | | Also, use the ALTOS_TTY environment variable in all tools. Note that the magic value of "BITBANG" switches the library to connecting through a CP2103 instead. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Rename tools to ao-<foo>Keith Packard2009-08-18
| | | | | | | Use a consistent prefix to make it easier to remember which programs belong to this package Signed-off-by: Keith Packard <keithp@keithp.com>
* Start working on using getopt for the tty nameKeith Packard2009-08-18
|
* Rename tools to ao-<foo>Keith Packard2009-08-18
Use a consistent prefix to make it easier to remember which programs belong to this package Signed-off-by: Keith Packard <keithp@keithp.com>