Skip to content

Commit 2a5c378

Browse files
Felipe Nevescfriedt
authored andcommitted
soc: riscv: esp32c3: make use of atomic in C
esp32c3 SoC is an rv32imc, so it does not support the atomic builtin. Since it relies in atomic instructions. Signed-off-by: Felipe Neves <[email protected]>
1 parent 2474c9b commit 2a5c378

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

soc/riscv/esp32c3/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,7 @@ config XIP
2929
config ISR_STACK_SIZE
3030
default 2048
3131

32+
config ATOMIC_OPERATIONS_C
33+
default y
34+
3235
endif

0 commit comments

Comments
 (0)