我想在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