Browse Source
Port the only RISC-V SoC from GigaDevice to HWMv2. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>pull/69687/head
17 changed files with 34 additions and 70 deletions
@ -0,0 +1,20 @@ |
|||||||
|
# GD32VF103 SOC configuration options |
||||||
|
|
||||||
|
# Copyright (c) 2021 Tokita, Hiroshi <tokita.hiroshi@gmail.com> |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config SOC_SERIES_GD32VF103 |
||||||
|
bool |
||||||
|
select SOC_FAMILY_GD_GD32 |
||||||
|
help |
||||||
|
Enable support for GigaDevice GD32VF103 MCU series |
||||||
|
|
||||||
|
config SOC_SERIES |
||||||
|
default "gd32vf103" if SOC_SERIES_GD32VF103 |
||||||
|
|
||||||
|
config SOC_GD32VF103 |
||||||
|
bool |
||||||
|
select SOC_SERIES_GD32VF103 |
||||||
|
|
||||||
|
config SOC |
||||||
|
default "gd32vf103" if SOC_GD32VF103 |
@ -1,4 +0,0 @@ |
|||||||
# Copyright (c) 2024 Nordic Semiconductor |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
add_subdirectory(${SOC_SERIES}) |
|
@ -1,15 +0,0 @@ |
|||||||
# Copyright (c) 2024 Nordic Semiconductor ASA |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config SOC_FAMILY_GD32 |
|
||||||
bool |
|
||||||
|
|
||||||
if SOC_FAMILY_GD32 |
|
||||||
|
|
||||||
config SOC_FAMILY |
|
||||||
string |
|
||||||
default "gd_gd32" |
|
||||||
|
|
||||||
source "soc/soc_legacy/riscv/gd_gd32/*/Kconfig.soc" |
|
||||||
|
|
||||||
endif # SOC_FAMILY_GIGADEVICE_GD32 |
|
@ -1,4 +0,0 @@ |
|||||||
# Copyright (c) 2024 Nordic Semiconductor ASA |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
source "soc/soc_legacy/riscv/gd_gd32/*/Kconfig.defconfig.series" |
|
@ -1,4 +0,0 @@ |
|||||||
# Copyright (c) 2024 Nordic Semiconductor ASA |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
source "soc/soc_legacy/riscv/gd_gd32/*/Kconfig.series" |
|
@ -1,19 +0,0 @@ |
|||||||
# GD32VF103 SOC configuration options |
|
||||||
|
|
||||||
# Copyright (c) 2021 Tokita, Hiroshi <tokita.hiroshi@gmail.com> |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
choice |
|
||||||
prompt "GigaDevice GD32VF103 SOC implementation" |
|
||||||
depends on SOC_SERIES_GD32VF103 |
|
||||||
|
|
||||||
config SOC_GD32VF103 |
|
||||||
bool "GD32VF103" |
|
||||||
select RISCV_ISA_RV32I |
|
||||||
select RISCV_ISA_EXT_M |
|
||||||
select RISCV_ISA_EXT_A |
|
||||||
select RISCV_ISA_EXT_C |
|
||||||
select RISCV_ISA_EXT_ZICSR |
|
||||||
select RISCV_ISA_EXT_ZIFENCEI |
|
||||||
|
|
||||||
endchoice |
|
Loading…
Reference in new issue