aboutsummaryrefslogtreecommitdiff
path: root/builddefs
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2025-05-05 04:05:04 +0100
committerGitHub <[email protected]>2025-05-05 04:05:04 +0100
commit842c8401452f83e691a9df97ffba52a389c885c8 (patch)
tree39cc609985e6d8bb6cfa859520ee062cb4793805 /builddefs
parent614b631ee2649de67a830a39393af416acee58a8 (diff)
downloadqmk_firmware-842c8401452f83e691a9df97ffba52a389c885c8.tar.gz
qmk_firmware-842c8401452f83e691a9df97ffba52a389c885c8.zip
Bind Bluetooth driver to `host_driver_t` (#25199)
Diffstat (limited to 'builddefs')
-rw-r--r--builddefs/common_features.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 5d007e099d..f62b925817 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -898,16 +898,17 @@ ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
NO_USB_STARTUP_CHECK := yes
CONNECTION_ENABLE := yes
COMMON_VPATH += $(DRIVER_PATH)/bluetooth
+ SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c
ifeq ($(strip $(BLUETOOTH_DRIVER)), bluefruit_le)
SPI_DRIVER_REQUIRED = yes
- SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c
+ SRC += $(DRIVER_PATH)/bluetooth/bluetooth_drivers.c
SRC += $(DRIVER_PATH)/bluetooth/bluefruit_le.cpp
endif
ifeq ($(strip $(BLUETOOTH_DRIVER)), rn42)
UART_DRIVER_REQUIRED = yes
- SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c
+ SRC += $(DRIVER_PATH)/bluetooth/bluetooth_drivers.c
SRC += $(DRIVER_PATH)/bluetooth/rn42.c
endif
endif