kconfigs: Fix config issues raised by gen_kconfig_doc.py

This commit is contained in:
KonstantinKondrashov 2023-02-25 16:27:42 +08:00
parent 57bd6979a4
commit 017aa5acd6
5 changed files with 46 additions and 21 deletions

View File

@ -400,11 +400,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
depends on SECURE_ESP32_SUPPORTS_RSA || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32C3
config SECURE_TARGET_HAS_SECURE_ROM_DL_MODE
bool

View File

@ -61,11 +61,16 @@ menu "ESP32-specific"
# MAX Revision
#
comment "Maximum Supported ESP32 Revision (Rev v3.99)"
# 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
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
config ESP32_REV_MAX_FULL
int

View File

@ -71,11 +71,16 @@ menu "ESP32C3-Specific"
# MAX Revision
#
comment "Maximum Supported ESP32-C3 Revision (Rev v0.99)"
# 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
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
config ESP32C3_REV_MAX_FULL
int

View File

@ -34,11 +34,16 @@ menu "ESP32S2-specific"
# MAX Revision
#
comment "Maximum Supported ESP32-S2 Revision (Rev v1.99)"
# 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
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
config ESP32S2_REV_MAX_FULL
int

View File

@ -34,11 +34,16 @@ menu "ESP32S3-Specific"
# MAX Revision
#
comment "Maximum Supported ESP32-S3 Revision (Rev v0.99)"
# 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
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
config ESP32S3_REV_MAX_FULL
int