Having many languages using the i18n library eats allot of ram. Many languages have unique characters and that also adds to the fact.
I use a Teensy and so I can store the glyph_bitmap in PROGMEM, this saves allot of RAM.
But for every language added it eats 7 - 10kb of RAM and I am not sure exactly why.
My guess is that the actual glyphs are stored in PROGMEM but when they load to be displayed by LVGL they do so in RAM.
I’d like to use EXTMEM, which is actually PSRAM that I have 16MByte of on my board. So plenty of space to use.
The main issue with EXTMEM is that it’s somewhat limited.
You must declare the variable as EXTMEM outside a function and then have a function populate the variable.
Example:
EXTMEM uint8_t test;
void func() {
test = 0x03;
}
I am also thinking that maybe LVGL has some sort of buffer somewhere that is put into RAM, that buffer could be put in EXTMEM instead and save RAM.
The display buffer is already in DMAMEM.
Any ideas or solutions out there?
Thanks!