2019-09-09 20:56:46 +08:00
|
|
|
set(SOC_SRCS "adc_periph.c"
|
2019-07-19 21:20:16 +08:00
|
|
|
"dac_periph.c"
|
2019-09-09 20:56:46 +08:00
|
|
|
"cpu_util.c"
|
2018-09-11 09:44:12 +08:00
|
|
|
"gpio_periph.c"
|
|
|
|
"rtc_clk.c"
|
|
|
|
"rtc_clk_init.c"
|
|
|
|
"rtc_init.c"
|
2019-07-25 23:11:31 +08:00
|
|
|
"rtc_io_periph.c"
|
2018-09-11 09:44:12 +08:00
|
|
|
"rtc_periph.c"
|
|
|
|
"rtc_pm.c"
|
|
|
|
"rtc_sleep.c"
|
|
|
|
"rtc_time.c"
|
|
|
|
"rtc_wdt.c"
|
|
|
|
"sdio_slave_periph.c"
|
|
|
|
"sdmmc_periph.c"
|
2019-09-26 00:22:36 +08:00
|
|
|
"interrupts.c"
|
2018-09-11 09:44:12 +08:00
|
|
|
"soc_memory_layout.c"
|
2019-06-06 14:20:39 +08:00
|
|
|
"spi_periph.c"
|
2019-06-06 17:00:03 +08:00
|
|
|
"ledc_periph.c"
|
2019-06-05 11:32:20 +08:00
|
|
|
"i2s_periph.c"
|
2019-04-17 20:19:44 +08:00
|
|
|
"i2c_periph.c"
|
|
|
|
"uart_periph.c"
|
2019-11-27 20:08:44 +08:00
|
|
|
"touch_sensor_hal.c"
|
|
|
|
"touch_sensor_periph.c")
|
2018-08-27 10:48:16 +08:00
|
|
|
|
2019-07-12 17:58:45 +08:00
|
|
|
if(NOT BOOTLOADER_BUILD AND CONFIG_ETH_USE_ESP32_EMAC)
|
2019-04-10 16:24:50 +08:00
|
|
|
list(APPEND SOC_SRCS "emac_hal.c")
|
|
|
|
endif()
|
|
|
|
|
2018-08-27 10:48:16 +08: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()
|