diff --git a/components/newlib/newlib.lf b/components/newlib/newlib.lf index d92c04fb0f..6485fc161c 100644 --- a/components/newlib/newlib.lf +++ b/components/newlib/newlib.lf @@ -5,3 +5,5 @@ entries: abort (noflash) assert (noflash) stdatomic (noflash) + if IDF_TARGET_ARCH_RISCV: + port_stdatomic (noflash)