Replies: 3 comments 7 replies
-
OK I added an automatic build file for you to be able to get up and running pretty quickly. You need to clone the repo again
you need to make sure that you have the toml library installed into python 3. this only needs to be done a single time...
next is to run the build
That should compile. Use the instructions for flashing the ESP32 that are output to the console once the compilation has finished. Once you have the firmware flashed you will need to use a mpremote or a python library called ampy to connect to the ESP32 to be able to upload files to it. You want to upload your script as a file named "main.py". In that script you want the following code. import display
import lvgl as lv
slider = lv.slider(lv.screen_active())
slider.center() once you upload the file reboot the board and the screen should come up and a slider should be displayed. If you do not see the slider let me know. You should also be able to touch the screen and move the slider. If that doesn't work or it doesn't work properly let me know. |
Beta Was this translation helpful? Give feedback.
-
Hi Kevin, I did a bit of a manual git bisection, and the last commit that gives me a REPL I can connect to is 0999246 ("Fixes RGB rotation..", 2025-06-12). With that I can get the display and touch screen working, which is fantastic, but of course I'm missing some of the newer changes you have done in the code since then. Happy to test any changes that would get it working again with the current codebase. |
Beta Was this translation helpful? Give feedback.
-
Just to fill in some details, working with the commit 0999246 ("Fixes RGB rotation..", 2025-06-12). Running a build with Octal SPIRAM:
Running a build without Octal SPIRAM:
which is not really enough memory to do anything. Will do some more testing over the next few days to try and work out the exact line that causes my board conniptions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having trouble getting a working build for the Waveshare ESP32-S3-Touch-LCD-4.3B.
I figured it would be very similar to the Waveshare ESP32-S3-Touch-LCD-4.3, and have read through discussion #142, but still seem stuck.
I can flash and run the vanilla micropython build - ESP32_GENERIC_S3-SPIRAM_OCT-20250415-v1.25.0.bin and connect to the repl with mpremote, and see the 8MB of ram.
I can build lvgl_micropython with:
python3 make.py esp32 BOARD=ESP32_GENERIC_S3 DISPLAY=rgb_display INDEV=gt911
and that works and I can get a repl, but I don't have access to the SPIRAM in that case and don't have enough ram to actually do anything.
If I build with:
python3 make.py esp32 BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=rgb_display INDEV=gt911
then I am unable to connect, or at least I don't get a repl.
I'm running on Ubuntu 24.04, and connecting via a USB-C cable.
Been programming in Python for years, but I'm completely new to micro-controlers.
Any advice on how to proceed or diagnose what the issue is would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions