summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/k12_pro/rules.mk
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2023-07-10 14:34:23 +0800
committerGitHub <noreply@github.com>2023-07-10 14:34:23 +0800
commite04c83bbe20fce84ebf36904ada23fb6d20067aa (patch)
treea51d5acd9fb13aad27048ffdfbe0d3bdf55d52c9 /keyboards/keychron/k12_pro/rules.mk
parent6e6f5936cb21eefe8d515f5fd281e21a113ea0b1 (diff)
parenta955f76e1c9dcb7b4768b83dcc6ca7ada4742e00 (diff)
Merge pull request #130 from lalalademaxiya1/keychron_k12_pro
Keychron k12 pro
Diffstat (limited to 'keyboards/keychron/k12_pro/rules.mk')
-rwxr-xr-xkeyboards/keychron/k12_pro/rules.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/keychron/k12_pro/rules.mk b/keyboards/keychron/k12_pro/rules.mk
new file mode 100755
index 0000000000..98cf5c564b
--- /dev/null
+++ b/keyboards/keychron/k12_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