From e5355e57a12f8119b5b4610a3e854be31b0a502f Mon Sep 17 00:00:00 2001 From: Cao Sen Miao Date: Fri, 24 Mar 2023 11:18:55 +0800 Subject: [PATCH] newlib: Put atomic function in IRAM --- components/newlib/newlib.lf | 2 ++ 1 file changed, 2 insertions(+) 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)