arm: move atomic operations selection to the Cortex-M Kconfig
Builtin might not be available for ARMv6 (Cortex-M0/M0+) depending on the toolchain used (not available by Zephyr's SDK GCC), so move the atomic operations selection to the Cortex-M family Kconfig file. Change-Id: I20a5a0c5fdd2bcff2d304139f5a7e8502fdb1cb3 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
This commit is contained in:
parent
da912ba68f
commit
b0e0c51b47
2 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,6 @@ config ARC
|
|||
|
||||
config ARM
|
||||
bool "ARM architecture"
|
||||
select ATOMIC_OPERATIONS_BUILTIN
|
||||
|
||||
config X86
|
||||
bool "x86 architecture"
|
||||
|
|
|
@ -49,6 +49,7 @@ config CPU_CORTEX_M3_M4
|
|||
bool
|
||||
# Omit prompt to signify "hidden" option
|
||||
default n
|
||||
select ATOMIC_OPERATIONS_BUILTIN
|
||||
select ISA_THUMB2
|
||||
help
|
||||
This option signifies the use of either a Cortex-M3 or Cortex-M4 CPU.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue