altos: Rework how STM clocks are initialized.
authorKeith Packard <keithp@keithp.com>
Thu, 12 Apr 2012 06:30:13 +0000 (23:30 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 14 Apr 2012 20:22:03 +0000 (13:22 -0700)
commit49ac2828510e8b5fcba7e31631dac0580a455011
treedc306cf4a0c00a3bb0391703893e77e0cf7e7545
parent93ef7e4a23d13540615f1a9782e1d58ddb7f258e
altos: Rework how STM clocks are initialized.

Clean all of the RCC configuration up after turning on the clocks.
Use the MSI clock during initialization to avoid messing around with
the HSI clock temporarily.

Allow for an external clock on the HSE line.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/ao_timer.c