summaryrefslogtreecommitdiff
path: root/src/stm32f4
Commit message (Collapse)AuthorAge
* 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: 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/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: Start adding support for STM32F413Keith Packard2018-10-13
Enough to get clocks lit up at least. Signed-off-by: Keith Packard <keithp@keithp.com>