You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/10/05 15:40:17 UTC
(nuttx) branch master updated: drivers/serial/CMakeLists.txt: add missing files
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang 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 e3bbd0cfd8 drivers/serial/CMakeLists.txt: add missing files
e3bbd0cfd8 is described below
commit e3bbd0cfd83d127aa31545055eb7afe2641c5683
Author: raiden00pl <ra...@railab.me>
AuthorDate: Fri Aug 9 10:56:07 2024 +0200
drivers/serial/CMakeLists.txt: add missing files
add missing files: uart_bth5.c and uart_ram.c
---
drivers/serial/CMakeLists.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/drivers/serial/CMakeLists.txt b/drivers/serial/CMakeLists.txt
index 6bf1190d87..5d4bbf9bb8 100644
--- a/drivers/serial/CMakeLists.txt
+++ b/drivers/serial/CMakeLists.txt
@@ -69,4 +69,16 @@ if(CONFIG_16550_PCI_UART)
list(APPEND SRCS uart_pci_16550.c)
endif()
+# Bluetooth H:5 UART driver
+
+if(CONFIG_UART_BTH5)
+ list(APPEND SRCS uart_bth5.c)
+endif()
+
+# RAM uart support
+
+if(CONFIG_RAM_UART)
+ list(APPEND SRCS uart_ram.c)
+endif()
+
target_sources(drivers PRIVATE ${SRCS})