mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
42 lines
807 B
Plaintext
42 lines
807 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_RV32IMAC
|
|
|
|
menu "GD32V configuration"
|
|
|
|
config CPU_MODEL_GD32VF103CBT6
|
|
bool
|
|
select CPU_FAM_GD32V
|
|
|
|
config CPU_MODEL_GD32VF103VBT6
|
|
bool
|
|
select CPU_FAM_GD32V
|
|
|
|
config CPU_FAM
|
|
default "gd32v" if CPU_FAM_GD32V
|
|
|
|
config CPU_MODEL
|
|
default "gd32vf103cbt6" if CPU_MODEL_GD32VF103CBT6
|
|
|
|
config CPU_MODEL
|
|
default "gd32vf103vbt6" if CPU_MODEL_GD32VF103VBT6
|
|
|
|
config CPU
|
|
default "gd32v" if CPU_FAM_GD32V
|
|
|
|
config CPU_CORE
|
|
default "rv32imac" if CPU_CORE_RV32IMAC
|
|
|
|
rsource "periph/Kconfig"
|
|
|
|
endmenu
|
|
|
|
source "$(RIOTCPU)/riscv_common/Kconfig"
|