After getting the ebike demo up and running on this board.
I switched the SLS Project settings to “VS for development on PC”
changed the LVGL version to 9.2.2
Exported the UI files
forced ESP-IDF to LVGL v9.2.2
When it compiles, I get this error:
E:/path/ebike_demo/main/ui/ui.h:13:10: fatal error: lvgl/lvgl.h: No such file or directory
13 | #include “lvgl/lvgl.h”
There are two lvgl.h files in the lvgl_lvgl component. I changed the parth in ui.h to: #include “lvgl.h”
It compiled.
Is this error in the include path a bug?
Though it compiled, it crashed when executed on the target board:
Guru Meditation Error: Core 0 panic’ed (StoreProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x4201b50f PS : 0x00060830 A0 : 0x8201c42d A1 : 0x3fcb8570
— 0x4201b50f: lv_draw_add_task at E:/path/ebike_demo/managed_components/lvgl__lvgl/src/draw/lv_draw.c:95
…
— Error: ClearCommError failed (PermissionError(13, ‘Access is denied.’, None, 5))
Its not clear where the incompatibility is.
ESP-IDF is pulling in LVGL 9.2.2
SLS is generating LVGL 9.2.2
The espressif LVGL_Port component is LVGL 9 compatible
I tired version LVGL 9.1.0; same fault