Absent tests for machine.lightsleep/deep sleep #18394
Unanswered
Josverl
asked this question in
Core Development
Replies: 3 comments 14 replies
|
Hardware tests are always a bit more complicated than pure software ones. And the test coverage is generally worse in hardware-related areas of MicroPython. Some basic tests around this would probably be very welcomed :) With the octoprobe stuffs we should have a decent way to run it? |
2 replies
|
I don't know if these are useful to you. If you're interested, take a look at https://github.com/shariltumin/wake_on_pin-esp32_sleep-micropython |
5 replies
I'd start by just being able to run it with a device attached, then octoprobe could bring that to CI level. |
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I was working in a small project over the weekend where power consumption mattered.
Using an ESP32-C3 , with a custom fw.built I was having problems with waking on an interrupt.
To try to dissect the problem, I went looking for a MicroPython
/testthat validated the correct working of either method.To my surprise I found none. That seems to be an omission that should be addressed, also given the substantial number of questions and issues raised on these topics.
Is there a rationale for this?
Is it too complex to handle the usb events in bash ? Or that special wiring may be needed to test this?
All reactions