Complete STM32L low power demo.

pull/4/head
Richard Barry 11 years ago
parent 4b655ac3bb
commit ed54bc497d

@ -76,7 +76,10 @@
/*
* When configCREATE_LOW_POWER_DEMO is set to 1 then the tick interrupt
* is generated by the TIM2 peripheral. The TIM2 configuration and handling
* functions are defined in this file.
* functions are defined in this file. Note the RTC is not used as there does
* not appear to be a way to read back the RTC count value, and therefore the
* only way of knowing exactly how long a sleep lasted is to use the very low
* resolution calendar time.
*
* When configCREATE_LOW_POWER_DEMO is set to 0 the tick interrupt is
* generated by the standard FreeRTOS Cortex-M port layer, which uses the

@ -89,7 +89,7 @@ assembler. */
/* Set configCREATE_LOW_POWER_DEMO to one to run the simple blinky low power
demo, or 0 to run the more comprehensive test and demo application. */
#define configCREATE_LOW_POWER_DEMO 0
#define configCREATE_LOW_POWER_DEMO 1
/* A few settings are dependent on the configCREATE_LOW_POWER_DEMO setting. */
#if configCREATE_LOW_POWER_DEMO == 1

Loading…
Cancel
Save