mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 02:37:19 +02:00
fix: Secure boot (ECDSA) build failure for C6 rev0 target
Closes https://github.com/espressif/esp-idf/issues/15856
This commit is contained in:
@ -36,6 +36,10 @@ if(CONFIG_APP_BUILD_TYPE_APP_2NDBOOT)
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CONFIG_ESP_ROM_REV0_HAS_NO_ECDSA_INTERFACE)
|
||||||
|
list(APPEND srcs "src/${IDF_TARGET}/bootloader_ecdsa.c")
|
||||||
|
endif()
|
||||||
|
|
||||||
if(BOOTLOADER_BUILD OR CONFIG_APP_BUILD_TYPE_RAM)
|
if(BOOTLOADER_BUILD OR CONFIG_APP_BUILD_TYPE_RAM)
|
||||||
set(include_dirs "include" "bootloader_flash/include"
|
set(include_dirs "include" "bootloader_flash/include"
|
||||||
"private_include")
|
"private_include")
|
||||||
@ -50,10 +54,6 @@ if(BOOTLOADER_BUILD OR CONFIG_APP_BUILD_TYPE_RAM)
|
|||||||
"src/${IDF_TARGET}/bootloader_${IDF_TARGET}.c"
|
"src/${IDF_TARGET}/bootloader_${IDF_TARGET}.c"
|
||||||
)
|
)
|
||||||
list(APPEND priv_requires hal)
|
list(APPEND priv_requires hal)
|
||||||
if(CONFIG_ESP_ROM_REV0_HAS_NO_ECDSA_INTERFACE)
|
|
||||||
list(APPEND srcs
|
|
||||||
"src/${IDF_TARGET}/bootloader_ecdsa.c")
|
|
||||||
endif()
|
|
||||||
else()
|
else()
|
||||||
list(APPEND srcs
|
list(APPEND srcs
|
||||||
"src/idf/bootloader_sha.c")
|
"src/idf/bootloader_sha.c")
|
||||||
|
Reference in New Issue
Block a user