File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -320,6 +320,11 @@ menu "Security features"
320
320
select MBEDTLS_ECDSA_C
321
321
depends on SECURE_SIGNED_ON_BOOT || SECURE_SIGNED_ON_UPDATE
322
322
323
+ config SECURE_TARGET_HAS_SECURE_ROM_DL_MODE
324
+ bool
325
+ default y
326
+ depends on IDF_TARGET_ESP32S2
327
+
323
328
324
329
config SECURE_SIGNED_APPS_NO_SECURE_BOOT
325
330
bool "Require signed app images"
@@ -587,7 +592,7 @@ menu "Security features"
587
592
588
593
config SECURE_FLASH_ENCRYPTION_MODE_RELEASE
589
594
bool "Release"
590
- select SECURE_ENABLE_SECURE_ROM_DL_MODE
595
+ select SECURE_ENABLE_SECURE_ROM_DL_MODE if SECURE_TARGET_HAS_SECURE_ROM_DL_MODE
591
596
592
597
endchoice
593
598
@@ -719,7 +724,7 @@ menu "Security features"
719
724
720
725
config SECURE_ENABLE_SECURE_ROM_DL_MODE
721
726
bool "Permanently switch to ROM UART Secure Download mode"
722
- depends on IDF_TARGET_ESP32S2 && !SECURE_DISABLE_ROM_DL_MODE
727
+ depends on SECURE_TARGET_HAS_SECURE_ROM_DL_MODE && !SECURE_DISABLE_ROM_DL_MODE
723
728
help
724
729
If set, during startup the app will burn an eFuse bit to permanently switch the UART ROM
725
730
Download Mode into a separate Secure Download mode. This option can only work if
You can’t perform that action at this time.
0 commit comments