| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Use SOC_SERIES_GD32H77x_H78X with the dedicated CMSIS and peripheral library packages. Add startup, linker scripts, toolchain templates and board configuration. Keep the default configuration limited to UART1 and PIN. Select application sources explicitly and provide an Applications menu for optional examples. The minimal firmware was downloaded and booted with the UART1 console at 115200 baud.
Add the ENET1 RMII adapter under libraries/gd32_drivers and select it with SOC_SERIES_GD32H77x_H78X and BSP_USING_ETH. Let the peripheral package select manufacturer sources. The PHY and e0 device were detected on GinoPi. Link-up and network traffic still require a connected network.
Add the USBHS0 device and USBHS1 host adapters. Gate the CDC heartbeat with an independent application option, disabled by default. USB CDC enumeration and repeated device-to-PC heartbeat data were verified on GinoPi. USB host transfers still require an attached device.
Add clock-derived refresh, startup delay, readiness reporting and SDRAM verification commands. Keep the heap test optional and require memheap automatic binding so its allocations can use external SDRAM. Validated eight passes over a 1 MiB buffer and a 2 MiB allocation from the external heap on GinoPi.
Use the H77x/H78x I2C interface and expose bus pin and alternate-function settings. Keep I2C disabled in the minimal configuration. Verified I2C1 device registration. Camera and touch support use the same controller interface on their respective buses. Guard the new-controller receive path for F5/H7/H77x and preserve the legacy transfer block. Single-file compilation passed for GD32F4 receive modes A/B and GD32H7/H77x; the original GD32F4 CI errors were reproduced before the fix.
Select the H77x/H78x SPI interface and expose SPI3 pin settings. Keep SPI disabled in the minimal configuration. Verified SPI3 device registration; external loopback requires the corresponding pin connection.
Add PWM1, PWM2 and PWM30 support with an optional dual-output verification command. Keep timer source selection in the peripheral package and build the example only when selected. Verified PWM2/PWM30 start and stop commands. Output frequency and duty cycle still require waveform measurement.
Add SDIO1 pin configuration, card detection and filesystem integration. Build filesystem benchmarks only through their application option. Verified SD card detection, mounting and a 1 MiB temporary-file write/read comparison. Keep SDIO and DFS disabled by default.
Add timed oscillator startup, retained calendar state and synchronized alarm writes. Make the one-shot alarm example independently selectable. Verified three-second Alarm0 and Alarm1 triggers on GinoPi. Keep RTC disabled by default.
Use the H7 watchdog oscillator setup for SOC_SERIES_GD32H77x_H78X. Keep the watchdog disabled by default. Verified continued execution while feeding the watchdog and automatic reset after feeding stopped.
Place module registration under board/ports and add an independently selectable MQTT example. Handle MQTT timeouts, publishing and shutdown, and preserve ping targets when the AT module omits an address. Verified UART4 AT communication and MAC queries. Wi-Fi association to the default hotspot failed, so TCP and MQTT traffic remain unverified. Keep the module and example disabled by default.
Add mailbox allocation, nominal and data timing, frame validation, interrupt handling and error recovery. Keep CAN disabled by default. Verified 100 internal loopback frames for both classic CAN and CAN FD, including standard/extended identifiers, varied payload lengths and BRS. External bus operation remains to be tested.
Add the OSPI adapter and GD25Q64E flash integration. Protect MDMA cache maintenance from interrupts and require whole cache lines for DMA buffers; use polling for unaligned transfers. Let the peripheral package select OSPI, OSPIM and MDMA sources. Verified 1 MiB filesystem write/read comparisons and 70 buffer-boundary cases with guard bytes. MDMA was exercised for reads; page programming uses polling. Keep OSPI disabled by default.
Add the LCD adapter, SDRAM MPU policy and frame-boundary reloads. Keep display manufacturer source selection in the peripheral package and LCD disabled by default. Verified LCD initialization and display-buffer updates through the LVGL camera preview; visual quality still requires inspection.
Add the board adapter for the GT911 package. Release the interrupt pin after address selection and wait for valid configuration after reset instead of reporting zero resolution. Verified product ID 911, 720x720 resolution and five-point capability. Physical touch interaction remains to be tested.
Add DMA and frame-completion handling, error precedence and capture restart. Keep camera adaptation under board/ports and expose the LVGL preview as an independent application option. Verified the sensor identity, QVGA RGB565 capture and preview start/stop, with no dropped frames or capture errors in the test run. Keep the camera disabled by default.
Add the camera rendering and IPA display pipeline with matching GCC and MDK DTCM heap layouts. Place LVGL adaptation and configuration under board/ports, selected by the LVGL package option. Verified camera preview rendering and buffer updates on GinoPi. Keep LVGL disabled by default.
Add the optional board console and backend for storage, CAN, MQTT, PWM, SPI, I2C and camera commands. Put the option under Applications and select the preview dependency explicitly. Require an LVGL thread stack of at least 8192 bytes for this demo. Verified demo startup and camera preview start/stop without the previous stack overflow; measured peak LVGL stack use was 71%. Keep demonstrations disabled in the default UART1/PIN configuration.
Register gd32h77d-ginopi in the Arm BSP CI matrix and provide 33 attach configurations for peripherals, packages and optional applications. Each configuration extends the minimal UART1/PIN default. Enable memheap automatic binding for the SDRAM heap test and use an 8192-byte LVGL stack for the board demo. All 33 configurations were compiled with GCC 13.3 during hardware validation; affected configurations were retested after fixes. These configurations require the matching GD32H77x_78x CMSIS/series packages and GD32VW553 at_device support.
|
👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread! 为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。 🛠 操作步骤 | Steps
完成后,提交将自动更新至 bsp/gd32h77d-peripheral-series 分支,关联的 Pull Request 也会同步更新。 如有问题欢迎联系我们,再次感谢您的贡献!💐 |
Sorry, something went wrong.
📌 Code Review Assignment🏷️ Tag: workflowReviewers: @Rbb666 @kurisaW @supperthomas Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2026-09-23 21:09 CST)
📝 Review Instructions
|
Sorry, something went wrong.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
你的解决方案是什么 (what is your solution)
需要合并
RT-Thread-packages/at_device#227
RT-Thread-packages/gd32-arm-cmsis#8
RT-Thread-packages/gd32-arm-series#13
请提供验证的bsp和config (provide the config and bsp)
]
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following: