summaryrefslogtreecommitdiffstats
path: root/keyboards/oneplus/81_pro/rules.mk
blob: f3f3cfc711492bdc4bbe180d158ed903fb656d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)