From 591d45151d1cebd088f347c681b95ed89f0d24ba Mon Sep 17 00:00:00 2001 From: Armando Date: Thu, 12 May 2022 21:36:18 +0800 Subject: [PATCH] psram: add quad mode kconfig macro on 32/s2 --- components/esp32/Kconfig | 4 ++++ components/esp32s2/Kconfig | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/components/esp32/Kconfig b/components/esp32/Kconfig index 060c642c0d..f7a2eb6f60 100644 --- a/components/esp32/Kconfig +++ b/components/esp32/Kconfig @@ -26,6 +26,10 @@ menu "ESP32-specific" menu "SPI RAM config" depends on ESP32_SPIRAM_SUPPORT + config SPIRAM_MODE_QUAD + bool + default "y" + choice SPIRAM_TYPE prompt "Type of SPI RAM chip in use" default SPIRAM_TYPE_AUTO diff --git a/components/esp32s2/Kconfig b/components/esp32s2/Kconfig index cd25430a01..88ef07510f 100644 --- a/components/esp32s2/Kconfig +++ b/components/esp32s2/Kconfig @@ -97,6 +97,10 @@ menu "ESP32S2-specific" bool default "y" + config SPIRAM_MODE_QUAD + bool + default "y" + choice SPIRAM_TYPE prompt "Type of SPI RAM chip in use" default SPIRAM_TYPE_AUTO