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

fdcavalcanti 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 95f1cf4748b drivers/spi/CMakeLists.txt: Aligned Cmake with Make
95f1cf4748b is described below

commit 95f1cf4748b08c0ed1a4e890c99eac2b75787d86
Author: simbit18 <101105604+simbi...@users.noreply.github.com>
AuthorDate: Thu Aug 21 17:39:02 2025 +0200

    drivers/spi/CMakeLists.txt: Aligned Cmake with Make
    
    Add iCE40 driver #12012
    
    Signed-off-by: simbit18 <simbi...@gmail.com>
---
 drivers/spi/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/spi/CMakeLists.txt b/drivers/spi/CMakeLists.txt
index 3d23c79e074..4eb190c6002 100644
--- a/drivers/spi/CMakeLists.txt
+++ b/drivers/spi/CMakeLists.txt
@@ -31,6 +31,10 @@ if(CONFIG_SPI)
     endif()
   endif()
 
+  if(CONFIG_SPI_ICE40)
+    list(APPEND SRCS ice40.c)
+  endif()
+
   if(CONFIG_SPI_SLAVE_DRIVER)
     list(APPEND SRCS spi_slave_driver.c)
   endif()

Reply via email to