From a015508e77a28374d81095e383b4a1dc2b4c449c Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 28 Sep 2021 16:41:59 +0200 Subject: [PATCH] cpu/gd32v: model Kconfig --- cpu/gd32v/Kconfig | 5 +++++ cpu/gd32v/periph/Kconfig | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 cpu/gd32v/periph/Kconfig diff --git a/cpu/gd32v/Kconfig b/cpu/gd32v/Kconfig index c705279676..d34071cc44 100644 --- a/cpu/gd32v/Kconfig +++ b/cpu/gd32v/Kconfig @@ -18,6 +18,9 @@ config CPU_FAM_GD32V select HAS_PERIPH_TIMER_PERIODIC 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 bool select CPU_FAM_GD32V @@ -40,4 +43,6 @@ config CPU config CPU_CORE default "rv32imac" if CPU_CORE_RV32IMAC +rsource "periph/Kconfig" + source "$(RIOTCPU)/riscv_common/Kconfig" diff --git a/cpu/gd32v/periph/Kconfig b/cpu/gd32v/periph/Kconfig new file mode 100644 index 0000000000..afb807b287 --- /dev/null +++ b/cpu/gd32v/periph/Kconfig @@ -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