Browse Source

boards: gd32vf103c_starter: port to HWMv2

Port the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
pull/69687/head
Gerard Marull-Paretas 1 year ago committed by Carles Cufi
parent
commit
97edd05be3
  1. 9
      boards/boards_legacy/riscv/gd32vf103c_starter/Kconfig.defconfig
  2. 3
      boards/gd/gd32vf103c_starter/Kconfig.gd32vf103c_starter
  3. 0
      boards/gd/gd32vf103c_starter/board.cmake
  4. 5
      boards/gd/gd32vf103c_starter/board.yml
  5. 0
      boards/gd/gd32vf103c_starter/doc/img/gd32vf103c_starter.jpg
  6. 0
      boards/gd/gd32vf103c_starter/doc/index.rst
  7. 0
      boards/gd/gd32vf103c_starter/gd32vf103c_starter-pinctrl.dtsi
  8. 0
      boards/gd/gd32vf103c_starter/gd32vf103c_starter.dts
  9. 0
      boards/gd/gd32vf103c_starter/gd32vf103c_starter.yaml
  10. 4
      boards/gd/gd32vf103c_starter/gd32vf103c_starter_defconfig
  11. 0
      boards/gd/gd32vf103c_starter/support/openocd.cfg

9
boards/boards_legacy/riscv/gd32vf103c_starter/Kconfig.defconfig

@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
# Copyright (c) 2022 YuLong Yao <feilongphone@gmail.com>
# SPDX-License-Identifier: Apache-2.0
if BOARD_GD32VF103C_STARTER
config BOARD
default "gd32vf103c_starter"
endif # BOARD_GD32VF103C_STARTER

3
boards/boards_legacy/riscv/gd32vf103c_starter/Kconfig.board → boards/gd/gd32vf103c_starter/Kconfig.gd32vf103c_starter

@ -2,5 +2,4 @@ @@ -2,5 +2,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_GD32VF103C_STARTER
bool "GigaDevice GD32VF103C-STARTER"
depends on SOC_GD32VF103
select SOC_GD32VF103

0
boards/boards_legacy/riscv/gd32vf103c_starter/board.cmake → boards/gd/gd32vf103c_starter/board.cmake

5
boards/gd/gd32vf103c_starter/board.yml

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
board:
name: gd32vf103c_starter
vendor: GigaDevice Semiconductor
socs:
- name: gd32vf103

0
boards/boards_legacy/riscv/gd32vf103c_starter/doc/img/gd32vf103c_starter.jpg → boards/gd/gd32vf103c_starter/doc/img/gd32vf103c_starter.jpg

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

0
boards/boards_legacy/riscv/gd32vf103c_starter/doc/index.rst → boards/gd/gd32vf103c_starter/doc/index.rst

0
boards/boards_legacy/riscv/gd32vf103c_starter/gd32vf103c_starter-pinctrl.dtsi → boards/gd/gd32vf103c_starter/gd32vf103c_starter-pinctrl.dtsi

0
boards/boards_legacy/riscv/gd32vf103c_starter/gd32vf103c_starter.dts → boards/gd/gd32vf103c_starter/gd32vf103c_starter.dts

0
boards/boards_legacy/riscv/gd32vf103c_starter/gd32vf103c_starter.yaml → boards/gd/gd32vf103c_starter/gd32vf103c_starter.yaml

4
boards/boards_legacy/riscv/gd32vf103c_starter/gd32vf103c_starter_defconfig → boards/gd/gd32vf103c_starter/gd32vf103c_starter_defconfig

@ -1,8 +1,4 @@ @@ -1,8 +1,4 @@
# Copyright (c) 2022 YuLong Yao <feilongphone@gmail.com>
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_GD32VF103=y
CONFIG_SOC_GD32VF103=y
CONFIG_BOARD_GD32VF103C_STARTER=y
CONFIG_GD32_HXTAL_8MHZ=y

0
boards/boards_legacy/riscv/gd32vf103c_starter/support/openocd.cfg → boards/gd/gd32vf103c_starter/support/openocd.cfg

Loading…
Cancel
Save