summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q4_pro/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/q4_pro/rules.mk')
-rwxr-xr-xkeyboards/keychron/q4_pro/rules.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/keychron/q4_pro/rules.mk b/keyboards/keychron/q4_pro/rules.mk
new file mode 100755
index 0000000000..1f9fc1ab58
--- /dev/null
+++ b/keyboards/keychron/q4_pro/rules.mk
@@ -0,0 +1,7 @@
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
+OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
+
+SRC += matrix.c
+
+include keyboards/keychron/bluetooth/bluetooth.mk