This is an automated email from the ASF dual-hosted git repository.
archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new ee1b6203c37 drivers/wireless/bluetooth: Aligned Cmake with Make
ee1b6203c37 is described below
commit ee1b6203c37e182c7822ed9ad17c722e52830238
Author: simbit18 <[email protected]>
AuthorDate: Thu Oct 9 09:27:37 2025 +0200
drivers/wireless/bluetooth: Aligned Cmake with Make
Add
- bt slip driver #14224
Signed-off-by: simbit18 <[email protected]>
---
drivers/wireless/bluetooth/CMakeLists.txt | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/wireless/bluetooth/CMakeLists.txt
b/drivers/wireless/bluetooth/CMakeLists.txt
index 84a8c33b80b..f678384096a 100644
--- a/drivers/wireless/bluetooth/CMakeLists.txt
+++ b/drivers/wireless/bluetooth/CMakeLists.txt
@@ -42,6 +42,10 @@ if(CONFIG_DRIVERS_BLUETOOTH)
endif()
endif()
+ if(CONFIG_BLUETOOTH_BRIDGE)
+ list(APPEND SRCS bt_bridge.c)
+ endif()
+
if(CONFIG_BLUETOOTH_NULL)
list(APPEND SRCS bt_null.c)
endif()
@@ -54,8 +58,8 @@ if(CONFIG_DRIVERS_BLUETOOTH)
list(APPEND SRCS bt_rpmsghci.c)
endif()
- if(CONFIG_BLUETOOTH_BRIDGE)
- list(APPEND SRCS bt_bridge.c)
+ if(CONFIG_BLUETOOTH_SLIP)
+ list(APPEND SRCS bt_slip.c)
endif()
target_sources(drivers PRIVATE ${SRCS})