diff --git a/cpu/cortexm_common/Kconfig b/cpu/cortexm_common/Kconfig index 47ddc0deda..cc7daca23b 100644 --- a/cpu/cortexm_common/Kconfig +++ b/cpu/cortexm_common/Kconfig @@ -4,6 +4,13 @@ # General Public License v2.1. See the file LICENSE in the top level # directory for more details. +config MOD_CORTEXM_COMMON + bool + default y if CPU_CORE_CORTEX_M + depends on TEST_KCONFIG + help + Common code for Cortex-M cores. + config CPU_ARCH_ARMV6M bool select HAS_ARCH_ARM @@ -103,3 +110,11 @@ config HAS_CORTEXM_SVC bool help Indicates that ARM Cortex-M Supervisor Calls are available. + +config MOD_CORTEXM_FPU + bool "Cortex-M Floating Point Unit (FPU) support" + default y + depends on HAS_CORTEXM_FPU + depends on TEST_KCONFIG + +rsource "periph/Kconfig" diff --git a/cpu/cortexm_common/periph/Kconfig b/cpu/cortexm_common/periph/Kconfig new file mode 100644 index 0000000000..ff79084188 --- /dev/null +++ b/cpu/cortexm_common/periph/Kconfig @@ -0,0 +1,13 @@ +# Copyright (c) 2020 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 MOD_CORTEXM_COMMON_PERIPH + bool + default y if CPU_CORE_CORTEX_M + depends on TEST_KCONFIG + help + Common code for Cortex-M core peripherals.