RusEFI is green: put cpu in standby in idle (#2342)

* MRE is green: put cpu in standby in idle

* Revert "MRE is green: put cpu in standby in idle"

This reverts commit 62b5cadda014ace749b145b629da62b182b5e3ce.

* RusEFI is green on all boards
This commit is contained in:
Andrey G 2021-02-14 18:24:21 +03:00 committed by GitHub
parent 89391919dc
commit bb5ee69f29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 0 deletions

View File

@ -750,6 +750,12 @@
/* Port-specific settings (override port settings defaulted in chcore.h). */
/*===========================================================================*/
/**
* @brief Sleep at idle.
* @details This option enables call to __WFI() from idle thread to save power.
*/
#define CORTEX_ENABLE_WFI_IDLE TRUE
#endif /* CHCONF_H */
/** @} */

View File

@ -752,6 +752,12 @@
#define CORTEX_VTOR_INIT 0x00200000U
/**
* @brief Sleep at idle.
* @details This option enables call to __WFI() from idle thread to save power.
*/
#define CORTEX_ENABLE_WFI_IDLE TRUE
#endif /* CHCONF_H */
/** @} */

View File

@ -713,6 +713,12 @@
/* Port-specific settings (override port settings defaulted in chcore.h). */
/*===========================================================================*/
/**
* @brief Sleep at idle.
* @details This option enables call to __WFI() from idle thread to save power.
*/
#define CORTEX_ENABLE_WFI_IDLE TRUE
#endif /* CHCONF_H */
/** @} */