summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q5_pro/rules.mk
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2023-07-10 15:15:03 +0800
committerGitHub <noreply@github.com>2023-07-10 15:15:03 +0800
commit9d185f8c6d9cff5b2f826329752ce1a99d5332bc (patch)
tree1e01f98fc76fe11a4edc7c96d59d00a5d07f5c2b /keyboards/keychron/q5_pro/rules.mk
parentcf10e4b6a0081158b2f92cb7579db75bcf3e3efa (diff)
parentb8aed52f178d82aba79e95eb965aa9daed5715dd (diff)
Merge pull request #132 from lalalademaxiya1/Keychron_q5_pro
Keychron 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