feat(sdmmc): add support for PSRAM DMA on ESP32-P4

This commit is contained in:
Ivan Grokhotkov
2024-04-04 17:04:01 +02:00
parent e0cb43b9ab
commit 49b4bc175e
9 changed files with 101 additions and 44 deletions

View File

@@ -1011,6 +1011,10 @@ config SOC_SDMMC_IO_POWER_EXTERNAL
bool
default y
config SOC_SDMMC_PSRAM_DMA_CAPABLE
bool
default y
config SOC_SHA_DMA_MAX_BUFFER_SIZE
int
default 3968

View File

@@ -407,6 +407,7 @@
/* Supported host clock delay phase number */
#define SOC_SDMMC_DELAY_PHASE_NUM 4
#define SOC_SDMMC_IO_POWER_EXTERNAL 1 ///< SDMMC IO power controlled by external power supply
#define SOC_SDMMC_PSRAM_DMA_CAPABLE 1 ///< SDMMC peripheral can do DMA transfer to/from PSRAM
// TODO: IDF-5353 (Copy from esp32c3, need check)
/*--------------------------- SHA CAPS ---------------------------------------*/