summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/bluepill_uf2boot/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/bluepill_uf2boot/rules.mk')
-rw-r--r--keyboards/handwired/onekey/bluepill_uf2boot/rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/bluepill_uf2boot/rules.mk b/keyboards/handwired/onekey/bluepill_uf2boot/rules.mk
new file mode 100644
index 0000000000..a92b099328
--- /dev/null
+++ b/keyboards/handwired/onekey/bluepill_uf2boot/rules.mk
@@ -0,0 +1,2 @@
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE