summaryrefslogtreecommitdiff
path: root/keyboards/binepad/bnr1/v2/rules.mk
diff options
context:
space:
mode:
authorVino Rodrigues <366673+vinorodrigues@users.noreply.github.com>2023-02-10 08:01:21 +1100
committerGitHub <noreply@github.com>2023-02-09 13:01:21 -0800
commit989f2476b6053fbb970a1560094b04b88d337891 (patch)
tree2a8a73b13748a2211312ea340dbbb44d80172f7f /keyboards/binepad/bnr1/v2/rules.mk
parent9c6b8fae404f4e31a898b01e47e9d53d9c0c8a45 (diff)
[Keyboard] Add Binepad BNR1 v2 rotary encoder (#19770)
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