| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
| |
If the first block of boot memory has been smashed, and the start
address is bogus, don't bother trying to jump to the
application. This makes the system more resiliant to flash failures,
presuming the loader erases the first block, programs the other blocks
and then finally comes back to program the first block.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
|
| |
For some reason, the silly linker marks things in section .boot as
data rather than bss, so they'd end up initialized by default. Force
them to be NOLOAD so they preserve values across reboot so that boot
chaining works properly.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
|
|
| |
Include the AltOS version in the file name, just like any other AltOS
program.
Switch the LEDs to the discovery board as we're using
that. Eventually, we'll stop using LEDs entirely.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Figuring out what goes where is tricky; turns out we want to pull all
of the sections that map inside any program area that is supposed to
be loaded from the file.
So, we walk the program headers, then walk all of the section headers
looking for those that suck data from the same portion of the
file. Compute where in ROM each relevant section goes and build a full
ROM image in memory using that.
This patch also adds code to close and re-open the device if the first
open failed to do what we want. Much nicer to have the computer figure
out when the open succeeded rather than having people re-run the app.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Split out code into separate files.
Add support for getting back to boot loader from application.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
| |
And get it loaded to RAM so it can execute correctly.
Nothing calls it yet...
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
| |
The help command was rewritten to avoid using printf, but the
rewrite used 'const' instead of the required '__code' to point at
constant strings.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
This shrinks the base OS load down a bit as well so that stm-flash
fits comfortably in the first 8kB of memory.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
This allows the real application to get loaded at 0x2000 and jumps to
that at startup time if the boot pin is set appropriately
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |\ |
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* Allows reliable fetching of a GoogleMap handle.
* Set map options, initial location (NCR North for now, temporarily)
* Add some info fields below map, and update them accordingly
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |\ |
|
| | | |
| | |
| | |
| | | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | | |
| | |
| | |
| | | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | | |
| | |
| | |
| | | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |\| |
|
| | | |
| | |
| | |
| | | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |/
|/|
| |
| |
| |
| | |
This makes stm-demo run on the discovery board again.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This lets you edit a telemetry file. The only current editing
available is to change the pad location, allowing a flight to be
replayed anywhere in the world.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
This takes a telemetry structure and generates a string version
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |\| |
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Includes TabsAdapter class borrowed from Support Library sample code
* New "GoNoGoLights" class for dealing with the red/green/gray LEDs
* extra required strings in strings.xml
* Couple of support functions in AltosDroid.java
* rudimentary Maps tab - does nothing at present.
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| | |
DAMN my OCD.
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| | |
* Will be used from tabs that display lat/lon
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* Rename target
* Add dependency on unsigned release APK
* use $(ZIPALIGN) variable
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
* Use SupportV4 library for Tab support
* Use Google Services Lib for Google Maps
* revert to a standard Android target, not Google API's
* Add permissions required for Google Maps to manifest, and API key
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| | |
separate altoslib linking and, making of external lib directory.
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| | |
(And add flag to allow settings backup by google services)
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| | |
(damn my OCD!)
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |\| |
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| | |
Somehow this line got lost when the GPS ground altitude fix was made.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
This program dumps the entire flash contents of an AltOS device to
allow for external analysis.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Looks like the Windows FTDI driver has 'issues' and opening it only
once doesn't work correctly. Just close and re-open the device and it
seems to be perfectly happy.
Who knows?
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
TeleMini needs emergency recovery mode in case you forget the radio
parameters and need to get things back to a known state. Add
documentation to describe what this does and how to get it enabled.
Signed-off-by: Keith Packard <keithp@keithp.com>
|