2018-09-10 21:44:12 -04:00
|
|
|
set(SOC_SRCS "cpu_util.c"
|
|
|
|
"gpio_periph.c"
|
|
|
|
"rtc_clk.c"
|
|
|
|
"rtc_clk_init.c"
|
|
|
|
"rtc_init.c"
|
|
|
|
"rtc_periph.c"
|
|
|
|
"rtc_pm.c"
|
|
|
|
"rtc_sleep.c"
|
|
|
|
"rtc_time.c"
|
|
|
|
"rtc_wdt.c"
|
|
|
|
"sdio_slave_periph.c"
|
|
|
|
"sdmmc_periph.c"
|
|
|
|
"soc_memory_layout.c"
|
2019-06-06 02:20:39 -04:00
|
|
|
"spi_periph.c"
|
2019-06-06 05:00:03 -04:00
|
|
|
"ledc_periph.c"
|
|
|
|
"i2s_periph.c")
|
2018-08-26 22:48:16 -04:00
|
|
|
|
2019-07-12 05:58:45 -04:00
|
|
|
if(NOT BOOTLOADER_BUILD AND CONFIG_ETH_USE_ESP32_EMAC)
|
2019-04-10 04:24:50 -04:00
|
|
|
list(APPEND SOC_SRCS "emac_hal.c")
|
|
|
|
endif()
|
|
|
|
|
2018-08-26 22:48:16 -04:00
|
|
|
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()
|