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()
13
13
14
14
add_definitions (-DMCUBOOT_TARGET=${MCUBOOT_TARGET} )
15
15
add_definitions (-D__ESPRESSIF__=1)
16
+ add_definitions (-DCONFIG_MCUBOOT_ESPRESSIF=1)
16
17
17
- set (EXPECTED_IDF_HAL_VERSION "5.1.4 " )
18
+ set (EXPECTED_IDF_HAL_VERSION "5.1.6 " )
18
19
19
20
if ("${MCUBOOT_TARGET} " STREQUAL "esp32" OR
20
21
"${MCUBOOT_TARGET} " STREQUAL "esp32s2" OR
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ endif()
17
17
18
18
list (APPEND LINKER_SCRIPTS
19
19
-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
20
21
)
21
22
22
23
set_source_files_properties (
Original file line number Diff line number Diff line change @@ -17,4 +17,5 @@ endif()
17
17
list (APPEND LINKER_SCRIPTS
18
18
-T${esp_hal_dir} /components/esp_rom/${MCUBOOT_TARGET} /ld/${MCUBOOT_TARGET} .rom.newlib.ld
19
19
-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
20
21
)
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ list(APPEND include_dirs
7
7
)
8
8
9
9
list (APPEND hal_srcs
10
+ ${esp_hal_dir} /components/bootloader_support/src/${MCUBOOT_TARGET} /bootloader_ecdsa.c
10
11
${esp_hal_dir} /components/hal/cache_hal.c
11
12
${esp_hal_dir} /components/hal/lp_timer_hal.c
12
13
${esp_hal_dir} /components/efuse/src/efuse_controller/keys/with_key_purposes/esp_efuse_api_key.c
@@ -22,6 +23,7 @@ endif()
22
23
23
24
list (APPEND LINKER_SCRIPTS
24
25
-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
25
27
)
26
28
27
29
set_source_files_properties (
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ list(APPEND include_dirs
9
9
list (APPEND hal_srcs
10
10
${esp_hal_dir} /components/hal/cache_hal.c
11
11
${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
12
13
${esp_hal_dir} /components/efuse/src/efuse_controller/keys/with_key_purposes/esp_efuse_api_key.c
13
14
${esp_hal_dir} /components/esp_rom/patches/esp_rom_regi2c_${MCUBOOT_TARGET} .c
14
15
${esp_hal_dir} /components/esp_hw_support/port/${MCUBOOT_TARGET} /pmu_param.c
@@ -22,6 +23,7 @@ endif()
22
23
23
24
list (APPEND LINKER_SCRIPTS
24
25
-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
25
27
)
26
28
27
29
set_source_files_properties (
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ endif()
17
17
18
18
list (APPEND LINKER_SCRIPTS
19
19
-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
20
21
)
21
22
22
23
set_source_files_properties (
Original file line number Diff line number Diff line change @@ -87,6 +87,8 @@ CONFIG_ESP_CONSOLE_UART_NUM=0
87
87
# CONFIG_SECURE_BOOT_ALLOW_JTAG=1
88
88
# CONFIG_SECURE_BOOT_ALLOW_ROM_BASIC=1
89
89
90
+ # CONFIG_SECURE_FLASH_PSEUDO_ROUND_FUNC_STRENGTH=1
91
+
90
92
# Options for enabling eFuse emulation in Flash (adjust
91
93
# CONFIG_EFUSE_VIRTUAL_OFFSET accordingly in order
92
94
# to not overlap with other flash regions)
You can’t perform that action at this time.
0 commit comments