boards: gd32f407v_start: convert to HWMv2

Convert the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas
2024-01-02 17:56:29 +01:00
committed by Jamie McCrae
parent 6f592b64c9
commit f0e0a973f6
11 changed files with 10 additions and 19 deletions

View File

@@ -1,6 +0,0 @@
# Copyright (c) 2022, TOKITA Hiroshi <tokita.hiroshi@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_GD32F407V_START
bool "GigaDevice GD32F407V-START"
depends on SOC_GD32F407

View File

@@ -1,9 +0,0 @@
# Copyright (c) 2022, TOKITA Hiroshi <tokita.hiroshi@gmail.com>
# SPDX-License-Identifier: Apache-2.0
if BOARD_GD32F407V_START
config BOARD
default "gd32f407v_start"
endif # BOARD_GD32F407V_START

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config BOARD_GD32F407V_START
select SOC_GD32F407

View File

@@ -0,0 +1,5 @@
board:
name: gd32f407v_start
vendor: GigaDevice Semiconductor
socs:
- name: gd32f407

View File

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

@@ -1,10 +1,6 @@
# Copyright (c) 2022, TOKITA Hiroshi <tokita.hiroshi@gmail.com>
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_GD32F4XX=y
CONFIG_SOC_GD32F407=y
CONFIG_BOARD_GD32F407V_START=y
CONFIG_ARM_MPU=y
CONFIG_HW_STACK_PROTECTION=y