2018-09-10 21:44:12 -04:00
|
|
|
set(COMPONENT_SRCS "bootloader_start.c")
|
|
|
|
set(COMPONENT_ADD_INCLUDEDIRS "")
|
2019-05-09 22:53:08 -04:00
|
|
|
set(COMPONENT_REQUIRES bootloader bootloader_support)
|
2018-09-10 21:44:12 -04:00
|
|
|
register_component()
|
2019-05-09 22:53:08 -04:00
|
|
|
|
|
|
|
idf_build_get_property(target IDF_TARGET)
|
|
|
|
|
2019-04-03 01:05:35 -04:00
|
|
|
target_linker_script(${COMPONENT_LIB}
|
|
|
|
"ld/${target}/bootloader.ld"
|
|
|
|
"ld/${target}/bootloader.rom.ld"
|
|
|
|
)
|
|
|
|
|
|
|
|
set(scripts
|
|
|
|
"${IDF_PATH}/components/esp_rom/${target}/ld/${target}.rom.ld"
|
|
|
|
"${IDF_PATH}/components/esp_rom/${target}/ld/${target}.rom.newlib-funcs.ld"
|
|
|
|
"${IDF_PATH}/components/${target}/ld/${target}.peripherals.ld")
|
|
|
|
|
|
|
|
target_linker_script(${COMPONENT_LIB} ${scripts})
|