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
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
bool
default y
# 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
bool

View File

@@ -61,12 +61,16 @@ menu "ESP32-specific"
# 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.
# It can not be changed by user.
# Only Espressif can change it when a new version will be supported in IDF.
# Supports all chips starting from ESP32_REV_MIN_FULL to ESP32_REV_MAX_FULL
# Maximum revision that IDF supports.
# It can not be changed by user.
# Only Espressif can change it when a new version will be supported in IDF.
# Supports all chips starting from ESP32_REV_MIN_FULL to ESP32_REV_MAX_FULL
config ESP32_REV_MAX_FULL
int

View File

@@ -71,12 +71,16 @@ menu "ESP32C3-Specific"
# 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.
# It can not be changed by user.
# Only Espressif can change it when a new version will be supported in IDF.
# Supports all chips starting from ESP32C3_REV_MIN_FULL to ESP32C3_REV_MAX_FULL
# Maximum revision that IDF supports.
# It can not be changed by user.
# Only Espressif can change it when a new version will be supported in IDF.
# Supports all chips starting from ESP32C3_REV_MIN_FULL to ESP32C3_REV_MAX_FULL
config ESP32C3_REV_MAX_FULL
int

View File

@@ -28,12 +28,16 @@ menu "ESP32H2-Specific"
# 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.
# It can not be changed by user.
# Only Espressif can change it when a new version will be supported in IDF.
# Supports all chips starting from ESP32H2_REV_MIN_FULL to ESP32H2_REV_MAX_FULL
# Maximum revision that IDF supports.
# It can not be changed by user.
# Only Espressif can change it when a new version will be supported in IDF.
# Supports all chips starting from ESP32H2_REV_MIN_FULL to ESP32H2_REV_MAX_FULL
config ESP32H2_REV_MAX_FULL
int

View File

@@ -34,12 +34,16 @@ menu "ESP32S2-specific"
# 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.
# It can not be changed by user.
# Only Espressif can change it when a new version will be supported in IDF.
# Supports all chips starting from ESP32S2_REV_MIN_FULL to ESP32S2_REV_MAX_FULL
# Maximum revision that IDF supports.
# It can not be changed by user.
# Only Espressif can change it when a new version will be supported in IDF.
# Supports all chips starting from ESP32S2_REV_MIN_FULL to ESP32S2_REV_MAX_FULL
config ESP32S2_REV_MAX_FULL
int

View File

@@ -34,12 +34,16 @@ menu "ESP32S3-Specific"
# 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.
# It can not be changed by user.
# Only Espressif can change it when a new version will be supported in IDF.
# Supports all chips starting from ESP32S3_REV_MIN_FULL to ESP32S3_REV_MAX_FULL
# Maximum revision that IDF supports.
# It can not be changed by user.
# Only Espressif can change it when a new version will be supported in IDF.
# Supports all chips starting from ESP32S3_REV_MIN_FULL to ESP32S3_REV_MAX_FULL
config ESP32S3_REV_MAX_FULL
int