diff --git a/boards/boards_legacy/riscv/gd32vf103c_starter/Kconfig.defconfig b/boards/boards_legacy/riscv/gd32vf103c_starter/Kconfig.defconfig deleted file mode 100644 index 09c16cab055..00000000000 --- a/boards/boards_legacy/riscv/gd32vf103c_starter/Kconfig.defconfig +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2022 YuLong Yao -# SPDX-License-Identifier: Apache-2.0 - -if BOARD_GD32VF103C_STARTER - -config BOARD - default "gd32vf103c_starter" - -endif # BOARD_GD32VF103C_STARTER diff --git a/boards/boards_legacy/riscv/gd32vf103c_starter/Kconfig.board b/boards/gd/gd32vf103c_starter/Kconfig.gd32vf103c_starter similarity index 66% rename from boards/boards_legacy/riscv/gd32vf103c_starter/Kconfig.board rename to boards/gd/gd32vf103c_starter/Kconfig.gd32vf103c_starter index 747958bef1a..2671a8a98dd 100644 --- a/boards/boards_legacy/riscv/gd32vf103c_starter/Kconfig.board +++ b/boards/gd/gd32vf103c_starter/Kconfig.gd32vf103c_starter @@ -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 diff --git a/boards/boards_legacy/riscv/gd32vf103c_starter/board.cmake b/boards/gd/gd32vf103c_starter/board.cmake similarity index 100% rename from boards/boards_legacy/riscv/gd32vf103c_starter/board.cmake rename to boards/gd/gd32vf103c_starter/board.cmake diff --git a/boards/gd/gd32vf103c_starter/board.yml b/boards/gd/gd32vf103c_starter/board.yml new file mode 100644 index 00000000000..64a30c015f6 --- /dev/null +++ b/boards/gd/gd32vf103c_starter/board.yml @@ -0,0 +1,5 @@ +board: + name: gd32vf103c_starter + vendor: GigaDevice Semiconductor + socs: + - name: gd32vf103 diff --git a/boards/boards_legacy/riscv/gd32vf103c_starter/doc/img/gd32vf103c_starter.jpg b/boards/gd/gd32vf103c_starter/doc/img/gd32vf103c_starter.jpg similarity index 100% rename from boards/boards_legacy/riscv/gd32vf103c_starter/doc/img/gd32vf103c_starter.jpg rename to boards/gd/gd32vf103c_starter/doc/img/gd32vf103c_starter.jpg diff --git a/boards/boards_legacy/riscv/gd32vf103c_starter/doc/index.rst b/boards/gd/gd32vf103c_starter/doc/index.rst similarity index 100% rename from boards/boards_legacy/riscv/gd32vf103c_starter/doc/index.rst rename to boards/gd/gd32vf103c_starter/doc/index.rst diff --git a/boards/boards_legacy/riscv/gd32vf103c_starter/gd32vf103c_starter-pinctrl.dtsi b/boards/gd/gd32vf103c_starter/gd32vf103c_starter-pinctrl.dtsi similarity index 100% rename from boards/boards_legacy/riscv/gd32vf103c_starter/gd32vf103c_starter-pinctrl.dtsi rename to boards/gd/gd32vf103c_starter/gd32vf103c_starter-pinctrl.dtsi diff --git a/boards/boards_legacy/riscv/gd32vf103c_starter/gd32vf103c_starter.dts b/boards/gd/gd32vf103c_starter/gd32vf103c_starter.dts similarity index 100% rename from boards/boards_legacy/riscv/gd32vf103c_starter/gd32vf103c_starter.dts rename to boards/gd/gd32vf103c_starter/gd32vf103c_starter.dts diff --git a/boards/boards_legacy/riscv/gd32vf103c_starter/gd32vf103c_starter.yaml b/boards/gd/gd32vf103c_starter/gd32vf103c_starter.yaml similarity index 100% rename from boards/boards_legacy/riscv/gd32vf103c_starter/gd32vf103c_starter.yaml rename to boards/gd/gd32vf103c_starter/gd32vf103c_starter.yaml diff --git a/boards/boards_legacy/riscv/gd32vf103c_starter/gd32vf103c_starter_defconfig b/boards/gd/gd32vf103c_starter/gd32vf103c_starter_defconfig similarity index 57% rename from boards/boards_legacy/riscv/gd32vf103c_starter/gd32vf103c_starter_defconfig rename to boards/gd/gd32vf103c_starter/gd32vf103c_starter_defconfig index 056959e18fb..1a94284e1b7 100644 --- a/boards/boards_legacy/riscv/gd32vf103c_starter/gd32vf103c_starter_defconfig +++ b/boards/gd/gd32vf103c_starter/gd32vf103c_starter_defconfig @@ -1,8 +1,4 @@ # Copyright (c) 2022 YuLong Yao # 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 diff --git a/boards/boards_legacy/riscv/gd32vf103c_starter/support/openocd.cfg b/boards/gd/gd32vf103c_starter/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/riscv/gd32vf103c_starter/support/openocd.cfg rename to boards/gd/gd32vf103c_starter/support/openocd.cfg