-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME
35 lines (23 loc) · 1.75 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Modified to work with the Squareline Studio Beta 1.1.0 beta1
(although it may work with the current stable 1.0.5 (with lvgl8 export) as well)
******** NOTE IN ORDER TO GET A SUCESSFUL COMPILE ON PLATFORMIO, YOU MUST DO A FEW THINGS****************************************
1) copy the lv_conf.h from the src folder into the .pio/libdeps/lvgl folder (you have to do this since the lvgl library is pulled from github)
2) edit the .pio/libdeps/lvgl/src/misc/lv_conf_internal.h and change the line like so:
#elif defined(LV_CONF_INCLUDE_SIMPLE) /*Or simply include lv_conf.h is enabled*/
#include "lv_conf.h"
#else
#include "lv_conf.h" //(prior to that this line had "../../lv_conf.h" remove the ../../)//
#endif
*********************************************************************************************************************************
(Somone smarter than me will figure out how to fix this, im not a coding expert!!!)
I have included a basic interface that I am creating to test with .
If you set your export directory in squareline to the src directory of this porject you can edit your UI and export then rebuild the Platformio project.
Finally uploading to the M5Stack COre2 Device.
Still a work in progress, but thought it may help a few folks out there looking for a starting point.
Im hoping that my hours of aggrivation figuring it out will help someone like me that was beating their head up against the wall!!
ORIGINAL TEXT -
LVGL example for M5Stack Core2, Arduino and platformio
taken from:
https://forum.m5stack.com/topic/3613/how-to-run-lvgl-on-m5stack
https://macsbug.wordpress.com/2021/07/05/co2-monitor-with-m5stack-and-lvgl/
https://macsbug.wordpress.com/2021/07/03/lvgl-with-m5stack-part-2/