File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
components/bootloader_support Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,9 @@ if(CONFIG_APP_BUILD_TYPE_APP_2NDBOOT)
6565endif ()
6666
6767list (APPEND srcs "src/bootloader_sha.c" )
68+ if (CONFIG_ESP_ROM_REV0_HAS_NO_ECDSA_INTERFACE)
69+ list (APPEND srcs "src/${IDF_TARGET} /bootloader_ecdsa.c" )
70+ endif ()
6871
6972if (BOOTLOADER_BUILD OR CONFIG_APP_BUILD_TYPE_RAM)
7073 set (include_dirs "include" "bootloader_flash/include"
@@ -82,10 +85,6 @@ if(BOOTLOADER_BUILD OR CONFIG_APP_BUILD_TYPE_RAM)
8285 list (APPEND srcs "src/bootloader_utility_tee.c" )
8386 endif ()
8487 list (APPEND priv_requires hal)
85- if (CONFIG_ESP_ROM_REV0_HAS_NO_ECDSA_INTERFACE)
86- list (APPEND srcs
87- "src/${IDF_TARGET} /bootloader_ecdsa.c" )
88- endif ()
8988else ()
9089 set (include_dirs "include" "bootloader_flash/include" )
9190 set (priv_include_dirs "private_include" )
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="test/partitions_efuse_emul.csv"
88
99CONFIG_SECURE_BOOT=y
1010CONFIG_SECURE_BOOT_V2_ENABLED=y
11- CONFIG_SECURE_BOOT_SIGNING_KEY="test/secure_boot_signing_key.pem"
11+ CONFIG_SECURE_BOOT_V2_ECDSA_ENABLED=y
12+ CONFIG_SECURE_BOOT_SIGNING_KEY="test/secure_boot_signing_key_ecdsa_nistp256.pem"
1213CONFIG_SECURE_INSECURE_ALLOW_DL_MODE=y
1314
1415# IMPORTANT: ONLY VIRTUAL eFuse MODE!
You can’t perform that action at this time.
0 commit comments