This is a fork of the official version of the micropython v1.12 with bluetooth support.
This micropython fork is SPECIALLY sharpened and designed for LilyGO TTGO T-Watch-2020-V1 watches.
Other TTGO watch models are not supported!
-
bma423
- Low-g driver acceleration sensor.
Written in C by lewisxhe.
Was taken from here -
pcf8563
- Real-time clock/calendar driver.
Written in Python by lewisxhe.
Was taken from here -
lvgl
- Popular embedded graphics library.
Written in C. -
ft6x36
- Touch screen driver.
Written in C.
Was taken from here. -
AXP202
- Advanced multi-channel power management chip driver.
Written in Python.
Updated to latest version by Anodev.
Was taken from here. -
st7789_lvgl
- Display driver.
Written in C.
Was taken from here. -
ttgo
- Port of the official library for LilyGo TTGO watches.
Written in Python by Anodev. -
ir
- Driver for ir sender.
Written in C.
Was taken from here.
Examples of using these libraries are located in the
examples/ttgo/
folder
For api lookports/esp32/boards/LILYGO_T_WATCH_2020_V1
folder
- ESP-IDF - 4.0
- Micropython - 1.12
- lvgl - 7.*
See the
latest
branch for the latest micropython version.
Please set ESPIDF
parameter for the esp-idf install dir.
It needs to match Micropython expected esp-idf, otherwise a warning will be displayed (and build will probably fail)
For more details refer to Setting up the toolchain and ESP-IDF
For more details please refer to Micropython ESP32 README.
- Install all important libraries via
sudo apt-get install build-essential libreadline-dev libffi-dev git pkg-config libsdl2-2.0-0 libsdl2-dev python
- Clone this repo via
git clone https://github.com/OPHoperHPO/lilygo-ttgo-twatch-2020-micropython
- Clone all submodules via
git submodule update --init --recursive
- Configure esp-idf and toolchain
- Edit paths to esp-idf and toolchain in
makefile
inports/esp32
- Build mpy-cross via
make -C mpy-cross
- Build micropython and flash it via
make -C ports/esp32 deploy
You can thank me for developing any of my projects, provide financial support for developing new projects and buy me a small cup of coffee.☕
Just support me on these platforms:
- Micropython README
- LVGL docs
- LilyGo TTGO T-Watch-2020-V1 pinmap
- Official LilyGo TTGO T-Watch-2020-V1 arduino library
- Official LilyGo docs