summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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>
* 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>
* altos: Add 'void' to function declarations with no params.Keith Packard2019-02-18
| | | | | | Support -Wstrict-prototypes Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Declare all public functions in header filesKeith Packard2019-02-18
| | | | | | | Including interrupt vectors to catch mis-spellings. Working toward supporting -Wmissing-prototypes Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Mark local functions 'static'Keith Packard2019-02-18
| | | | | | Working towards supporting -Wmissing-prototypes Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: Note that ao_i2c_recv_dma_isr isn't actually usedKeith Packard2019-02-18
| | | | | | | | | This function resets the i2c transceiver after DMA completes, but it hasn't ever been hooked up. Some testing would be a good idea. For now, just add a comment and mark the function as referenced to avoid a compiler warning. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix spelling of stm_dma_ch4_5_6_isrKeith Packard2019-02-18
| | | | | | This spellingn error would have caused all DMA to these channels to fail. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: ADS124S0X driver compiles with initialization code maybe completedBdale Garbee2019-02-17
|
* altos: add initial support for TeleFireOne v2.0Bdale Garbee2019-02-17
|
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2019-01-28
|\
| * altos/telefireeight-v2.0: Add flash loader MakefileKeith Packard2019-01-28
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Delete unused config bits for telefireeight-v2.0. Add MakefileKeith Packard2019-01-28
| | | | | | | | | | | | Clean up the config and set the copyright year. Signed-off-by: Keith Packard <keithp@keithp.com>
* | Makefiles, tooBdale Garbee2019-01-28
|/
* altos: add telefireeight-v2.0 to src/Makefile and to ReleasingBdale Garbee2019-01-27
|
* altos: add support for telefireeight-v2.0Bdale Garbee2019-01-27
|
* altos: Don't validate ADXL375 self test for maximum valueKeith Packard2018-12-30
| | | | | | | The data sheet says this is unreliable, and that we should be using an FFT anyways. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make HAS_ACCEL_DEBUG build againKeith Packard2018-12-30
| | | | | | Need to not use ao_error_h_sq_avg without HAS_ACCEL Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/easymega-v2.0: Handle different mpu9250 orientationKeith Packard2018-10-20
| | | | | | | The mpu9250 on EasyMega v2.0 is rotated 90° compared with EasyMega v1 and TeleMega IMU devices. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/adxl375: Clean up initialization, shortening self test periodKeith Packard2018-10-20
| | | | | | | Set the self test period to that suggested in the documentation. Eliminate some debug variables. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add EasyMega v2.0 to default buildKeith Packard2018-10-19
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/easymega-v2.0: Add adxl375, replace mpu6000 with 9250 [v2]Keith Packard2018-10-19
| | | | | | | | | | Should reflect current hardware design now. v2: Use SPI mode 3 for ADXL375 Invert ADXL375 values Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/easymega-v2.0: Change binary to easymega-v2.0 instead of easymega-v1.0Keith Packard2018-10-19
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add ADXL375 driver [v2]Keith Packard2018-10-19
| | | | | | | Includes self-test code and multi-byte mode operation for reading sample registers. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: Support SPI modes other than 0Keith Packard2018-10-19
| | | | | | ADXL375 requires SPI mode 3. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: Make beeper driver support all possible tim234 configsKeith Packard2018-10-19
| | | | | | And update all users to be explicit about the desired config. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Create ao_data_fill shared functionKeith Packard2018-10-19
| | | | | | | This fills a data ring entry with all of the current sensor values other than the ADC. It is used in all of the adc completion functions. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: remove usbtrng support (chaoskey prototypes)Bdale Garbee2018-10-13
|
* altos: remove telescience supportBdale Garbee2018-10-13
|
* altos: remove teledongle-v1.8 support (what was that, anyway?!?)Bdale Garbee2018-10-13
|
* altos: remove megadongle-v0.1 support, never went beyond prototypeBdale Garbee2018-10-13
|
* altos: remove telepyro-v0.1 support, which was never completed anywayBdale Garbee2018-10-13
|
* altos: remove teleterra-v0.1, also an ancient cc1111 projectBdale Garbee2018-10-13
|
* altos/drivers: Use stdbool in ao_ms5607.cKeith Packard2018-10-13
| | | | | | We don't have TRUE and FALSE anymore (they were pdclib specific). Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove pdclib bits from MakefileKeith Packard2018-10-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4-disco: Start hooking up stm32f413 USB for the disco boardKeith Packard2018-10-13
| | | | | | Non-working as yet. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4: Add start of stm32f413 USB supportKeith Packard2018-10-13
| | | | | | This code doesn't work yet. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4: Add stm32f413 USART supportKeith Packard2018-10-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4: Add external interrupt bitsKeith Packard2018-10-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4: Add more stm32f413 definitions and support codeKeith Packard2018-10-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Clean up AO_ROMCONFIG bitsKeith Packard2018-10-13
| | | | | | | Remove address parameter (doesn't work with gcc), create shared ao_romconfig in kernel. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4-disco: Hook up serial console. Add schemeKeith Packard2018-10-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>