esp32, esp32s2: move startup code into esp_system

This commit is contained in:
Renz Bagaporo
2020-03-03 12:22:41 +08:00
committed by Angus Gratton
parent 62ef63e835
commit bb5535ca5d
12 changed files with 610 additions and 847 deletions
-3
View File
@@ -15,7 +15,6 @@ else()
"cache_err_int.c"
"cache_sram_mmu.c"
"clk.c"
"cpu_start.c"
"crosscore_int.c"
"dport_access.c"
"esp_himem.c"
@@ -48,8 +47,6 @@ else()
target_linker_script(${COMPONENT_LIB} INTERFACE "${CMAKE_CURRENT_BINARY_DIR}/esp32_out.ld")
# Rely on user code to define app_main
target_link_libraries(${COMPONENT_LIB} INTERFACE "-u app_main")
if(CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY)
# This has to be linked before esp32.project.ld