LVGL_Micropython build for Waveshare ESP32-S3 3.5 inch
2025-10-17

https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-3.5
There are two versions of hardware

git clone https://github.com/lvgl-micropython/lvgl_micropython.git
cd lvgl_micropython
# git checkout 15a414bc03486017235234882ce7415532c6325e
docker run -it -v .:/micropython --name micropython ubuntu
apt-get update
export DEBIAN_FRONTEND=noninteractive
apt-get install -y gcc g++ make automake python3 git gcc-arm-none-eabi libusb-1.0-0 python3-venv python3-click python3-yaml cmake vim
ln -s /usr/bin/python3 /usr/bin/python
cd /micropython
# old hardware version: waveshare 3.5
python3 make.py esp32 clean \
--flash-size=16 \
BOARD=ESP32_GENERIC_S3 \
BOARD_VARIANT=SPIRAM_OCT \
DISPLAY=ST7796 \
INDEV=ft6x36
# new hardware version: waveshare 3.5b
python3 make.py esp32 clean \
--flash-size=16 \
BOARD=ESP32_GENERIC_S3 \
BOARD_VARIANT=SPIRAM_OCT \
DISPLAY=axs15231b \
INDEV=axs15231
exit docker
esptool.py --chip esp32s3 -b 460800 \
--before default_reset \
--after hard_reset write_flash \
--flash_mode dio \
--flash_size 16MB \
--flash_freq 80m \
--erase-all 0x0 \
build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin