CMakeLists.txt 358 B

1234567891011
  1. idf_component_register(SRCS "bootloader_start.c"
  2. REQUIRES bootloader bootloader_support)
  3. idf_build_get_property(target IDF_TARGET)
  4. set(scripts "ld/${target}/bootloader.ld")
  5. if(NOT CONFIG_IDF_TARGET_ESP32C3)
  6. list(APPEND scripts "ld/${target}/bootloader.rom.ld")
  7. endif()
  8. target_linker_script(${COMPONENT_LIB} INTERFACE "${scripts}")