Pic24 96% memory

Is there something I’m missing? I thought LVGL was lightweight?
Why am I using 96% memory on a PIC 24?


Please add more details:

  • Exactly which PIC24?
  • 96% RAM or flash? What is the 100%?
  • How does your lv_conf.h looks like?

Additionally, what is your display buffer size and heap size?

So it has ~20kB flash.
See the requirements: https://docs.lvgl.io/latest/en/html/intro/index.html#requirements

this pic should have 128K


From my experience, 8K RAM is very tight. I tried my application with a 20KB STM32F103 and couldn’t fit it. Now am using a 96K STM32F401CE and it fits nicely.