This is a template project for WT32-SC01 board for LVGL UI development.
You can compile this project as is without the UI files. Do this to ensure you have the correct display and lvgl settings.
Default build environment is wt32-sc01-plus
With SquareLine studio you can create ui using drag and drop. The source code can be exported for use on the hardware.
- Don't use
-
in the project name - Resolution
320 480
for portrait or480 320
for landscape - Color depth
16 bit swap
- Export the UI files from SquareLine to
src/ui/
folder - In
include/main.h
, uncomment the line// #define USE_UI
to use the exported UI files - In
src/ui/ui.h
, change#include "lvgl/lvgl.h"
to#include "lvgl.h"