mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
cmake: Add support for test build
This commit is contained in:
@@ -11,4 +11,9 @@ set(SOC_SRCS "cpu_util.c"
|
||||
"sdio_slave_periph.c"
|
||||
"sdmmc_periph.c"
|
||||
"soc_memory_layout.c"
|
||||
"spi_periph.c")
|
||||
"spi_periph.c")
|
||||
|
||||
if(NOT CMAKE_BUILD_EARLY_EXPANSION)
|
||||
set_source_files_properties("esp32/rtc_clk.c" PROPERTIES
|
||||
COMPILE_FLAGS "-fno-jump-tables -fno-tree-switch-conversion")
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user