keychron_qmk_firmware/keyboards/keychron/common/wireless/wireless.mk

22 lines
651 B
Makefile

OPT_DEFS += -DLK_WIRELESS_ENABLE
OPT_DEFS += -DNO_USB_STARTUP_CHECK
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
WIRELESS_DIR = common/wireless
SRC += \
$(WIRELESS_DIR)/wireless.c \
$(WIRELESS_DIR)/report_buffer.c \
$(WIRELESS_DIR)/lkbt51.c \
$(WIRELESS_DIR)/indicator.c \
$(WIRELESS_DIR)/wireless_main.c \
$(WIRELESS_DIR)/transport.c \
$(WIRELESS_DIR)/lpm.c \
$(WIRELESS_DIR)/lpm_stm32f401.c \
$(WIRELESS_DIR)/battery.c \
$(WIRELESS_DIR)/bat_level_animation.c \
$(WIRELESS_DIR)/rtc_timer.c \
$(WIRELESS_DIR)/keychron_wireless_common.c
VPATH += $(TOP_DIR)/keyboards/keychron/$(WIRELESS_DIR)