summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* altos/lambdakey-v1.0: Fix obvious build errorsKeith Packard2019-04-21
| | | | | | | 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>
* altoslib: Correct monitor idle IMU data for EasyMega v2Keith Packard2019-04-18
| | | | | | The IMU on EasyMega v2 is rotated from the other devices using this sensor. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Fetch correct mag along data for EasyMega v2Keith Packard2019-04-18
| | | | | | Was using the wrong axis (y) instead of the correct one (x) Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use ao_data_accel_invert when changing orientation valueKeith Packard2019-04-18
| | | | | | | | 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>
* doc: Make sure all 'code' examples are in DejaVu Sans MonoKeith Packard2019-04-18
| | | | | | We were inheriting the default value for this setting, which was Courier Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Document LEDs on TeleGPS devicesKeith Packard2019-03-28
| | | | | | V1 has just the battery charger. V2 adds the GPS lock indicator. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4-disco: Remove schemeKeith Packard2019-03-18
| | | | | | This demo doesn't need a lisp interpreter Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4: Working on USBKeith Packard2019-03-18
| | | | | | Reset now works, still no packets Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4: Wrong value for CK48MSEL_PLL_QKeith Packard2019-03-18
| | | | | | This meant that the USB clock wasn't actually getting started... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4: Need to read-back register after clock enableKeith Packard2019-03-18
| | | | | | | 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>
* altos/stm32f4: Add -mfloat-abi=hard compile optionKeith Packard2019-03-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: ARM ABI requires 8-byte aligned stackKeith Packard2019-03-18
| | | | | | This makes doubles on the stack (as for var-args functions) work Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/drivers/ao_led.c: Declare LED port as void * to allow any SoC to use ↵Keith Packard2019-03-12
| | | | | | | | this code The generic LED code needs a generic type for the GPIO port. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2019-03-05
|\
| * doc: A few minor edits to telelaunch docsKeith Packard2019-03-05
| | | | | | | | | | | | | | | | 3 → three less → fewer transreflexive -> reflective Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2019-02-25
|\|
| * altos: add ao_time_ns APIKeith Packard2019-02-25
| | | | | | | | | | | | | | 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>
| * altos: Change default time type to 32-bitsKeith Packard2019-02-25
| | | | | | | | | | | | | | Offers additional range for internal use without increasing cost on 32-bit platforms. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Fix several mis-specified time typesKeith Packard2019-02-25
| | | | | | | | | | | | Make sure AO_TICK_TYPE is used "everywhere", instead of uint16_t or other. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: ads124s0x successfully reading dataBdale Garbee2019-02-24
|/
* altos: snapshot - working on ads124x0x driverBdale Garbee2019-02-24
|
* altos: ADS124S0X driver compiles nowBdale Garbee2019-02-24
|
* altos: fix ads124s0x data structureBdale Garbee2019-02-24
|
* altos: first cut at ADS124S0X driver interrupt handlingBdale Garbee2019-02-24
|
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2019-02-21
|\
| * altos: Allow applications to override newlib printf selectionKeith Packard2019-02-21
| | | | | | | | | | | | | | 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>
| * altos: Fix ISR declarations to make them non-weakKeith Packard2019-02-21
| | | | | | | | | | | | | | | | | | | | 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>
| * altos/telefireone-v2.0: Remove build of ao_product.h from MakefileKeith Packard2019-02-21
| | | | | | | | | | | | This is built in common code now. Signed-off-by: Keith Packard <keithp@keithp.com>
* | doc: actually add the telelaunch filesBdale Garbee2019-02-21
|/
* doc: new TeleLaunch system manualBdale Garbee2019-02-21
|
* altos: first cut of code for telefireone-v2.0Bdale Garbee2019-02-18
|
* altos: Build telefireone-v1.0 by defaultKeith Packard2019-02-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefireone-v1.0: Track ao_led_init API changeKeith Packard2019-02-18
| | | | | | No longer takes a parameter. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefireone-v1.0: Set various ADC valuesKeith Packard2019-02-18
| | | | | | Reference voltage and divider resistor values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefireone-v1.0: Set AO_LOG_FORMATKeith Packard2019-02-18
| | | | | | | 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>
* altos/telefireone-v1.0: Turn off USE_INTERNAL_FLASHKeith Packard2019-02-18
| | | | | | This is for TeleMini v1.0 which stored log data to the program flash. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefireone-v1.0: Clean up MakefileKeith Packard2019-02-18
| | | | | | | Follow other projects and remove common bits which are now in Makefile.defs Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefireone-v1.0: Doesn't have a beeperKeith Packard2019-02-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove AO_LOG_STATE from ao_log_telefiretwoKeith Packard2019-02-18
| | | | | | | | | | 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>
* altos: Move common build definitions to src/Makefile.defsKeith Packard2019-02-18
| | | | | | | | 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>
* altos/attiny: Mark 'mode' param to ao_exti_setup_port as usedKeith Packard2019-02-18
| | | | | | Retain API. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add -Wshadow to CFLAGSKeith Packard2019-02-18
| | | | | | And fix up the related messages. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm-demo: Make this build again after various API and CFLAGS changesKeith Packard2019-02-18
| | | | | | Deal with LED API change. Remove unused functions. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-dump-up: Document --wait flagKeith Packard2019-02-18
| | | | | | | --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>
* ao-bringup: chaosread is no longer part of altosKeith Packard2019-02-18
| | | | | | this has been moved to a separate project. Signed-off-by: Keith Packard <keithp@keithp.com>
* stm: Expose LCD font API in ao_lcd_font.hKeith Packard2019-02-18
| | | | | | | 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>
* altos: Add a pile more compiler warningsKeith Packard2019-02-18
| | | | | | | | | | | Adds: -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Declare task stack as union of uint8_t and uint32_tKeith Packard2019-02-18
| | | | | | | 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>
* altos: Remove unused ao_adc_get from ao_adc_stm.cKeith Packard2019-02-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Stop doing pointer arith on void *Keith Packard2019-02-18
| | | | | | Switch to uint8_t * instead. Signed-off-by: Keith Packard <keithp@keithp.com>