Skip to content

Commit c50e49d

Browse files
Merge branch 'bugfix/esp32_c6_rev0_ecdsa_build_v5.3' into 'release/v5.3'
fix: Secure boot (ECDSA) build failure for C6 rev0 target (v5.3) See merge request espressif/esp-idf!38835
2 parents 3a1bd70 + ffc4ceb commit c50e49d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/bootloader_support/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ if(CONFIG_APP_BUILD_TYPE_APP_2NDBOOT)
3636
)
3737
endif()
3838

39+
if(CONFIG_ESP_ROM_REV0_HAS_NO_ECDSA_INTERFACE)
40+
list(APPEND srcs "src/${IDF_TARGET}/bootloader_ecdsa.c")
41+
endif()
42+
3943
if(BOOTLOADER_BUILD OR CONFIG_APP_BUILD_TYPE_RAM)
4044
set(include_dirs "include" "bootloader_flash/include"
4145
"private_include")
@@ -50,10 +54,6 @@ if(BOOTLOADER_BUILD OR CONFIG_APP_BUILD_TYPE_RAM)
5054
"src/${IDF_TARGET}/bootloader_${IDF_TARGET}.c"
5155
)
5256
list(APPEND priv_requires hal)
53-
if(CONFIG_ESP_ROM_REV0_HAS_NO_ECDSA_INTERFACE)
54-
list(APPEND srcs
55-
"src/${IDF_TARGET}/bootloader_ecdsa.c")
56-
endif()
5757
else()
5858
list(APPEND srcs
5959
"src/idf/bootloader_sha.c")

0 commit comments

Comments
 (0)