feat(esp32p4-function-ev-board): Add new BSP component for ESP32P4 Function Evaluation Board and the associated LCD board#649
Merged
Conversation
…unction Evaluation Board` and the associated LCD board
|
✅Static analysis result - no issues found! ✅ |
…t interrupt driven touch
… validated interrupt touch
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.
Description
Adds a new
espp::Esp32P4FunctionEvBoardBoard Support Package for the Espressif ESP32-P4 Function EV Board used with the ESP32-P4-HMI-Subboard, plus a full-featured example. The BSP follows the same singleton pattern as the existingboard BSPs (e.g.
m5stack-tab5) and brings up all on-board peripherals:Supporting additions:
display_drivers(ek79007.hpp).espp/test/counter, and a Ping-based connectivity self-test.Two board-specific gotchas are handled and documented:
RST_LCD/PWMmust be jumpered to the P4 main board (RST_LCD→J1 GPIO27,PWM→J1 GPIO26) or the screen stays black.initialize_button()now refuses (returnsfalse) when Ethernet is active rather than silently breaking the network,and the constraint is documented at the pin definition and in the class doc.
Motivation and Context
espp had no BSP for the ESP32-P4 Function EV Board, which is a common P4 dev platform (MIPI-DSI HMI, Ethernet, camera, audio, microSD). This provides a ready-to-use, single-header interface to the board and a worked example covering the
display, touch, audio, networking, and RTPS, matching the pattern of the other board BSPs.
How has this been tested?
idf.py set-target esp32p4 && idf.py build); builds clean.initialize_button()returnsfalseand logs while Ethernet is up; Ethernet TX stays healthy.Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):
Console (Ethernet + RTPS bring-up):
Esp32p4-Ethernet-Rtps-To-Windows-Wsl-compressed.mp4
Types of changes
Checklist:
Software
.github/workflows/build.ymlfile to add my new test to the automated cloud build github action.