altos/stm32f4: Fix clock configuration
authorKeith Packard <keithp@keithp.com>
Tue, 11 Sep 2018 08:28:03 +0000 (01:28 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 13 Oct 2018 15:22:50 +0000 (08:22 -0700)
commitf7ca88282466c271bad5e25e804729580fe83c47
tree169d841680f804803b20621afa831ec2320c4ce0
parent621d1529d6bc07a3f4bd27fb2d02d5b3161a3a6a
altos/stm32f4: Fix clock configuration

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>
src/stm32f4-disco/ao_pins.h
src/stm32f4/ao_timer.c
src/stm32f4/stm32f4.h