gustavonihei commented on a change in pull request #5827:
URL: https://github.com/apache/incubator-nuttx/pull/5827#discussion_r836792996



##########
File path: arch/xtensa/src/esp32s2/Kconfig
##########
@@ -442,6 +448,96 @@ endif
 
 endmenu # SPI Flash Configuration
 
+menu "SPI RAM Configuration"
+       depends on ESP32S2_SPIRAM
+
+config ESP32S2_DEFAULT_PSRAM_CLK_IO
+       int "PSRAM CLK pin"
+       default 30
+
+config ESP32S2_DEFAULT_PSRAM_CS_IO
+       int "PSRAM CS pin"
+       default 26
+
+choice ESP32S2_SPIRAM_TYPE
+       prompt "Type of SPI RAM chip in use"
+       default ESP32S2_SPIRAM_TYPE_AUTO
+
+config ESP32S2_SPIRAM_TYPE_AUTO
+       bool "Auto-detect"
+
+config ESP32S2_SPIRAM_TYPE_ESPPSRAM32
+       bool "ESP-PSRAM32 or IS25WP032"
+
+config ESP32S2_SPIRAM_TYPE_ESPPSRAM64
+       bool "ESP-PSRAM64 or LY68L6400"
+endchoice #ESP32S2_SPIRAM_TYPE

Review comment:
       ```suggestion
        bool "ESP-PSRAM64 or LY68L6400"
   
   endchoice # ESP32S2_SPIRAM_TYPE
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to