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()