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)/battery.c \ $(WIRELESS_DIR)/bat_level_animation.c \ $(WIRELESS_DIR)/rtc_timer.c \ $(WIRELESS_DIR)/wireless_common.c ifeq ($(strip $(MCU_SERIES)), STM32F4xx) SRC += $(WIRELESS_DIR)/lpm_stm32f401.c endif ifeq ($(strip $(MCU_SERIES)), WB32F3G71xx) SRC += $(WIRELESS_DIR)/lpm_wb32f3g71.c endif VPATH += $(TOP_DIR)/keyboards/lemokey/$(WIRELESS_DIR)