Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lightsleep / deepsleep KO with TTGO #1

Open
picpic020960 opened this issue Feb 23, 2021 · 4 comments
Open

lightsleep / deepsleep KO with TTGO #1

picpic020960 opened this issue Feb 23, 2021 · 4 comments

Comments

@picpic020960
Copy link

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
Copy link
Owner

uraich commented Feb 23, 2021

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
Copy link

Would be very welcome

@uraich
Copy link
Owner

uraich commented Jul 13, 2021

A lot has changed in the meantime:

  • micropython has changed its build system from make to cmake
  • lvgl has switched to V8
  • there were a lot of changes in lv_bindings

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
Copy link

Currently not. Maybe soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants