Add ESP32-P4 IP101 Ethernet support - #1
Draft
ssjgesus wants to merge 6 commits into
Draft
Conversation
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.
Adds experimental IP101 RMII Ethernet support to upstream WLED for JC-ESP32P4-M3-DEV. Uses Arduino ETH.begin with PHY address 1, MDC 31, MDIO 52 and reset 51, based on Troy's P4 wiring and Espressif's Arduino example.
Handles P4 clock and reserved pins in initialization, config serialization and settings. Registers network events before Ethernet startup. Adds an Ethernet-only build example and a dedicated firmware validation workflow. Global platformio.ini is unchanged.
Validation: npm build and all 16 npm tests passed. Firmware builds are in progress; hardware validation is pending. Kept as draft until compilation is verified.
Limitations: upstream PARLIO is not implemented at this base revision. This is an Ethernet port, not a seven-output replacement for Troy firmware. The build uses upstream's 16MB partition layout; migration from Troy's 8MB layout requires a compatible full serial flash rather than assuming OTA compatibility. Ethernet-only mode provides no recovery AP.
Reference: https://github.com/troyhacks/WLED/blob/P4_experimental/wled00/wled.cpp