boards: gd32vf103c_starter: port to HWMv2

Port the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas
2024-02-16 09:39:05 +01:00
committed by Carles Cufi
parent 9cf624c410
commit 97edd05be3
11 changed files with 6 additions and 15 deletions

View File

@@ -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

View File

@@ -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

View File

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

View File

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

View File

@@ -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