From 294694bb2fba8d0849d7e85a986bd9bdb98718e9 Mon Sep 17 00:00:00 2001 From: Matheus Castello Date: Sat, 11 Dec 2021 13:10:50 -0300 Subject: [PATCH] arch: arm: select LIBC_ARCH_ATOMIC when config ARCH_CHIP_RP2040 Use the common atomic operations when needed. Signed-off-by: Matheus Castello --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index bae94014c0..da0a5e74bb 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -233,6 +233,7 @@ config ARCH_CHIP_RP2040 select ARCH_HAVE_TESTSET select ARCH_HAVE_I2CRESET select ARM_HAVE_WFE_SEV + select LIBC_ARCH_ATOMIC ---help--- Raspberry Pi RP2040 architectures (ARM dual Cortex-M0+).