我想在lvgl上跑更多的内容,编译时ISRAM显示不足,我加装了psram后,#define USE_PSRAM 置1后,请问应该如何修改lvgl使其在利用psram的资源运行?
查看更多
You don't need to do anything. Examine the code in the lv_port_disp.c file. When the USE_PSRAM parameter is enabled, memory for buffering is initialized in the lv_port_disp_init() function. You can play with the buffer size there
发布 问题
分享 好友
手机 浏览
回到 顶部
May I ask how to operate it? When I compile, it keeps showing 'I-SRAM' overflowed by 695688 bytes'
@leiyu You can get an executable file linking error for any other reason. This is not necessarily related to LVGL. To determine the problem, use the elimination method. When designing GUI applications based on LVGL, I use this approach: First of all, I launch LVGL support and run the any heaviest test from the example folder. Having achieved stable operation of the GUI, I add the necessary functions to complete the main task.
Remove all the unnecessary stuff from your project and get the GUI working correctly to begin with