Просмотр исходного кода

psram: add quad mode kconfig macro on 32/s2

Armando 3 лет назад
Родитель
Сommit
591d45151d
2 измененных файлов с 8 добавлено и 0 удалено
  1. 4 0
      components/esp32/Kconfig
  2. 4 0
      components/esp32s2/Kconfig

+ 4 - 0
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

+ 4 - 0
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