FAT file system for iotdk: how to add SPI driver support? #driver #spi


Hi All,

I am working on a project for DesignWare(R) ARC(R) IoT Development Kit; iotdk in short.
I'd like to add FAT file system support. When I do "cmake -GNinja -DBOARD=iotdk .." it gives me an error:

CMake Error at ../../../cmake/extensions.cmake:359 (add_library):
  No SOURCES given to target: drivers__spi
Call Stack (most recent call first):
  ../../../cmake/extensions.cmake:336 (zephyr_library_named)
  ../../../drivers/spi/CMakeLists.txt:3 (zephyr_library)

The same happens if I try to build zephyr/samples/subsys/fs project.

What should I do in order to add iotdk board spi drivers?