summaryrefslogtreecommitdiff
path: root/builddefs
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2025-05-05 04:05:04 +0100
committerGitHub <noreply@github.com>2025-05-05 04:05:04 +0100
commit842c8401452f83e691a9df97ffba52a389c885c8 (patch)
tree39cc609985e6d8bb6cfa859520ee062cb4793805 /builddefs
parent614b631ee2649de67a830a39393af416acee58a8 (diff)
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)
898 NO_USB_STARTUP_CHECK := yes 898 NO_USB_STARTUP_CHECK := yes
899 CONNECTION_ENABLE := yes 899 CONNECTION_ENABLE := yes
900 COMMON_VPATH += $(DRIVER_PATH)/bluetooth 900 COMMON_VPATH += $(DRIVER_PATH)/bluetooth
901 SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c
901 902
902 ifeq ($(strip $(BLUETOOTH_DRIVER)), bluefruit_le) 903 ifeq ($(strip $(BLUETOOTH_DRIVER)), bluefruit_le)
903 SPI_DRIVER_REQUIRED = yes 904 SPI_DRIVER_REQUIRED = yes
904 SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c 905 SRC += $(DRIVER_PATH)/bluetooth/bluetooth_drivers.c
905 SRC += $(DRIVER_PATH)/bluetooth/bluefruit_le.cpp 906 SRC += $(DRIVER_PATH)/bluetooth/bluefruit_le.cpp
906 endif 907 endif
907 908
908 ifeq ($(strip $(BLUETOOTH_DRIVER)), rn42) 909 ifeq ($(strip $(BLUETOOTH_DRIVER)), rn42)
909 UART_DRIVER_REQUIRED = yes 910 UART_DRIVER_REQUIRED = yes
910 SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c 911 SRC += $(DRIVER_PATH)/bluetooth/bluetooth_drivers.c
911 SRC += $(DRIVER_PATH)/bluetooth/rn42.c 912 SRC += $(DRIVER_PATH)/bluetooth/rn42.c
912 endif 913 endif
913endif 914endif