cpu/cortexm_common: Model cortexm_common modules
This models cortexm_common and cortexm_common_periph modules.
This commit is contained in:
parent
4ad2180f81
commit
2d53003ee2
@ -4,6 +4,13 @@
|
|||||||
# General Public License v2.1. See the file LICENSE in the top level
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# 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
|
config CPU_ARCH_ARMV6M
|
||||||
bool
|
bool
|
||||||
select HAS_ARCH_ARM
|
select HAS_ARCH_ARM
|
||||||
@ -103,3 +110,11 @@ config HAS_CORTEXM_SVC
|
|||||||
bool
|
bool
|
||||||
help
|
help
|
||||||
Indicates that ARM Cortex-M Supervisor Calls are available.
|
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"
|
||||||
|
|||||||
13
cpu/cortexm_common/periph/Kconfig
Normal file
13
cpu/cortexm_common/periph/Kconfig
Normal file
@ -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.
|
||||||
Loading…
x
Reference in New Issue
Block a user