mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/cortexm_common: Rename arch_cortexm feature to cpu_core_cortexm
This commit is contained in:
parent
4d65bc8e0a
commit
649017f0b2
@ -1071,6 +1071,9 @@ FEATURES_OPTIONAL += periph_pm
|
||||
# always select provided architecture features
|
||||
FEATURES_REQUIRED += $(filter arch_%,$(FEATURES_PROVIDED))
|
||||
|
||||
# always select CPU core features
|
||||
FEATURES_REQUIRED += $(filter cpu_core_%,$(FEATURES_PROVIDED))
|
||||
|
||||
ifneq (,$(filter ecc_%,$(USEMODULE)))
|
||||
USEMODULE += ecc
|
||||
endif
|
||||
|
@ -26,7 +26,7 @@ config CPU_ARCH
|
||||
|
||||
config CPU_CORE_CORTEX_M
|
||||
bool
|
||||
select HAS_ARCH_CORTEXM
|
||||
select HAS_CPU_CORE_CORTEXM
|
||||
select HAS_PERIPH_PM
|
||||
select HAS_CPP
|
||||
select HAS_CPU_CHECK_ADDRESS
|
||||
@ -81,10 +81,10 @@ config CPU_CORE_CORTEX_M7
|
||||
select HAS_CORTEXM_FPU
|
||||
|
||||
## Definition of specific features
|
||||
config HAS_ARCH_CORTEXM
|
||||
config HAS_CPU_CORE_CORTEXM
|
||||
bool
|
||||
help
|
||||
Indicates that the current architecture is ARM Cortex-M.
|
||||
Indicates that the current CPU has an ARM Cortex-M core.
|
||||
|
||||
config HAS_ARCH_ARM
|
||||
bool
|
||||
|
@ -1,6 +1,6 @@
|
||||
FEATURES_PROVIDED += arch_32bit
|
||||
FEATURES_PROVIDED += arch_arm
|
||||
FEATURES_PROVIDED += arch_cortexm
|
||||
FEATURES_PROVIDED += cpu_core_cortexm
|
||||
FEATURES_PROVIDED += periph_pm
|
||||
FEATURES_PROVIDED += cortexm_svc
|
||||
FEATURES_PROVIDED += cpp
|
||||
|
@ -53,5 +53,5 @@ endif
|
||||
|
||||
ifneq (,$(filter stdio_semihosting,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += arch_cortexm
|
||||
FEATURES_REQUIRED += cpu_core_cortexm
|
||||
endif
|
||||
|
@ -1 +1 @@
|
||||
FEATURES_REQUIRED += arch_cortexm
|
||||
FEATURES_REQUIRED += cpu_core_cortexm
|
||||
|
@ -7,8 +7,8 @@ BLOBS += input
|
||||
|
||||
# Boards that were tested and are known to work
|
||||
# This package only works with Cortex M3, M4 and M7 CPUs but there's no easy
|
||||
# way provided by the build system to filter them at that level (arch_cortexm is
|
||||
# the only feature available) for the moment.
|
||||
# way provided by the build system to filter them at that level
|
||||
# (cpu_core_cortexm is the only feature available) for the moment.
|
||||
BOARD_WHITELIST := \
|
||||
b-l475e-iot01a \
|
||||
iotlab-m3 \
|
||||
|
Loading…
Reference in New Issue
Block a user