Chibios: use WFI in idle. WIP suspend stuff.
This commit is contained in:
parent
c61210cfff
commit
c1c8e079ca
9 changed files with 102 additions and 12 deletions
|
|
@ -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
|
||||
|
||||
/** @} */
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue