| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
| |
This should explain where this will happen for real in the future.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This makes sure the results can run with the old JVM
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Spell checking even
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Install them from the right place
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
And a few helper programs
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
This makes it possible to navigate around the file system
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Not all products will have these values, so allow them to be missing
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This adds the ability to use the AltOS flash-loader on both STM and
NXP processors.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
This lets us choose which device to flash based on the filename
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This provides an abstract interface to flashing boards, for
dongle-based and self-programming boards.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Binary reads require an explicit length, and do not work while
telemetry is running.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Not needed, and breaks the build
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Remove the software version string from the product name
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
The .ihx version can be processed by the java loader
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This will allow products to specify their own current limit.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
These use openocd to download boot loaders to the arm-based products
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Saves a bit of space where AES is used, and avoids some compiler warnings.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This lets us compare the gyro-computed tilt angle against the actual
flight path.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
ao_telemega.c didn't include ao_eeprom.h leaving a function undefined
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Final edits and corrections still required.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Leave ao-stmload using just stlinkv2
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
to be shared with ao-usbload
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
| |
|
|
|
|
|
|
| |
This needs to be shared between ao-stmload and ao-usbload
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
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>
|