aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/stm32f0_disco/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/stm32f0_disco/rules.mk')
-rw-r--r--keyboards/handwired/onekey/stm32f0_disco/rules.mk4
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 fe5e3f824..d8928e9ec 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