If you are asking a question, please follow this template:
- My goal is: [I want to access external 8MB PSRAM in ESP32 using Moongose os]
- My actions are: [i am Interfacing ESP32 dev board with external PSRAM with same(DI/DO) spi pins as Flash interface]
- The result I see is: [i didn’t get access of PSRAM, It shows only 512kb ram ]
- My expectation & question is: [please let me know what changes I should do in mos.yml file]
nliviu
2
I’m using the D32 Pro board with 8MB of PSRAM (and 16MB flash) with the following settings in mos.yml
build_vars:
# enable 16MB flash size + PSRAM
ESP_IDF_SDKCONFIG_OPTS: >
${build_vars.ESP_IDF_SDKCONFIG_OPTS}
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
CONFIG_ESPTOOLPY_FLASHSIZE=16MB
CONFIG_SPIRAM_SUPPORT=y
CONFIG_SPIRAM_BOOT_INIT=y
CONFIG_SPIRAM_CACHE_WORKAROUND=y
CONFIG_SPI_MASTER_IN_IRAM=y
Credits go to @mamuesp who was the first in this community to use a board with 16MB flash+PSRAM (ODROID-GO). Search for PSRAM here.
These boards are using a WROVER module
2 Likes