mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
drivers/spi/CMakeLists.txt: Aligned Cmake with Make
Add iCE40 driver #12012 Signed-off-by: simbit18 <simbit18@gmail.com>
This commit is contained in:
committed by
Filipe do Ó Cavalcanti
parent
4ed174a7e0
commit
95f1cf4748
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user