Looking to install Micropython with LVGL support on TTGO T-Display

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
spierepf
Posts: 22
Joined: Mon Jul 08, 2019 3:22 pm

Looking to install Micropython with LVGL support on TTGO T-Display

Post by spierepf » Mon Jul 26, 2021 10:35 am

Has anyone managed to do it? If so, are there any good docs floating around?

I found this one Instructable that talks about installing the loboris port (https://www.instructables.com/Installin ... P32-With-/) but that port hasn't seen any activity in a few years...

Cheers!

Peter.

spierepf
Posts: 22
Joined: Mon Jul 08, 2019 3:22 pm

Re: Looking to install Micropython with LVGL support on TTGO T-Display

Post by spierepf » Mon Jul 26, 2021 3:43 pm

Managed to get something to build and install:

Code: Select all

apt-get update
export DEBIAN_FRONTEND=noninteractive && apt-get install -yq build-essential libreadline-dev libffi-dev git pkg-config libsdl2-2.0-0 libsdl2-dev python3.8 python3-pip libusb-1.0 cmake
pushd /usr/bin/ && ln -s python3.8 python && popd
git clone -b v4.2 --recursive https://github.com/espressif/esp-idf.git
cd /esp-idf/
./install.sh 
. ./export.sh
cd /
git clone --recurse-submodules https://github.com/lvgl/lv_micropython.git
cd lv_micropython
make -C mpy-cross
make -C ports/esp32 deploy
Just need to find the ST7789V equivalent of:

Code: Select all

from ili9341 import ili9341
disp = ili9341()

User avatar
russ_h
Posts: 88
Joined: Thu Oct 03, 2019 2:26 am
Contact:

Re: Looking to install Micropython with LVGL support on TTGO T-Display

Post by russ_h » Sat Aug 28, 2021 2:17 am

Give this a try if you are still looking for a LVGL driver https://github.com/russhughes/lv_st7789

Post Reply