esp-hal icon indicating copy to clipboard operation
esp-hal copied to clipboard

Add support for the ESP32-P4

Open jessebraham opened this issue 2 years ago • 4 comments
trafficstars

~~Still no ETA on this chip, however it's next in line.~~

~~Hoping to get my hands on some hardware early in the new year (2024).~~

Devkits are now available.

Status

  • [x] Create an SVD
  • [x] Create a PAC
  • [x] Add support to ancillary crates (esp-backtrace, esp-println)
    • https://github.com/esp-rs/esp-println/pull/61
    • https://github.com/esp-rs/esp-backtrace/pull/47
  • [x] Create a HAL package
    • https://github.com/esp-rs/esp-hal/pull/1101
  • [ ] Get existing drivers building for all peripherals
    • https://github.com/esp-rs/esp-hal/pull/1145
    • https://github.com/esp-rs/esp-hal/pull/1150
  • [ ] Final review and publication

jessebraham avatar Jul 05 '23 18:07 jessebraham

SVD has been created: https://github.com/espressif/svd/blob/main/svd/esp32p4.svd PAC has been created: https://github.com/esp-rs/esp-pacs/tree/main/esp32p4

Should have hardware soon, I hope. Once I have acquired a devkit I will try to get a minimal application together so we can finish updating esp-println/esp-backtrace, and then will PR the minimal esp32p4-hal package so that others can collaborate on this.

jessebraham avatar Dec 15 '23 15:12 jessebraham

My devkits have finally arrived, so I have begun work on this.

jessebraham avatar Jan 16 '24 16:01 jessebraham

Initial support added in #1101. Doesn't do anything yet, but serves as a starting point for other work.

jessebraham avatar Jan 19 '24 17:01 jessebraham

This work is being de-prioritized for the time being.

jessebraham avatar Mar 20 '24 16:03 jessebraham

There have been yet more delays with this chip, so we are going to remove the partial support that we currently have (https://github.com/esp-rs/esp-hal/pull/1461) and I am going to close this issue.

Whenever the ESP32-P4 has a release date set in stone we can revisit support and open a new issue.

jessebraham avatar Apr 17 '24 13:04 jessebraham

Where is the current status on the P4 HAL maintained?

jhaand avatar Aug 16 '25 09:08 jhaand

Here is the chip support roadmap: https://github.com/esp-rs/esp-hal/issues/3962 with the current status of the p4

SergioGasquez avatar Aug 28 '25 09:08 SergioGasquez