cortexm_common: Enable no_thread_idle for all architectures

This commit is contained in:
Koen Zandberg 2020-07-20 11:07:25 +02:00
parent ba58273b04
commit eb73515e2c
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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