cpu/gd32v: model Kconfig
This commit is contained in:
parent
fe8e043c36
commit
a015508e77
@ -18,6 +18,9 @@ config CPU_FAM_GD32V
|
|||||||
select HAS_PERIPH_TIMER_PERIODIC
|
select HAS_PERIPH_TIMER_PERIODIC
|
||||||
select HAS_PERIPH_WDT
|
select HAS_PERIPH_WDT
|
||||||
|
|
||||||
|
select MODULE_PERIPH_CLIC if TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_WDT if MODULE_PERIPH_PM && HAS_PERIPH_WDT
|
||||||
|
|
||||||
config CPU_MODEL_GD32VF103VBT6
|
config CPU_MODEL_GD32VF103VBT6
|
||||||
bool
|
bool
|
||||||
select CPU_FAM_GD32V
|
select CPU_FAM_GD32V
|
||||||
@ -40,4 +43,6 @@ config CPU
|
|||||||
config CPU_CORE
|
config CPU_CORE
|
||||||
default "rv32imac" if CPU_CORE_RV32IMAC
|
default "rv32imac" if CPU_CORE_RV32IMAC
|
||||||
|
|
||||||
|
rsource "periph/Kconfig"
|
||||||
|
|
||||||
source "$(RIOTCPU)/riscv_common/Kconfig"
|
source "$(RIOTCPU)/riscv_common/Kconfig"
|
||||||
|
|||||||
10
cpu/gd32v/periph/Kconfig
Normal file
10
cpu/gd32v/periph/Kconfig
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Copyright (c) 2021 HAW Hamburg
|
||||||
|
#
|
||||||
|
# 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 MODULE_PERIPH
|
||||||
|
bool
|
||||||
|
default y
|
||||||
Loading…
x
Reference in New Issue
Block a user