P4: light SLEEP with timer and UART wake#5564
Draft
pmnxis wants to merge 3 commits into
Draft
Conversation
# Conflicts: # esp-metadata-generated/src/_build_script_utils.rs # esp-metadata-generated/src/_generated_esp32p4.rs
5 tasks
|
New commits in main have made this PR unmergeable. Please resolve the conflicts. |
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.
DRAFT
Adds initial light-sleep support for ESP32-P4 (ECO5+, 3.x)
I surveid from IDF's
pmu_sleep_startflow and wire LP_TIMER + UART0/UART1 wake bits,and fix Rtc::time_since_boot_raw to wait one LP_SLOW_CLK period after the main_timer_update strobe so the first call returns a valid counter.
I am testing on EV Board v1.7 / chip rev v3.2 (ECO7).
Submission Checklist 📝
cargo xtask fmt-packagescommand to ensure that all changed code is formatted correctly.CHANGELOG.mdin the proper section.Extra:
Pull Request Details 📖
Description
Basic
RTCandSLEEPimplementations for light speed task and simple and UART wake-up.Testing
Write down ASAP