Skip to content

P4: update PAC, enable some basics#5523

Open
bugadani wants to merge 28 commits intoesp-rs:mainfrom
bugadani:p4-pac
Open

P4: update PAC, enable some basics#5523
bugadani wants to merge 28 commits intoesp-rs:mainfrom
bugadani:p4-pac

Conversation

@bugadani
Copy link
Copy Markdown
Contributor

@bugadani bugadani commented May 4, 2026

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.

@pmnxis
Copy link
Copy Markdown
Contributor

pmnxis commented May 4, 2026

I have trouble with cfg-gating from different result between P4 and others.
For now this PR resolve it. Thx very much

@github-actions github-actions Bot added the merge-conflict Merge conflict detected. Automatically added/removed by CI. label May 5, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

New commits in main have made this PR unmergeable. Please resolve the conflicts.

@bugadani bugadani marked this pull request as ready for review May 5, 2026 09:12
Copilot AI review requested due to automatic review settings May 5, 2026 09:12
@github-actions github-actions Bot removed the merge-conflict Merge conflict detected. Automatically added/removed by CI. label May 5, 2026
@bugadani bugadani force-pushed the p4-pac branch 3 times, most recently from de72329 to d8616a0 Compare May 5, 2026 09:26

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings May 5, 2026 09:50
@bugadani bugadani changed the title P4: update PAC, enable software interrupts P4: update PAC, enable some basics May 5, 2026
@bugadani
Copy link
Copy Markdown
Contributor Author

bugadani commented May 5, 2026

/hil full esp32p4

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

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.

@bugadani
Copy link
Copy Markdown
Contributor Author

bugadani commented May 5, 2026

Yeah that won't work until merged, will it?

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 40 out of 40 changed files in this pull request and generated 1 comment.

Comment thread esp-hal/ld/esp32p4/esp32p4.x Outdated
Copilot AI review requested due to automatic review settings May 5, 2026 10:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 43 out of 43 changed files in this pull request and generated 3 comments.

Comment thread esp-hal/src/clock/mod.rs
Comment thread esp-hal/src/clock/mod.rs
Comment thread esp-hal/src/rtc_cntl/mod.rs
@github-actions github-actions Bot added the merge-conflict Merge conflict detected. Automatically added/removed by CI. label May 5, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

New commits in main have made this PR unmergeable. Please resolve the conflicts.

@github-actions github-actions Bot removed the merge-conflict Merge conflict detected. Automatically added/removed by CI. label May 5, 2026
Copilot AI review requested due to automatic review settings May 5, 2026 11:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 47 out of 47 changed files in this pull request and generated 1 comment.

Comment thread esp-hal/CHANGELOG.md Outdated
Copilot AI review requested due to automatic review settings May 5, 2026 11:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 48 out of 48 changed files in this pull request and generated 1 comment.

Comment thread qa-test/src/bin/sw_int_timer.rs
Copy link
Copy Markdown
Contributor

@pmnxis pmnxis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some review. Also thanks your effort on P4

Comment thread esp-hal/ld/esp32p4/esp32p4.x
Comment thread esp-hal/src/clock/mod.rs
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();
}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we improve this with single store1 with PAC tweaking?

Comment thread esp-hal/src/interrupt/riscv/clic_v1.rs Outdated
Comment thread esp-hal/src/psram/esp32p4.rs
Comment thread esp-hal/src/psram/esp32p4.rs
Comment thread esp-hal/src/psram/esp32p4.rs
Copilot AI review requested due to automatic review settings May 5, 2026 15:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 53 out of 53 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings May 5, 2026 15:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 55 out of 55 changed files in this pull request and generated 3 comments.

Comment thread esp-metadata-generated/src/_generated_esp32p4.rs
Comment thread esp-metadata-generated/src/_generated_esp32p4.rs
Comment thread esp-hal/ld/esp32p4/esp32p4.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants