summaryrefslogtreecommitdiffstats
path: root/keyboards/binepad/bnr1/v2/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/binepad/bnr1/v2/rules.mk')
-rwxr-xr-xkeyboards/binepad/bnr1/v2/rules.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/binepad/bnr1/v2/rules.mk b/keyboards/binepad/bnr1/v2/rules.mk
new file mode 100755
index 0000000000..a9a826d49f
--- /dev/null
+++ b/keyboards/binepad/bnr1/v2/rules.mk
@@ -0,0 +1,7 @@
+# This file only contains EFL/WL settings and enables F103 low-power mode
+
+EEPROM_DRIVER = wear_leveling
+WEAR_LEVELING_DRIVER = embedded_flash
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE