Absent tests for machine.lightsleep/deep sleep #18394
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? |
Beta Was this translation helpful? Give feedback.
-
|
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 |
Beta Was this translation helpful? Give feedback.
-
I'd start by just being able to run it with a device attached, then octoprobe could bring that to CI level. |
Beta Was this translation helpful? Give feedback.
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?
Beta Was this translation helpful? Give feedback.
All reactions