| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
The code is too large to run on this device at this point, but at least
it doesn't fail to compile?
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
The IMU on EasyMega v2 is rotated from the other devices using this sensor.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Was using the wrong axis (y) instead of the correct one (x)
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
Instead of using AO_ACCEL_INVERT, use the macro which flips the values
around. This fixes a bug with ADXL375 flight computers (EasyMega v2.0) where the
accel cal values would be scrambled when changing orientation.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
We were inheriting the default value for this setting, which was Courier
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
V1 has just the battery charger. V2 adds the GPS lock indicator.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This demo doesn't need a lisp interpreter
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Reset now works, still no packets
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This meant that the USB clock wasn't actually getting started...
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This was reported as necessary; I have no idea, but it's not
expensive, so why not...
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This makes doubles on the stack (as for var-args functions) work
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
this code
The generic LED code needs a generic type for the GPIO port.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
3 → three
less → fewer
transreflexive -> reflective
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|\| |
|
| |
| |
| |
| |
| |
| |
| | |
This provides nano-second resolution times by reading the systick
value (which runs at 250ns ticks on stm).
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
Offers additional range for internal use without increasing cost on
32-bit platforms.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| | |
Make sure AO_TICK_TYPE is used "everywhere", instead of uint16_t or other.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Re-defining NEWLIB_PRINTF_CFLAGS will allow applications to select
printf with floating point support if desired.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In my zeal to eliminate warnings, I added declarations of all ISR
functions to a shared header file. However, I managed to include the
'weak' declaration, which meant that the intended ISR functions were
as weak as the 'default' ISR functions. This left all interrupts
non-functional, which doesn't make for a happy program.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| | |
This is built in common code now.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|/ |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
No longer takes a parameter.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Reference voltage and divider resistor values.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Use AO_LOG_FORMAT_TELFIRETWO for now; perhaps we'll have a new format
at some point.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This is for TeleMini v1.0 which stored log data to the program flash.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Follow other projects and remove common bits which are now in
Makefile.defs
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
|
| |
Telefiretwo never changes flight state, so these packets weren't going
to be written.
Also stop passing &log to ao_log_firetwo -- it always got the global
anyways, just use it directly.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
This cleans up the build process for all architectures, providing a
common place to specify vpath, cflags and build rules for various
common files.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Retain API.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
And fix up the related messages.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Deal with LED API change. Remove unused functions.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
--wait means to poll for a µPusb device instead of bailing when none
exists at startup. Quite useful for testing a batch of new device.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
this has been moved to a separate project.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
That required renaming the existing LCD font defintions from
ao_lcd_font.h to ao_lcd_font_bits.h.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Adds:
-Wpointer-arith
-Wstrict-prototypes
-Wmissing-prototypes
-Wmissing-declarations
-Wnested-externs
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Support -Wcast-align and -Wpointer-arith while still allowing
architectures to pick whether they want an 8-bit or 32-bit stack.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Switch to uint8_t * instead.
Signed-off-by: Keith Packard <keithp@keithp.com>
|