arch/risc-v/esp32[-c3|-c6|-h2]: Add auto light sleep#18694
Merged
xiaoxiang781216 merged 3 commits intoapache:masterfrom Apr 10, 2026
Merged
arch/risc-v/esp32[-c3|-c6|-h2]: Add auto light sleep#18694xiaoxiang781216 merged 3 commits intoapache:masterfrom
xiaoxiang781216 merged 3 commits intoapache:masterfrom
Conversation
fdcavalcanti
previously approved these changes
Apr 9, 2026
xiaoxiang781216
previously approved these changes
Apr 9, 2026
370b996
9cfca8a to
370b996
Compare
Add auto sleep for risc-v based Espressif devices Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
Add autopm defconfig for risc-v based Espressif devices Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
Add autopm docs for risc-v based Espressif devices Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
simbit18
approved these changes
Apr 10, 2026
xiaoxiang781216
approved these changes
Apr 10, 2026
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.
Summary
Add autopm docs for risc-v based Espressif devices
Add autopm defconfig for risc-v based Espressif devices
Add auto sleep for risc-v based Espressif devices
Impact
Impact on user: Auto light sleep option added
Impact on build: No
Impact on hardware: No
Impact on documentation: autopm configuration docs added
Impact on security: No
Impact on compatibility: No
Testing
Building
Used configs:
Command to build:
Running
Defconfig enables UART wakeup and WiFi wakeup (on supported devices) by default.
Used commands to test power consumption during WiFi operation:
For UART wakeup, sleep logs and power consumption checked
Results
System logs (Power Related debug options enabled):
Idle system power consumption drops from 90-100 to 27-35 mA
During ping operation power consumption should drop from 90-100mA to 30-40mA
Special thanks to @tmedicci for his help