esp-idf/components/spi_flash/test/CMakeLists.txt

10 lines
341 B
CMake
Raw Normal View History

if(CONFIG_SPI_FLASH_USE_LEGACY_IMPL)
set(exclude_srcs "test_esp_flash.c" "test_partition_ext.c")
2019-08-06 05:59:26 -04:00
endif()
idf_component_register(SRC_DIRS "."
EXCLUDE_SRCS "${exclude_srcs}"
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity test_utils spi_flash bootloader_support app_update)