Skip to content

boards: gd: gd32f470z_start: add initial support - #117387

Open
Zepp-Hanzj wants to merge 1 commit into
zephyrproject-rtos:mainfrom
Zepp-Hanzj:boards-gd32f470z_start
Open

boards: gd: gd32f470z_start: add initial support#117387
Zepp-Hanzj wants to merge 1 commit into
zephyrproject-rtos:mainfrom
Zepp-Hanzj:boards-gd32f470z_start

Conversation

@Zepp-Hanzj

Copy link
Copy Markdown

Summary

Add board support for the GigaDevice GD32F470Z-START (GD32F470ZIT6 minimal system board).

Board details

  • SoC: GD32F470ZIT6 (Cortex-M4F, 240 MHz, 2048 KiB Flash, 768 KiB SRAM, LQFP144)
  • USB-UART: CH340X on USART0 (TX PA9 / RX PA10)
  • User LEDs: LED1 red on PA1, LED2 green on PA2 (active-low)
  • User buttons: KEY0 on PC1, WK_UP on PA0 (active-high)
  • EEPROM: AT24C02 (256 B) on I2C0 (SCL PB6 / SDA PB7)
  • SPI NOR Flash: W25Q128 (16 MB) on SPI4 (CS PF6, SCK PF7, MISO PF8, MOSI PF9)
  • SDRAM: W9825G6KH-6I (32 MB)
  • TF card slot, RGB/8080/SPI LCD interfaces, SWD debug interface

Testing

The board was verified on real hardware:

  • Built and flashed samples/basic/blinky (LED1 blinks as expected)
  • Built and flashed samples/hello_world (serial output via CH340X confirmed at 115200 8N1)
  • Built samples/basic/button and samples/drivers/spi_flash successfully

Note: SEGGER J-Link does not yet include the GD32F470 device in its database,
so the J-Link runner uses GD32F450ZK as a compatible stand-in (same core, flash
and SRAM base addresses, and identical CPU TAP ID).

Add board support for the GigaDevice GD32F470Z-START (GD32F470ZIT6
minimal system board).

The GD32F470ZIT6 is a Cortex-M4F MCU running at up to 240 MHz with
2048 KiB of Flash and 768 KiB of SRAM.

The board enables the following peripherals:
- GPIO: two user LEDs (PA1, PA2, active-low) and two user buttons
  (KEY0 on PC1, WK_UP on PA0, active-high)
- USART0: console on PA9/PA10 (CH340X, 115200 8N1)
- I2C0: AT24C02 EEPROM on PB6/PB7
- SPI4: W25Q128 NOR flash on PF6-PF9

Assisted-by: GitHubCopilot:deepseek-v4-pro-0813
Signed-off-by: Zhijian Han <hanzhijian1991@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants