OVMS3-idf/components/soc/esp32s2beta/sources.cmake
2019-11-22 15:42:16 +08:00

23 lines
760 B
CMake

set(SOC_SRCS "adc_periph.c"
"dac_periph.c"
"cpu_util.c"
"gpio_periph.c"
"rtc_clk.c"
"rtc_init.c"
"rtc_io_periph.c"
"rtc_periph.c"
"rtc_pm.c"
"rtc_sleep.c"
"rtc_time.c"
"rtc_wdt.c"
"interrupts.c"
"soc_memory_layout.c"
"spi_periph.c"
"ledc_periph.c"
"i2s_periph.c"
"i2c_periph.c")
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()