summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q11/ansi_encoder/rules.mk
diff options
context:
space:
mode:
authorlalalademaxiya1 <66767061+lalalademaxiya1@users.noreply.github.com>2023-04-07 02:02:24 +0800
committerGitHub <noreply@github.com>2023-04-06 11:02:24 -0700
commit655c24d29d656b5cea8f7de3605193d692d8f4c6 (patch)
tree9a4988227b332e1dabc6d194c69ee9b6b4826993 /keyboards/keychron/q11/ansi_encoder/rules.mk
parenteab2b8faa0ab1acfe51aeedd0214763da2ec4824 (diff)
[Keyboard] Add Keychron Q11 (#20125)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: adophoxia <100170946+adophoxia@users.noreply.github.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/keychron/q11/ansi_encoder/rules.mk')
-rwxr-xr-xkeyboards/keychron/q11/ansi_encoder/rules.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/keychron/q11/ansi_encoder/rules.mk b/keyboards/keychron/q11/ansi_encoder/rules.mk
new file mode 100755
index 0000000000..567ea30a2a
--- /dev/null
+++ b/keyboards/keychron/q11/ansi_encoder/rules.mk
@@ -0,0 +1,9 @@
+# Build Options
+# change yes to no to disable
+#
+EEPROM_DRIVER = wear_leveling
+WEAR_LEVELING_DRIVER = embedded_flash
+SERIAL_DRIVER = usart
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE