esp-idf/components/soc/esp32s2beta/sources.cmake

18 lines
574 B
CMake
Raw Normal View History

set(SOC_SRCS "cpu_util.c"
"gpio_periph.c"
"rtc_clk.c"
2019-04-03 05:08:02 -04:00
"rtc_init.c"
"rtc_periph.c"
2019-04-03 05:08:02 -04:00
"rtc_pm.c"
"rtc_sleep.c"
"rtc_time.c"
"soc_memory_layout.c"
2019-06-13 03:37:58 -04:00
"spi_periph.c"
"gpio_periph.c"
"rtc_periph.c")
2019-04-03 05:08:02 -04:00
if(NOT CMAKE_BUILD_EARLY_EXPANSION)
set_source_files_properties("esp32s2beta/rtc_clk.c" PROPERTIES
COMPILE_FLAGS "-fno-jump-tables -fno-tree-switch-conversion")
endif()