uraich / twatch-2020-micropython

micropython on the lilygo t-watch 2020
MIT License
4 stars 1 forks source link

lightsleep / deepsleep KO with TTGO #1

Open picpic020960 opened 3 years ago

picpic020960 commented 3 years ago

Bonjour ,

[micropython + lvgl = good]

test axp202_pek_sleep.py one shoot OK when try repeatedly , deepsleep wake up with button but with unlimited vibrator. lightsleep with delay : delay expected 5-6 seconds only

I use the firmware.bin while no success with build

how to debug or workaround ? thanks for help

and Regards

uraich commented 3 years ago

Bonjour, The axp202 driver comes from https://github.com/OPHoperHPO/lilygo-ttgo-twatch-2020-micropython and I have not really tested it myself (or just started to do so) Currently there is a major change in the build system for micropython, switching from make to cmake and user C-modules needed by lv_micropython are not supported yet. For this reason I prefer to wait until this problem is solved, before producing a new t-watch version. The firmware.bin was produced with the old version. Currently I am working on a port of lv_demo_printer from C to Python but I will come back to the t-watch soon.

twister077 commented 3 years ago

Would be very welcome

uraich commented 3 years ago

A lot has changed in the meantime:

The first thing that needs to be done is a re-write of the build scripts for the TWatch. Unfortunately, I am all but an expert in cmake, but I will give it a try anyway. Maybe you know more about cmake and give me a hand?

twister077 commented 3 years ago

Currently not. Maybe soon