P4: update PAC, enable some basics#5523
Open
bugadani wants to merge 28 commits intoesp-rs:mainfrom
Open
Conversation
Contributor
|
I have trouble with cfg-gating from different result between P4 and others. |
|
New commits in main have made this PR unmergeable. Please resolve the conflicts. |
de72329 to
d8616a0
Compare
Contributor
Author
|
/hil full esp32p4 |
|
Triggered full HIL run for #5523. Run: https://github.com/esp-rs/esp-hal/actions/runs/25369768024 Status update: HIL (full) run is still in progress or status unknown. |
Contributor
Author
|
Yeah that won't work until merged, will it? |
|
New commits in main have made this PR unmergeable. Please resolve the conflicts. |
pmnxis
reviewed
May 5, 2026
Contributor
pmnxis
left a comment
There was a problem hiding this comment.
some review. Also thanks your effort on P4
Comment on lines
+463
to
+469
| cfg_if::cfg_if! { | ||
| if #[cfg(esp32p4)] { | ||
| let reg = LP_AON::regs().lp_store1(); | ||
| } else { | ||
| let reg = LP_AON::regs().store1(); | ||
| } | ||
| } |
Contributor
There was a problem hiding this comment.
can we improve this with single store1 with PAC tweaking?
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.
This PR enables CI, decreases default CPU clock to bootloader default, enables software interrupts and esp-rtos, fixes up linker scripts, enables some tests and examples, and clean up some of the hacks.