Large GIF eats to much RAM, want to use External PSRAM


I have a 5 second GIF that’s 320x480 in size, it’s to large for the RAM of my Teensy.
Trying to load it just crashes the device. If I use a small gif like the lamp example in the documentation, it works fine. The PSRAM I have is a total of 16 megabytes.

What MCU/Processor/Board and compiler are you using?

Teensy Micromod

What LVGL version are you using?


What do you want to achieve?

Running large size gif’s using PSRAM

What have you tried so far?

Played a little with the LV_MEM_SIZE but I can’t seem to go higher then 128U or the device wont start.

Switch lvconf memory alloc to custom