Skip to content

feat(boards): add P4 LCD 10.1 support and bump to 0.3.8 - #21

Merged
Y1hsiaochunnn merged 3 commits into
waveshareteam:mainfrom
ycorez:feat/esp32-p4-wifi6-db-touch-lcd-10-1
Dec 3, 2026
Merged

Y1hsiaochunnn merged 3 commits into
waveshareteam:mainfrom
ycorez:feat/esp32-p4-wifi6-db-touch-lcd-10-1

Conversation

@ycorez

@ycorez ycorez commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Change

ESP32-P4-WIFI6-DB-Touch-LCD-10.1 board profile

  • Register the ESP32-P4 board profile with a JD9365 MIPI-DSI display, GT911 touch, LEDC backlight control, and a MIPI-CSI camera interface.
  • Add JD9365 and GT911 factory functions. Hold a reference to the shared I2C bus during panel creation so the JD9365 driver can reuse it to configure the backlight controller.
  • Define ES8389 stereo playback and capture using standard I2S on I2S0.
  • Declare RS-232 and RS-485 UARTs, a PCF85063A RTC, TWAI/CAN through the TJA1051 transceiver, a BOOT button, SDMMC with GPIO-controlled card power, and SPIFFS on the storage partition.
  • Set board defaults for 32 MB QIO flash at 80 MHz, a partition-table offset of 0x9000, and hex PSRAM at 250 MHz.

Documentation and release

  • Add the profile to the English and Chinese board tables and directory guides.
  • Update both CI guides to document 24 board profiles and 47 full-matrix build combinations per resolved Board Manager version.
  • Bump the board pack from 0.3.7 to 0.3.8 and update the versioned installation commands in both publishing guides.

Validation

  • Update the board tables and bilingual documentation.
  • Pass the selected CI builds on the latest commit.
  • Verify hardware-facing changes against the schematic or official reference.

Local board-pack metadata, generated board table, and staged diff whitespace checks passed after restoring standard I2S capture. Board Manager generation, ESP-IDF builds, and hardware tests were not run locally.

Add the ESP32-P4-WIFI6-DB-Touch-LCD-10.1 board profile. Configure ES8389 DAC reference and four-slot TDM capture on the 10.1 and 7C profiles.

Update the bilingual board catalog, CI matrix counts, and release instructions for 0.3.8.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T10:09:43.591385Z 7915b82 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 88bb730af5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Codex 审查总评 / Review summary

88bb730af5 · 原始审查 / Original review

合并建议 / Merge recommendation

建议修改后合并,或在 PR 中说明如何处理下列发现。

Address the findings or document their disposition before merging.

发现与依据 / Findings and evidence

1 · P1 · 原评与证据 / Source

中文

在 7C 上同时使用 audio_dac 和 audio_adc 时,RX 现在要求四槽 TDM、ws_width: 32,而 TX 仍为 std-out、ws_width: 16(本文件第 54–64 行);两者都是 master,且共用 I2S1 和 GPIO12/10。共享端口并不能协调这两套不同的帧配置,因此新增的四槽麦克风/参考采集无法与原播放配置正确并用。新 esp32_p4_wifi6_db_touch_lcd_10_1 在 I2S0 上也存在相同问题。请统一两端的时钟和帧配置,包括复用已初始化通道的路径;合并前在两板同时播放已知音调并录制四槽,确认采样率和参考槽位置正确。本结论来自源码配置核对,未经实机验证。

English

When using audio_dac and audio_adc together on 7C, RX now requests four-slot TDM with ws_width: 32, while TX remains std-out with ws_width: 16 (lines 54–64); both are masters sharing I2S1 and GPIO12/10. Sharing a controller does not reconcile these different frame configurations, so the new four-slot microphone/reference capture cannot operate correctly alongside the unchanged playback configuration. The new esp32_p4_wifi6_db_touch_lcd_10_1 repeats this mismatch on I2S0. Make both directions use compatible clock/frame settings, including the already-initialized-channel reuse path. Before merging, test simultaneous known-tone playback and four-slot capture on both boards, verifying sample rate and reference-slot placement. This is a source-level configuration check, not a hardware-tested result.

AGENTS.md reference: AGENTS.md:L7-L8

原评引用 / Cited evidence · 1

核查范围 / Verification scope

以上范围由工作流核对提交差异和 CI 记录得出。原评中的测试说明见回执或行内链接。 / The workflow verified the commit diff and CI records above. See the linked review for tests reported by Codex.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Codex 审查总评 / Review summary

7915b8243b · 机器人滚动摘要 / Bot status (updates in place)

合并建议 / Merge recommendation

本轮未报告阻塞项,已记录的检查通过,可由维护者决定合并。

No blocker was reported and the recorded checks passed. Ready for a maintainer’s merge decision.

发现与依据 / Findings and evidence

Codex 在本轮回执中未报告重大问题。 / Codex reported no major issues in this review.

核查范围 / Verification scope

以上范围由工作流核对提交差异和 CI 记录得出。原评中的测试说明见回执或行内链接。 / The workflow verified the commit diff and CI records above. See the linked review for tests reported by Codex.

@Y1hsiaochunnn
Y1hsiaochunnn merged commit 6afb1c3 into waveshareteam:main Dec 3, 2026
6 checks passed
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.

2 participants