Skip to content

Commit 62ab577

Browse files
authored
Fix atomics (#121)
Signed-off-by: Pablo Garrido <pablogs9@gmail.com>
1 parent 5a754b6 commit 62ab577

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

libmicroros.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ ifeq ($(IDF_TARGET),$(filter $(IDF_TARGET),esp32s2 esp32c3))
109109
$(X_AR) x $(UROS_DIR)/install/lib/librcutils.a; \
110110
$(X_STRIP) atomic_64bits.c.obj --strip-symbol=__atomic_fetch_add_8; \
111111
if [ $(IDF_VERSION_MAJOR) -ge 4 ] && [ $(IDF_VERSION_MINOR) -ge 3 ]; then \
112+
$(X_STRIP) atomic_64bits.c.obj --strip-symbol=__atomic_load_8; \
113+
$(X_STRIP) atomic_64bits.c.obj --strip-symbol=__atomic_store_8; \
112114
$(X_STRIP) atomic_64bits.c.obj --strip-symbol=__atomic_exchange_8; \
113115
fi; \
114116
if [ $(IDF_VERSION_MAJOR) -ge 4 ] && [ $(IDF_VERSION_MINOR) -ge 4 ]; then \

0 commit comments

Comments
 (0)