summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q5_pro/rules.mk
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-06-15 12:05:10 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-06-15 12:05:10 +0800
commit156dffa0fe06feff46df8fcc39db85a683d16193 (patch)
treed12f7c13ec194d7c9e2d9b84468250b58d5db605 /keyboards/keychron/q5_pro/rules.mk
parent5856c95340be1f855fcd342ecb2f8446a7adbcda (diff)
Add q5 pro
Diffstat (limited to 'keyboards/keychron/q5_pro/rules.mk')
-rwxr-xr-xkeyboards/keychron/q5_pro/rules.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/keychron/q5_pro/rules.mk b/keyboards/keychron/q5_pro/rules.mk
new file mode 100755
index 0000000000..98cf5c564b
--- /dev/null
+++ b/keyboards/keychron/q5_pro/rules.mk
@@ -0,0 +1,8 @@
+# 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
+OPT_DEFS += -DKC_BLUETOOTH_ENABLE
+
+SRC += matrix.c
+
+include keyboards/keychron/bluetooth/bluetooth.mk