diff options
Diffstat (limited to 'keyboards/handwired/onekey/stm32f0_disco/rules.mk')
-rw-r--r-- | keyboards/handwired/onekey/stm32f0_disco/rules.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/stm32f0_disco/rules.mk b/keyboards/handwired/onekey/stm32f0_disco/rules.mk index fe5e3f824f..d8928e9ec8 100644 --- a/keyboards/handwired/onekey/stm32f0_disco/rules.mk +++ b/keyboards/handwired/onekey/stm32f0_disco/rules.mk @@ -1,2 +1,6 @@ # MCU name MCU = STM32F072 + + +# Enter lower-power sleep mode when on the ChibiOS idle thread +OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |