-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Enable deep sleep on all ESP chips #9324
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
Conversation
e349c3b
to
1aa2604
Compare
This CI will need #9325. I didn't realize esp_sleep_enable_ext1_wakeup_io was introduced in 5.2.2. |
Features of each chip is documented in this spreadsheet: https://docs.google.com/spreadsheets/d/1NyKzHOWeWMb8UttDDugeeOANZ4m-idMHM6kiTlUUVIg/edit?usp=sharing Fixes micropython#9056
1aa2604
to
ed2f32f
Compare
Tested on Feather ESP32-S3 No PSRAM and it works. (I thought it didn't because I hadn't set pull.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this, and doing the detailed differences between the chips. This might be docuumented in shared-bindings in a Limitations: section, but we don't have to do that now.
Hey, I am currently trying to get XIAO ESP32C3 board to go into deep sleep. I don't fully understand why https://circuitpython.org/board/seeed_xiao_esp32c3/
Can you help me understand the issue? Is it possible to build a version of FW with |
Hi, it's disabled by default on some boards with 4MB of flash or less, but will be added in Circuitpython 10 once we change the partition scheme (which will be relatively painless on C3 boards if you are used to save your files before updating Circuitpython with esptool). circuitpython/ports/espressif/mpconfigport.mk Lines 280 to 288 in ad73d0b
Currently building with it would require modifying this file and disabling other modules to make some space. |
Hey, thanks for the quick response!
Is there a ETA for this?
I will look into that in the meantime. Thanks for the suggestion! |
We don't give ETA's but it's actively being worked on. We need new bootloaders first. |
C3 doesn't have a UF2 bootloader. We can do non-Sx now. |
Features of each chip is documented in this spreadsheet: https://docs.google.com/spreadsheets/d/1NyKzHOWeWMb8UttDDugeeOANZ4m-idMHM6kiTlUUVIg/edit?usp=sharing
Fixes #9056