id:GUI-Guider Environment
• Tool: GUI Guider 1.10.1
• Target board: RT1170-EVKB, RK055HDMIPI4M 720x1280 MIPI panel
• Graphics library: LVGL8
• Working variant: Coffee Pour demo (fully working)
• Appliance demo (8-bit RGB332 works)
Failing variant:
• Appliance demo (16-bit RGB565)
Issue Description
When attempting to build and flash the 16-bit (RGB565) version of the Appliance demo, the build fails at the linker stage due to a memory overflow in .bss section.
Error Details
• Section overflow: .bss does not fit in m_data
• Overflow size: ~5.13 MB (≈ 5,382,464 bytes)
The issue appears to be related to increased memory usage when moving from 8-bit to 16-bit colour depth:
Framebuffer size likely doubles
LVGL draw buffers + possible double buffering increase .bss usage
Combined memory exceeds available m_data region defined in linker script
ASK: Looking for guidance on whether this configuration is expected to work or if there are recommended memory optimizations for LVGL in GUI Guider.
Hello migb2720,
For the RT1170EVKB, all image resources are eventually linked to SDRAM. The issue you encountered is caused by insufficient SDRAM space. You can adjust the application heap size to free up more available SDRAM space. May I ask which toolchain you are using?
Best Regards
Zongchun