fixup! feat(Adafruit BLE UART): add definition for build

make more clean definition
This commit is contained in:
orumin 2023-11-19 04:20:39 +09:00
parent 2d0e448fc0
commit 2421b17891

View File

@ -891,10 +891,9 @@ ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
endif endif
ifeq ($(strip $(BLUETOOTH_DRIVER)), bluefruit_le_uart) ifeq ($(strip $(BLUETOOTH_DRIVER)), bluefruit_le_uart)
OPT_DEFS += -DBLUETOOTH_BLUEFRUIT_LE_UART -DHAL_USE_SERIAL=TRUE UART_DRIVER_REQUIRED = yes
SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c
SRC += $(DRIVER_PATH)/bluetooth/bluefruit_le_uart.c SRC += $(DRIVER_PATH)/bluetooth/bluefruit_le_uart.c
QUANTUM_LIB_SRC += uart.c
endif endif
ifeq ($(strip $(BLUETOOTH_DRIVER)), rn42) ifeq ($(strip $(BLUETOOTH_DRIVER)), rn42)