enable SPIRAM support on muselab nanoESP32S2 board

This commit is contained in:
Eric Rong 2022-03-24 16:46:13 -07:00
parent 8ebab7625e
commit 7ad6fa8df5

View File

@ -1,4 +1,25 @@
# CONFIG_ESP32S2_SPIRAM_SUPPORT is not set
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
#
# SPI RAM config
#
CONFIG_SPIRAM_TYPE_ESPPSRAM16=y
CONFIG_SPIRAM_SIZE=2097152
# end of SPI RAM config
#
# PSRAM clock and cs IO for ESP32S2
#
CONFIG_DEFAULT_PSRAM_CLK_IO=30
CONFIG_DEFAULT_PSRAM_CS_IO=26
# end of PSRAM clock and cs IO for ESP32S2
CONFIG_SPIRAM_SPEED_40M=y
CONFIG_SPIRAM=y
CONFIG_SPIRAM_BOOT_INIT=y
CONFIG_SPIRAM_USE_MEMMAP=y
CONFIG_SPIRAM_MEMTEST=y
#
# LWIP
#