How to get LVGL to use PSRAM on ESP32 arduino

Hey guys,

As per title, I’ve been trying to figure out how to get LVGL to use the PSRAM on my esp32-wrover, but after hours of searching, I can’t seem to find any articles or advice on how to accomplish it!

Any help would be much appreciated!

Thanks,
Not-the-messiah

Could you solve the problem?

what do u want to store in external psram? videobuffer? objects?

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/external-ram.html
check this link.
there is 2 solutions i think that would work

  1. setup memory mapping for entire esp32 (as described in espressif appnote)
  2. add some sort of HAL that will use ur custom alloc,malloc methods and will handle read write operations from/to external ram and force lvgl to use them by defining them in configuration file.