Chibios: use WFI in idle. WIP suspend stuff.

This commit is contained in:
flabbergast 2015-10-14 10:13:49 +01:00
parent c61210cfff
commit c1c8e079ca
9 changed files with 102 additions and 12 deletions

View file

@ -103,6 +103,10 @@
*/
#define CH_CFG_NO_IDLE_THREAD FALSE
/* Use __WFI in the idle thread for waiting. Does lower the power
* consumption. */
#define CORTEX_ENABLE_WFI_IDLE TRUE
/** @} */
/*===========================================================================*/