sources.cmake 581 B

1234567891011121314151617181920212223
  1. set(SOC_SRCS "cpu_util.c"
  2. "gpio_periph.c"
  3. "rtc_clk.c"
  4. "rtc_clk_init.c"
  5. "rtc_init.c"
  6. "rtc_periph.c"
  7. "rtc_pm.c"
  8. "rtc_sleep.c"
  9. "rtc_time.c"
  10. "rtc_wdt.c"
  11. "sdio_slave_periph.c"
  12. "sdmmc_periph.c"
  13. "soc_memory_layout.c"
  14. "spi_periph.c")
  15. if(NOT BOOTLOADER_BUILD AND CONFIG_ETH_USE_ESP32_EMAC)
  16. list(APPEND SOC_SRCS "emac_hal.c")
  17. endif()
  18. if(NOT CMAKE_BUILD_EARLY_EXPANSION)
  19. set_source_files_properties("esp32/rtc_clk.c" PROPERTIES
  20. COMPILE_FLAGS "-fno-jump-tables -fno-tree-switch-conversion")
  21. endif()