RIOT/cpu/gd32v/Kconfig
Koen Zandberg 3d470b0c12 cpu/gd32v: Initial include of the GD32VF103 device
This adds support for the gd32v class devices from Gigadevice. The
gd32vf103 contains an 108 MHz RISC-V core with similar peripherals as
the stm32f1 devices

Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2021-08-24 14:30:23 +02:00

39 lines
870 B
Plaintext

# Copyright (c) 2020 Inria
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
config CPU_FAM_GD32V
bool
select CPU_CORE_RV32I
select HAS_CPU_GD32V
select HAS_PERIPH_CLIC
select HAS_PERIPH_GPIO
select HAS_PERIPH_FLASHPAGE
select HAS_PERIPH_FLASHPAGE_PAGEWISE
select HAS_PERIPH_PM
select HAS_PERIPH_WDT
config CPU_MODEL_GD32VF103VBT6
bool
select CPU_FAM_GD32V
## Definition of specific features
config HAS_CPU_GD32V
bool
help
Indicates that a 'gd32v' cpu is being used.
config CPU_FAM
default "gd32v" if CPU_FAM_GD32V
config CPU_MODEL
default "gd32vf103vbt6" if CPU_MODEL_GD32VF103VBT6
config CPU
default "gd32v" if CPU_FAM_GD32V
source "$(RIOTCPU)/riscv_common/Kconfig"