Skip to content

Commit

Permalink
cortexm_common: Enable no_thread_idle for all architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
bergzand committed Sep 23, 2020
1 parent ba58273 commit eb73515
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions cpu/cortexm_common/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions cpu/cortexm_common/Makefile.features
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit eb73515

Please sign in to comment.