data_interval == 0 means no data collection All of the timer functions were still taking one sample every 256 clock ticks. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Remove support for !HAS_TASK_QUEUE This uses a bit more memory, but the amount can be controlled by setting the size of the sleep hash table, which makes this fit on even the smaller devices like the early EasyMini boards. Signed-off-by: Keith Packard <keithp@keithp.com>
altos/stm32f4: Need to read-back register after clock enable This was reported as necessary; I have no idea, but it's not expensive, so why not... Signed-off-by: Keith Packard <keithp@keithp.com>
altos/stm32f4: Add more stm32f413 definitions and support code Signed-off-by: Keith Packard <keithp@keithp.com>
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>
altos/stm32f4: Start adding support for STM32F413 Enough to get clocks lit up at least. Signed-off-by: Keith Packard <keithp@keithp.com>