olsndot/tests/rcc-legal-ranges
Karl Palsson cb945fa671 rcc-legal-ranges: run through a range of clocks
blink fast/slow for each clock configuration tested, then finish by
blinking idly.

As of this commit, this test fails quickly on most L1 boards tested.
An update to libopencm3 is required to fix this.
2016-08-19 11:31:57 +00:00
..
main-stm32l1-generic.c rcc-legal-ranges: run through a range of clocks 2016-08-19 11:31:57 +00:00
Makefile.stm32l1-generic rcc-legal-ranges: run through a range of clocks 2016-08-19 11:31:57 +00:00
README.md rcc-legal-ranges: run through a range of clocks 2016-08-19 11:31:57 +00:00

Tests whether legal clock config structures can actually be used. This primarily is testing whether the order of steps taken for turning on and selecting different clocks, power ranges and flash wait state configuration are robust enough.

PASSING

On boot you should get two slow blinks. After boot, you should get continuous 5/2 fast/slow blinks as it continuously shuffles and resets clock configurations.

FAILING

The board stops blinking at any point in the sequence