Great! looking forward to it!
erich
@erich
Posts made by erich
-
RE: IoT with M5Stack and UIFlow is now live!
Nice! Do you have any idea which topics you'd like to touch on for the next volumes?
-
RE: How to run LVGL on M5Stack
I'm struggling with edgline but just realized the code which is automatically generated is not compatible with LVGL 8.x, only version 7.
Looks like they have not updated the tools since a while, not even sure if they still want to maintain it.
I am going back to old school manual coding...I don't mind writing lines of code but I am bad at designing UIs and EdgeLine seemed to be my savior (but not anymore unfortunately) -
RE: How to run LVGL on M5Stack
Great, I'm glad it works for you!
I don't feel I did much to help but anyways here is my GH account: https://github.com/erich74
At the moment I juste have a couple of private reps but I am planning to add public stuff when I get more used to M5Stack devices as this is becoming my main development/iot device platform.
I will come back to this thread as I will probably need some help when I progress with my current project ;) -
RE: How to run LVGL on M5Stack
@macsbug you're right, I did mention using TFT_eSPI instead of M5.Lcd only for portability reason.
I would like to create a set of sample files that I can use with any display and not only with M5Stack devices. -
RE: How to run LVGL on M5Stack
Hi Pierre,
Sorry I don't feel I did much for you but my (real) work is really taking much of my time (even what is supposed to be my free time) and I wish I could have spent more time working this out with you.
In any case my offer still stands, I can help you building up a simple template with comments for people to get started.
I already spent much time on it and I believe I have understood all the basic concepts .
As already said, now i need to go one step further with event management.
Also I am quite used to code in C (this is the language I started with a loooong time ago) I am not an expert but at least I can understand the most of what I do :)
Btw a good platform that I have adopted now since several months is VSCode + PIO...Very neat combination! -
RE: How to run LVGL on M5Stack
Honestly I started off reading the LVGL online help and even though I am still learning I did not have much problem making the lib work on the Core2.
However I spent some significant time before understanding the whole concept (probably because I am getting too old :) ) and you seem to be way more experienced than me so you will make it work quickly :)My GitHub project is private (because it might end up being commercially used) but if you want I can extract the minimum code I used to display something if it can help and make it public.
By looking at the error (If I remember I got more or less the same) this looks like invalide pointer / memory allocation.
I realized that just initializing everything for LVGL to work is a real pain (when you've never played with it) but after you've understood the basic concepts it comes much clearer.
At this stage all basic things are working fine I am now moving on to Event management (button press, sliders move etc...).Btw you can also have a look at the EdgeLine application which is a kind of LVGL companion allowing you to WYSIWYG to C/Python code automatically for you. I am very bad at designing UIs so I am starting using it for my project and it can also help you understand the code which is generated.
-
RE: How to run LVGL on M5Stack
@got said in How to run LVGL on M5Stack:
lv_conf.h
btw as you've already guessed, you have to tweak the lvgl_conf.h file otherwise it won't probably work out of the box