cortexm_common: Enable no_thread_idle for all architectures
This commit is contained in:
parent
ba58273b04
commit
eb73515e2c
@ -16,6 +16,7 @@ config CPU_ARCH_ARMV6M
|
||||
bool
|
||||
select HAS_ARCH_ARM
|
||||
select HAS_ARCH_32BIT
|
||||
select HAS_NO_IDLE_THREAD
|
||||
|
||||
config CPU_ARCH_ARMV7M
|
||||
bool
|
||||
|
||||
@ -33,9 +33,6 @@ else
|
||||
$(error Unkwnown cortexm core: $(CPU_CORE))
|
||||
endif
|
||||
|
||||
# cortex-m3 and higher don't need the idle thread
|
||||
ifneq (,$(filter armv7m armv8m,$(CPU_ARCH)))
|
||||
FEATURES_PROVIDED += no_idle_thread
|
||||
endif
|
||||
FEATURES_PROVIDED += no_idle_thread
|
||||
|
||||
KCONFIG_ADD_CONFIG += $(RIOTCPU)/cortexm_common/cortexm_common.config
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user