This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 87da87b443edde25e168cf4ba8b454b789f3a82f
Author: xuxingliang <[email protected]>
AuthorDate: Tue Feb 18 15:42:00 2025 +0800

    cmake: fix note cmake compile error
    
    notestream_driver.c is missing from CMakeLists.txt.
    
    Signed-off-by: xuxingliang <[email protected]>
---
 drivers/note/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/note/CMakeLists.txt b/drivers/note/CMakeLists.txt
index 554dbd16362..16126bb2c74 100644
--- a/drivers/note/CMakeLists.txt
+++ b/drivers/note/CMakeLists.txt
@@ -26,6 +26,10 @@ if(CONFIG_DRIVERS_NOTE)
   list(APPEND SRCS note_initialize.c)
 endif()
 
+if(CONFIG_DRIVERS_NOTEFILE OR CONFIG_DRIVERS_NOTELOWEROUT)
+  list(APPEND SRCS notestream_driver.c)
+endif()
+
 if(CONFIG_DRIVERS_NOTERAM)
   list(APPEND SRCS noteram_driver.c)
 endif()

Reply via email to