PSRAM ESP32 (esp idf)
Posted: Fri Nov 27, 2020 4:58 pm
hi everyone ,
i work in application application esp32 framework esp idf V4.1 and module WROVER-B, i use LVGL library in my code
https://github.com/lvgl/lv_port_esp32
its use a lot of STATIC DRAM and ISRAM ( 2 buffer 40Kbytes for each ) so iam a 90% of my DRAM
using external PSRAM we have 3 option :
1-Integrate RAM into the ESP32 memory map
2-Add external RAM to the capability allocator
3-Provide external RAM via malloc() (default)
for the first one is good but i need do all management of the external SPI RAM: coordinating buffer usage, preventing corruption, etc.
so iam using 3rd option i add 4mo ram in malloc that work good but i dont know if can use it at same time to store static buffer like 80Kbyte and it will free some internal ram .... and what is fonction used for static variable
best regard ,
i work in application application esp32 framework esp idf V4.1 and module WROVER-B, i use LVGL library in my code
https://github.com/lvgl/lv_port_esp32
its use a lot of STATIC DRAM and ISRAM ( 2 buffer 40Kbytes for each ) so iam a 90% of my DRAM
using external PSRAM we have 3 option :
1-Integrate RAM into the ESP32 memory map
2-Add external RAM to the capability allocator
3-Provide external RAM via malloc() (default)
for the first one is good but i need do all management of the external SPI RAM: coordinating buffer usage, preventing corruption, etc.
so iam using 3rd option i add 4mo ram in malloc that work good but i dont know if can use it at same time to store static buffer like 80Kbyte and it will free some internal ram .... and what is fonction used for static variable
best regard ,