Repository navigation
Conversation
Signed-off-by: Francois Gervais <[email protected]>
Author
|
Anybody know why it fails in ESP-IDFv4? |
Author
|
Ok looks good now |
tannewt
pushed a commit
to tannewt/circuitpython
that referenced
this pull request
May 23, 2022
…-main Merge 7.3.0 rc.2 to main
Contributor
|
This is an automated heads-up that we've just merged a Pull Request See #13763 A search suggests this PR might apply the STATIC macro to some C code. If it Although this is an automated message, feel free to @-reply to me directly if |
Member
|
Sorry no one every got to review this. It's now outdated, these functions are legacy in the IDF. Also, the functionality should be added to the So I'll close this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The esp32 can enter deep sleep and use really little current. For example on the tinypico board I measured a current of 24 uA in deep sleep.
The esp32 also provides a touch sensor module which can be used to wake-up from deep sleep. However this module uses about 2 mA of current to do the touch detection and (by default) does it for about 4ms at 37 Hz.
This means that all these efforts to use really little power will be ruined by the touch sensor using 100 times the sleep power roughly 15% of the time.
The good news it that Espressif provides a way to customize those timings and depending on the application, the power consumption of the touch sensor can be greatly reduced.
This patch simply exposes this functionality in python.