soc: esp32: kconfig: add unsupported revision config

ESP32 SoC has multiple revisions, some of which are not supported
by the current implementation, as such as REV0 and REV1. This PR
adds an option to indicate user that this is not recommended and not
supported.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
Sylvio Alves 2024-08-20 14:30:40 -03:00 committed by Anas Nashif
commit b7b03e5682
3 changed files with 10 additions and 1 deletions

View file

@ -7,6 +7,14 @@ config FLASH_SIZE
config FLASH_BASE_ADDRESS
hex
config ESP32_USE_UNSUPPORTED_REVISION
bool "Use unsupported ESP32 revision (Rev 0/1)"
help
ESP32 SoC has multiple revisions, some of which are not supported by the current
implementation, as such as REV0 and REV1. In case those revisions are required,
set this option to enable support for them. Note that this is not recommended and
may lead to unexpected behavior.
rsource "Kconfig.spiram"
rsource "Kconfig.esptool"
rsource "Kconfig.flash"

View file

@ -6,6 +6,7 @@ if SOC_SERIES_ESP32 || SOC_SERIES_ESP32S2 || SOC_SERIES_ESP32S3
config ESP_SPIRAM
bool "Support for external, SPI-connected RAM"
default n if MCUBOOT
default n if ESP32_USE_UNSUPPORTED_REVISION && SOC_SERIES_ESP32
help
This enables support for an external SPI RAM chip, connected in
parallel with the main SPI flash chip.