Beginner questions: How i use your lvgl_micropython on ESP32 S2 mini with ili9341 #75
Replies: 12 comments 28 replies
-
You don't manage anything... It's all done internally in the build script for you... It's as easy as cloning the repo and compiling. You need to have a C compiler installed. git clone https://github.com/kdschlosser/lvgl_micropython
cd lvgl_micropython
python3 make.py esp32 submodules mpy_cross clean BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT --flash-size=32 --oct-flash DISPLAY=ili9341 INDEV=gt911 As an example. It will handle collecting MicroPython, LVGL and the ESP-IDF. It will set everything up and compile. You will need to have GCC, CMake, Ninja, Make, Git and Python 3.10+ installed prior to running the build script. |
Beta Was this translation helpful? Give feedback.
-
Sorry, is me again 😅 I build now the firmware (is easy). And I flashed my esp32 s2 mini. Can only connect to it, when I press 0 while plug it in.... And can you provide an example lvgl? How I make now a display design with buttons, widgets and so things? Greetings |
Beta Was this translation helpful? Give feedback.
-
Provide me a link to the actual board that you bought. I will look up the information about in on their website and get the information needed to get you up and running. |
Beta Was this translation helpful? Give feedback.
-
now i can not build it anymore. Why the make.py want to flash it???? ahhhhh |
Beta Was this translation helpful? Give feedback.
-
if you run these commands it will flash. The build did succeed omnly the joining of the binary files into a single binary file failed...
replacing "{PORT}" with the port your ESP32 is attached to. |
Beta Was this translation helpful? Give feedback.
-
hahahahhaaaa 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 |
Beta Was this translation helpful? Give feedback.
-
what lvgl version do you use in this project? |
Beta Was this translation helpful? Give feedback.
-
@kdschlosser do you know SquareLine Studio? |
Beta Was this translation helpful? Give feedback.
-
don't use squareline studio it doesn't write correct code for use with this binding. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/fabse-hack/temp_humidity_micropython_lvgl/tree/main is runable, but not yet finish :D and i don't know if it's 100% correct. I call the lv.task_handler() a few times in some "while True" loops. still have some questions, for exmaple: How i set the touch pins? |
Beta Was this translation helpful? Give feedback.
-
what is the model of your touch IC? |
Beta Was this translation helpful? Give feedback.
-
finish my project: https://github.com/fabse-hack/temp_humidity_micropython_lvgl ... is a display for temperature & humidity, with time and MQTT. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Yes, i read already your repo and your instructions how to build it.
i had some (beginner) questions:
here i manage the submodules?
https://github.com/kdschlosser/lvgl_micropython/blob/main/.gitmodules
for example: micropython, it automatic get the newest micropython rom from git? or i have to download my specific micropython version for the build?
How i config the hardware pins from the s2 mini to the ili9431 ? for example: pin8 go to CS ?
Can i use the square line studio (lvgl) for make an graphical design?
how is the process for using lvgl with your tool on my esp32 + display?
i thing lvgl is a very big tool for future projects, but right now, there are not many projects out there....
Beta Was this translation helpful? Give feedback.
All reactions