Skip to content

arch/risc-v/espressif/esp32p4: Support ESP32-P4 on NuttX#18516

Merged
cederom merged 2 commits intoapache:masterfrom
tmedicci:feature/esp32-p4_support
Mar 9, 2026
Merged

arch/risc-v/espressif/esp32p4: Support ESP32-P4 on NuttX#18516
cederom merged 2 commits intoapache:masterfrom
tmedicci:feature/esp32-p4_support

Conversation

@tmedicci
Copy link
Contributor

@tmedicci tmedicci commented Mar 9, 2026

Summary

Following #18492, say hello to ESP32-P4 on NuttX!

This PR adds support for Espressif's RISC-V-based ESP32-P4 chip on NuttX, supporting its ESP32-P4-Function-EV-Board board.

Impact

Impact on user: Yes. They now can start designing applications using NuttX on the brand new ESP32-P4 SoC.

Impact on build: No.

Impact on hardware: Yes. New hardware is being add!

Impact on documentation: Yes. Documentation is provided for ESP32-P4 and ESP32-P4-Function-EV-Board.

Impact on security: No.

Impact on compatibility: No.

Testing

All provided defconfigs are already being tested on our internal CI with HW in the loop. As an example, ostest can be tested manually.

Building

Build and flash using UART0. Please note that, depending on the board version, it might be necessary to attach an external USB-to-UART bridge connected to UARTO pins and set the board to download mode. Please, check the Flashing section at Documentation/platforms/risc-v/esp32p4/boards/esp32p4-function-ev-board/index.rst (in this very same PR).

make distclean
./tools/configure.sh -S esp32p4-function-ev-board:ostest
make flash ESPTOOL_PORT=/dev/ttyUSB0

Running

Run it with picocom, for instance.

picocom -b 115200 /dev/ttyUSB0

And, on NuttShell, run ostest:

nsh> ostest

Results

nsh> ostest
.
.
ostest_main: Exiting with status 0

tmedicci added 2 commits March 9, 2026 08:25
This commit adds support for the Espressif's RISC-V-based ESP32-P4
chip along with its ESP32-P4-Function-EV-Board board.

Signed-off-by: Tiago Medicci Serrano <tiago.medicci@espressif.com>
This commit adds documentation entries for ESP32-P4 chip and its
board (ESP32-P4 Function-EV-Board).

Signed-off-by: Tiago Medicci Serrano <tiago.medicci@espressif.com>
@github-actions github-actions bot added Area: Build system Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Size: XL The size of the change in this PR is very large. Consider breaking down the PR into smaller pieces. Board: risc-v labels Mar 9, 2026
@tmedicci
Copy link
Contributor Author

tmedicci commented Mar 9, 2026

I don't really know why the pipeline was cancelled. Do you think we should trigger it once again?

@tmedicci tmedicci requested a review from cederom March 9, 2026 20:29
Copy link
Contributor

@cederom cederom left a comment

Choose a reason for hiding this comment

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

WOOHA BIG THANK YOU @tmedicci =)

@cederom cederom merged commit a8495b1 into apache:master Mar 9, 2026
88 of 190 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Area: Build system Board: risc-v Size: XL The size of the change in this PR is very large. Consider breaking down the PR into smaller pieces.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants