summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* 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>
* altos: sdcc doesn't have 'false' and 'true'.Keith Packard2018-10-02
| | | | | | Use FALSE and TRUE in ms5607.c driver instead. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/drivers: Shrink ao_ms5607.c code to fit on micropeak stillKeith Packard2018-10-02
| | | | | | | Use some code constructs that make the little AVR processor happier and save about 16 bytes of memory. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: don't build fox1ihu by defaultBdale Garbee2018-08-30
|
* altos: Switch global 'log' to 'ao_log_data'Keith Packard2018-08-15
| | | | | | Avoid conflicts with 'log' math function. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Stop using 'stdin' name as local variableKeith Packard2018-08-15
| | | | | | stdio kinda wants to own this name Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Fix stdio wakeup on serial IRQKeith Packard2018-08-15
| | | | | | Should just use USE_SERIAL_0_STDIN directly Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow timer interrupt without needing tick countKeith Packard2018-08-15
| | | | | | | This saves a bit of space in the fox1ihu loader which uses the timer interrupt to poke the watchdog. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove spurious 'const' from ao_state_namesKeith Packard2018-08-15
| | | | | | Current gcc complains about this. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove spurious ao_mma655x_spi_index variableKeith Packard2018-08-15
| | | | | | This isn't used; was probably included for debugging at some point. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add separate 'ao_launch_tick'. Use in pyro and lockout.Keith Packard2018-08-05
| | | | | | | | | | | | | | | | Prior to this, there was only ao_boost_tick, which got reset at each motor burn start. That meant there wasn't any way to measure total flight time for pyro channels and 'apogee lockout' was based on time since most recent motor start instead of total flight time. Now pyro channels and apogee lockout both use total flight time, while motor burn length still uses time since most recent motor burn start (as it should). Docs and UI updated to use 'launch' instead of 'boost' to try and make the change clear. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/plottest: Make linewidth biggerKeith Packard2018-08-05
| | | | | | 1-pixel lines are harsh in 2018 Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm-demo: Set up for dumping eepromKeith Packard2018-08-05
| | | | | | This is used to dump an eeprom wired to the stm demo board. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Change 'after motor' pyro check to be >= instead of ==Keith Packard2018-08-05
| | | | | | This makes after motor stay valid even if further motors burn. Signed-off-by: Keith Packard <keithp@keithp.com>