summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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>
* altos/stm32f4: Place ARM.exidx sections after .textKeith Packard2018-10-13
| | | | | | | This makes the linker happy about not attempting to merge unordered and ordered stuff (whatever that means...) Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4: Use full printf/scanf (including floats)Keith Packard2018-10-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4: Add usart driver for usart6Keith Packard2018-10-13
| | | | | | This is what the disco board hooks up. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4: Align stack to 8 bytesKeith Packard2018-10-13
| | | | | | This makes sure that doubles are aligned properly when passed on the stack. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4-disco: Add .gitignoreKeith Packard2018-10-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add generic LED driver.Keith Packard2018-10-13
| | | | | | | | | | | This driver uses the generic GPIO functions and allows per-LED port and pin configuration. It supports up to 32 LEDs. Rename SoC-specific LED drivers. Remove enabled parameter to ao_led_init Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Eliminate 'pin' field from GPIO functionsKeith Packard2018-10-13
| | | | | | | This was used with the 8051 bit-addressing mode to provide single-instruction access to GPIO pins. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4: Fix clock configurationKeith Packard2018-10-13
| | | | | | | | | | | Was running the PLL input too slow (it wants 2MHz). Was configuring the PLL_P factor wrong (needs magic values, not P value) Set up clock debugging for PA8 and PC9 output. Enable on disco board for debugging. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4: Add STM32F413 disco board supportKeith Packard2018-10-13
| | | | | | Discovery development board Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm32f4: Start adding support for STM32F413Keith Packard2018-10-13
| | | | | | Enough to get clocks lit up at least. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove 8051-ism from ao_usb.hKeith Packard2018-10-13
| | | | | | __at doesn't exist for non-8051 Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Delete random 8051 ISR declarationsKeith Packard2018-10-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow application-specific prompts for ao_cmd_readlineKeith Packard2018-10-13
| | | | | | Lets other readline users specify alternate prompts. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use stdbool true/false instead of TRUE/FALSEKeith Packard2018-10-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make cmd number parsing functions return valueKeith Packard2018-10-13
| | | | | | Don't use a global variable to hold the result. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove 8051 address space specifiersKeith Packard2018-10-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove *_TO_DATA macrosKeith Packard2018-10-13
| | | | | | Now that we don't support 8051, we don't need these Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch to newlib-nano for libc on armKeith Packard2018-10-13
| | | | | | Stop using pdclib Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove cc1111 productsKeith Packard2018-10-13
| | | | | | We're not testing these anyways; building new firmware for them is not helpful. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: use %lu for APRS altitude in sprintfKeith Packard2018-10-13
| | | | | | It's a long. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: Make flash loader work with either 8MHz or 16MHz xtalKeith Packard2018-10-13
| | | | | | Provide PLL definitions for both values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: first cut at easymega v2.0 support .. nothing working yetBdale Garbee2018-10-12
|
* altos/lpc: Make sure USB pull-up is held low at boot for 'a while'Keith Packard2018-10-08
| | | | | | | Add a delay loop to make sure the host sees the pull-up low for long enough. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Force telemetry rate to 38400 when ao_force_freq is setKeith Packard2018-10-04
| | | | | | | | ao_force_freq is used by TeleMini to set the radio to known values. As TeleMini v3.0 also has configurable telemetry rates, this value also needs to be set back to a known value. Signed-off-by: Keith Packard <keithp@keithp.com>