mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 18:13:49 +01:00
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
|
bool
|
||||||
select HAS_ARCH_ARM
|
select HAS_ARCH_ARM
|
||||||
select HAS_ARCH_32BIT
|
select HAS_ARCH_32BIT
|
||||||
|
select HAS_NO_IDLE_THREAD
|
||||||
|
|
||||||
config CPU_ARCH_ARMV7M
|
config CPU_ARCH_ARMV7M
|
||||||
bool
|
bool
|
||||||
|
|||||||
@ -33,9 +33,6 @@ else
|
|||||||
$(error Unkwnown cortexm core: $(CPU_CORE))
|
$(error Unkwnown cortexm core: $(CPU_CORE))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# cortex-m3 and higher don't need the idle thread
|
|
||||||
ifneq (,$(filter armv7m armv8m,$(CPU_ARCH)))
|
|
||||||
FEATURES_PROVIDED += no_idle_thread
|
FEATURES_PROVIDED += no_idle_thread
|
||||||
endif
|
|
||||||
|
|
||||||
KCONFIG_ADD_CONFIG += $(RIOTCPU)/cortexm_common/cortexm_common.config
|
KCONFIG_ADD_CONFIG += $(RIOTCPU)/cortexm_common/cortexm_common.config
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user