soc: esp32: spiram: add ECC config

Adds ECC feature to be enabled for esp32s3 SoC.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
Sylvio Alves 2024-04-16 11:53:04 -03:00 committed by Carles Cufí
parent 7d4b6c6306
commit 9153f70da1
1 changed files with 8 additions and 0 deletions

View File

@ -141,6 +141,14 @@ config SPIRAM_RODATA
can forgo being placed in IRAM, thus optimizing RAM usage (see External RAM documentation
for more details).
config SPIRAM_ECC_ENABLE
bool "Allow enabling SPI RAM ECC"
default n
depends on SPIRAM_MODE_OCT && SOC_SERIES_ESP32S3
help
Enable MSPI Error-Correcting Code function when accessing SPIRAM.
If enabled, 1/16 of the SPI RAM total size will be reserved for error-correcting code.
if SOC_SERIES_ESP32
menu "PSRAM clock and cs IO for ESP32-DOWD"