From b98527ef530459893b13a15cbd39b52d9c0e530e Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 27 Jul 2020 16:22:32 +0200 Subject: [PATCH] cpu: Add 'periph' module to Kconfig Select it from cortexm_common module as it is always needed. --- cpu/Kconfig | 6 ++++++ cpu/cortexm_common/Kconfig | 1 + 2 files changed, 7 insertions(+) diff --git a/cpu/Kconfig b/cpu/Kconfig index 8b7e8cc915..359432652b 100644 --- a/cpu/Kconfig +++ b/cpu/Kconfig @@ -58,3 +58,9 @@ config MOD_CPU depends on TEST_KCONFIG help Module which holds all CPU-specific files. + +config MOD_PERIPH + bool + depends on TEST_KCONFIG + help + CPU peripheral implementations module. diff --git a/cpu/cortexm_common/Kconfig b/cpu/cortexm_common/Kconfig index cc7daca23b..4641d4d8f1 100644 --- a/cpu/cortexm_common/Kconfig +++ b/cpu/cortexm_common/Kconfig @@ -8,6 +8,7 @@ config MOD_CORTEXM_COMMON bool default y if CPU_CORE_CORTEX_M depends on TEST_KCONFIG + select MOD_PERIPH help Common code for Cortex-M cores.