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:
parent
892b25aece
commit
b7b03e5682
3 changed files with 10 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue