File tree Expand file tree Collapse file tree 9 files changed +11
-1
lines changed Expand file tree Collapse file tree 9 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,9 @@ endif()
1313
1414add_definitions (-DMCUBOOT_TARGET=${MCUBOOT_TARGET} )
1515add_definitions (-D__ESPRESSIF__=1)
16+ add_definitions (-DCONFIG_MCUBOOT_ESPRESSIF=1)
1617
17- set (EXPECTED_IDF_HAL_VERSION "5.1.4 " )
18+ set (EXPECTED_IDF_HAL_VERSION "5.1.6 " )
1819
1920if ("${MCUBOOT_TARGET} " STREQUAL "esp32" OR
2021 "${MCUBOOT_TARGET} " STREQUAL "esp32s2" OR
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ endif()
1717
1818list (APPEND LINKER_SCRIPTS
1919 -T${esp_hal_dir} /components/esp_rom/${MCUBOOT_TARGET} /ld/${MCUBOOT_TARGET} .rom.newlib.ld
20+ -T${esp_hal_dir} /components/esp_rom/${MCUBOOT_TARGET} /ld/${MCUBOOT_TARGET} .rom.version .ld
2021)
2122
2223set_source_files_properties (
Original file line number Diff line number Diff line change @@ -17,4 +17,5 @@ endif()
1717list (APPEND LINKER_SCRIPTS
1818 -T${esp_hal_dir} /components/esp_rom/${MCUBOOT_TARGET} /ld/${MCUBOOT_TARGET} .rom.newlib.ld
1919 -T${esp_hal_dir} /components/esp_rom/${MCUBOOT_TARGET} /ld/${MCUBOOT_TARGET} .rom.eco3.ld
20+ -T${esp_hal_dir} /components/esp_rom/${MCUBOOT_TARGET} /ld/${MCUBOOT_TARGET} .rom.version .ld
2021)
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ list(APPEND include_dirs
77)
88
99list (APPEND hal_srcs
10+ ${esp_hal_dir} /components/bootloader_support/src/${MCUBOOT_TARGET} /bootloader_ecdsa.c
1011 ${esp_hal_dir} /components/hal/cache_hal.c
1112 ${esp_hal_dir} /components/hal/lp_timer_hal.c
1213 ${esp_hal_dir} /components/efuse/src/efuse_controller/keys/with_key_purposes/esp_efuse_api_key.c
@@ -22,6 +23,7 @@ endif()
2223
2324list (APPEND LINKER_SCRIPTS
2425 -T${esp_hal_dir} /components/esp_rom/${MCUBOOT_TARGET} /ld/${MCUBOOT_TARGET} .rom.newlib.ld
26+ -T${esp_hal_dir} /components/esp_rom/${MCUBOOT_TARGET} /ld/${MCUBOOT_TARGET} .rom.version .ld
2527)
2628
2729set_source_files_properties (
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ list(APPEND include_dirs
99list (APPEND hal_srcs
1010 ${esp_hal_dir} /components/hal/cache_hal.c
1111 ${esp_hal_dir} /components/hal/lp_timer_hal.c
12+ ${esp_hal_dir} /components/efuse/${MCUBOOT_TARGET} /esp_efuse_table_v0.0_v1.1.c
1213 ${esp_hal_dir} /components/efuse/src/efuse_controller/keys/with_key_purposes/esp_efuse_api_key.c
1314 ${esp_hal_dir} /components/esp_rom/patches/esp_rom_regi2c_${MCUBOOT_TARGET} .c
1415 ${esp_hal_dir} /components/esp_hw_support/port/${MCUBOOT_TARGET} /pmu_param.c
@@ -22,6 +23,7 @@ endif()
2223
2324list (APPEND LINKER_SCRIPTS
2425 -T${esp_hal_dir} /components/esp_rom/${MCUBOOT_TARGET} /ld/${MCUBOOT_TARGET} .rom.newlib.ld
26+ -T${esp_hal_dir} /components/esp_rom/${MCUBOOT_TARGET} /ld/${MCUBOOT_TARGET} .rom.version .ld
2527)
2628
2729set_source_files_properties (
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ endif()
1717
1818list (APPEND LINKER_SCRIPTS
1919 -T${esp_hal_dir} /components/esp_rom/${MCUBOOT_TARGET} /ld/${MCUBOOT_TARGET} .rom.newlib.ld
20+ -T${esp_hal_dir} /components/esp_rom/${MCUBOOT_TARGET} /ld/${MCUBOOT_TARGET} .rom.version .ld
2021 )
2122
2223set_source_files_properties (
Original file line number Diff line number Diff line change @@ -87,6 +87,8 @@ CONFIG_ESP_CONSOLE_UART_NUM=0
8787# CONFIG_SECURE_BOOT_ALLOW_JTAG=1
8888# CONFIG_SECURE_BOOT_ALLOW_ROM_BASIC=1
8989
90+ # CONFIG_SECURE_FLASH_PSEUDO_ROUND_FUNC_STRENGTH=1
91+
9092# Options for enabling eFuse emulation in Flash (adjust
9193# CONFIG_EFUSE_VIRTUAL_OFFSET accordingly in order
9294# to not overlap with other flash regions)
You can’t perform that action at this time.
0 commit comments