Skip to content

Port the ES8311 audio-reactive board definition to the Waveshare ESP3… - #130

Open
TouchMyLight wants to merge 1 commit into
MoonModules:mainfrom
TouchMyLight:esp32-p4-eth_ar
Open

TouchMyLight wants to merge 1 commit into
MoonModules:mainfrom
TouchMyLight:esp32-p4-eth_ar

Conversation

@TouchMyLight

Copy link
Copy Markdown

…2-P4-ETH

Writes the hardware reference page for the Waveshare ESP32-P4-ETH's onboard ES8311 codec and Ethernet wiring, which PR #128's firmware-variant approach never landed on main after PR #129 made the codec runtime configuration. Also renames the shared P4 Ethernet preset to "P4-NANO/ETH" so its UI label doesn't imply it's NANO-only.

Core

  • EthernetModule.h: kEthPresets' shared P4 RMII row renamed "P4-NANO" → "P4-NANO/ETH", naming both boards that use it; doc comment updated to match.

Scripts/MoonDeck

  • check_devices.py: its own restatement of the preset label (cross-checked against platform_config.h's chip default) updated to match the rename — this is the check that caught the miss on the first pass.

Docs/CI

  • New docs/reference/hardware/esp32-p4-eth.md: audio (ES8311) and Ethernet pin tables, free-GPIO table, bench-verification notes, written against the current runtime-codec architecture (AudioService/I2cBusModule), not copied from the closed PR Add ES8311 audio-reactive support for the Waveshare ESP32-P4-ETH #128.
  • firmware-variants.md, gpio-usage.md: P4-ETH named alongside the P4-NANO as sharing esp32p4rev1-eth.
  • mkdocs.yml: nav entry for the new page.
  • mooninstaller/deviceModels.json: the renamed preset label carried into all 5 P4-family catalog entries that reference it.

Bench-verified on the Waveshare ESP32-P4-ETH (plain esp32p4rev1-eth firmware, no new variant): I2C bus scan ACKs the codec at 0x18, AudioService reports live mic data, Ethernet link + DHCP hold, and the renamed preset round-trips cleanly on an already-provisioned board (auto-resolves to the new label, same pins, no reseed to Custom).

Reviews

  • Pre-existing, unrelated to this diff (confirmed by reproducing on a clean main): check_docgen carries 1 pre-existing error (Hub75Slots.h) and check_code a 4-finding drift, both from commits already on main before this branch started — named here rather than fixed, since neither file is touched by this change.

…2-P4-ETH

Writes the hardware reference page for the Waveshare ESP32-P4-ETH's onboard ES8311 codec and Ethernet wiring, which PR MoonModules#128's firmware-variant approach never landed on main after PR MoonModules#129 made the codec runtime configuration. Also renames the shared P4 Ethernet preset to "P4-NANO/ETH" so its UI label doesn't imply it's NANO-only.

**Core**
- `EthernetModule.h`: `kEthPresets`' shared P4 RMII row renamed `"P4-NANO"` → `"P4-NANO/ETH"`, naming both boards that use it; doc comment updated to match.

**Scripts/MoonDeck**
- `check_devices.py`: its own restatement of the preset label (cross-checked against `platform_config.h`'s chip default) updated to match the rename — this is the check that caught the miss on the first pass.

**Docs/CI**
- New `docs/reference/hardware/esp32-p4-eth.md`: audio (ES8311) and Ethernet pin tables, free-GPIO table, bench-verification notes, written against the current runtime-codec architecture (`AudioService`/`I2cBusModule`), not copied from the closed PR MoonModules#128.
- `firmware-variants.md`, `gpio-usage.md`: P4-ETH named alongside the P4-NANO as sharing `esp32p4rev1-eth`.
- `mkdocs.yml`: nav entry for the new page.
- `mooninstaller/deviceModels.json`: the renamed preset label carried into all 5 P4-family catalog entries that reference it.

Bench-verified on the Waveshare ESP32-P4-ETH (plain `esp32p4rev1-eth` firmware, no new variant): I2C bus scan ACKs the codec at 0x18, `AudioService` reports live mic data, Ethernet link + DHCP hold, and the renamed preset round-trips cleanly on an already-provisioned board (auto-resolves to the new label, same pins, no reseed to Custom).

Reviews
- Pre-existing, unrelated to this diff (confirmed by reproducing on a clean `main`): `check_docgen` carries 1 pre-existing error (`Hub75Slots.h`) and `check_code` a 4-finding drift, both from commits already on `main` before this branch started — named here rather than fixed, since neither file is touched by this change.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository: MoonModules/MoonLight/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 56b2c020-d918-429b-bd81-f18cd525cb5d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@TouchMyLight

Copy link
Copy Markdown
Author

note: the ESP32-P4-ETH definition is important for an upcoming PR using this board: a MountSd service to use the microSD slot on this board

This branch has not been deployed

No deployments
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.

1 participant