diff options
author | lokher <lokher@gmail.com> | 2023-07-12 16:51:19 +0800 |
---|---|---|
committer | lokher <lokher@gmail.com> | 2023-07-12 16:51:19 +0800 |
commit | 627f1d1c5d750059a7923932102d33f860f5deed (patch) | |
tree | de76a30353ce3ac482dc6f0acf53356b82ada35f /keyboards/oneplus/81_pro/rules.mk | |
parent | 544178a8c785884365855b26ec0e0d7514f80c5b (diff) |
add Oneplus 81 pro
Diffstat (limited to 'keyboards/oneplus/81_pro/rules.mk')
-rw-r--r-- | keyboards/oneplus/81_pro/rules.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/oneplus/81_pro/rules.mk b/keyboards/oneplus/81_pro/rules.mk new file mode 100644 index 0000000000..f3f3cfc711 --- /dev/null +++ b/keyboards/oneplus/81_pro/rules.mk @@ -0,0 +1,25 @@ +# 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 + +OPT_DEFS += -DKC_BLUETOOTH_ENABLE + +BLUETOOTH_DIR = keyboards/keychron/bluetooth +SRC += \ + $(BLUETOOTH_DIR)/bluetooth.c \ + $(BLUETOOTH_DIR)/report_buffer.c \ + $(BLUETOOTH_DIR)/ckbt51.c \ + $(BLUETOOTH_DIR)/indicator.c \ + $(BLUETOOTH_DIR)/bluetooth_main.c \ + $(BLUETOOTH_DIR)/transport.c \ + $(BLUETOOTH_DIR)/lpm.c \ + $(BLUETOOTH_DIR)/lpm_stm32l432.c \ + $(BLUETOOTH_DIR)/battery.c \ + $(BLUETOOTH_DIR)/factory_test.c \ + $(BLUETOOTH_DIR)/bat_level_animation.c \ + $(BLUETOOTH_DIR)/rtc_timer.c + +VPATH += $(TOP_DIR)/$(BLUETOOTH_DIR) + |