kconfigs: Fix config issues raised by gen_kconfig_doc.py

This commit is contained in:
KonstantinKondrashov
2023-02-25 16:01:01 +08:00
committed by Sergei Silnov
parent a786554530
commit 2c46d5442f
6 changed files with 51 additions and 26 deletions

View File

@@ -428,11 +428,16 @@ menu "Security features"
select MBEDTLS_ECDSA_C select MBEDTLS_ECDSA_C
depends on SECURE_SIGNED_ON_BOOT || SECURE_SIGNED_ON_UPDATE depends on SECURE_SIGNED_ON_BOOT || SECURE_SIGNED_ON_UPDATE
config SECURE_ESP32_SUPPORTS_RSA
bool
default y if ESP32_REV_MIN_FULL >= 300
depends on IDF_TARGET_ESP32
config SECURE_BOOT_SUPPORTS_RSA config SECURE_BOOT_SUPPORTS_RSA
bool bool
default y default y
# RSA secure boot is supported in ESP32 revision >= v3.0 # RSA secure boot is supported in ESP32 revision >= v3.0
depends on (IDF_TARGET_ESP32 && ESP32_REV_MIN_FULL >= 300) || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3 # NOERROR depends on SECURE_ESP32_SUPPORTS_RSA || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3 # NOERROR
config SECURE_TARGET_HAS_SECURE_ROM_DL_MODE config SECURE_TARGET_HAS_SECURE_ROM_DL_MODE
bool bool

View File

@@ -61,7 +61,11 @@ menu "ESP32-specific"
# MAX Revision # MAX Revision
# #
comment "Maximum Supported ESP32 Revision (Rev v3.99)" choice ESP32_REV_MAX_FULL_STR
prompt "Maximum Supported ESP32 Revision"
config ESP32_REV_MAX_FULL_STR_OPT
bool "Rev v3.99"
endchoice
# Maximum revision that IDF supports. # Maximum revision that IDF supports.
# It can not be changed by user. # It can not be changed by user.

View File

@@ -71,7 +71,11 @@ menu "ESP32C3-Specific"
# MAX Revision # MAX Revision
# #
comment "Maximum Supported ESP32-C3 Revision (Rev v0.99)" choice ESP32C3_REV_MAX_FULL_STR
prompt "Maximum Supported ESP32-C3 Revision"
config ESP32C3_REV_MAX_FULL_STR_OPT
bool "Rev v0.99"
endchoice
# Maximum revision that IDF supports. # Maximum revision that IDF supports.
# It can not be changed by user. # It can not be changed by user.

View File

@@ -28,7 +28,11 @@ menu "ESP32H2-Specific"
# MAX Revision # MAX Revision
# #
comment "Maximum Supported ESP32-H2 Revision (Rev v0.99)" choice ESP32H2_REV_MAX_FULL_STR
prompt "Maximum Supported ESP32-H2 Revision"
config ESP32H2_REV_MAX_FULL_STR_OPT
bool "Rev v0.99"
endchoice
# Maximum revision that IDF supports. # Maximum revision that IDF supports.
# It can not be changed by user. # It can not be changed by user.

View File

@@ -34,7 +34,11 @@ menu "ESP32S2-specific"
# MAX Revision # MAX Revision
# #
comment "Maximum Supported ESP32-S2 Revision (Rev v1.99)" choice ESP32S2_REV_MAX_FULL_STR
prompt "Maximum Supported ESP32-S2 Revision"
config ESP32S2_REV_MAX_FULL_STR_OPT
bool "Rev v1.99"
endchoice
# Maximum revision that IDF supports. # Maximum revision that IDF supports.
# It can not be changed by user. # It can not be changed by user.

View File

@@ -34,7 +34,11 @@ menu "ESP32S3-Specific"
# MAX Revision # MAX Revision
# #
comment "Maximum Supported ESP32-S3 Revision (Rev v0.99)" choice ESP32S3_REV_MAX_FULL_STR
prompt "Maximum Supported ESP32-S3 Revision"
config ESP32S3_REV_MAX_FULL_STR_OPT
bool "Rev v0.99"
endchoice
# Maximum revision that IDF supports. # Maximum revision that IDF supports.
# It can not be changed by user. # It can not be changed by user.