Skip to content

Commit

Permalink
Fix atomics (micro-ROS#121)
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Garrido <[email protected]>
  • Loading branch information
pablogs9 authored Jan 5, 2022
1 parent 5a754b6 commit 62ab577
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libmicroros.mk
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ ifeq ($(IDF_TARGET),$(filter $(IDF_TARGET),esp32s2 esp32c3))
$(X_AR) x $(UROS_DIR)/install/lib/librcutils.a; \
$(X_STRIP) atomic_64bits.c.obj --strip-symbol=__atomic_fetch_add_8; \
if [ $(IDF_VERSION_MAJOR) -ge 4 ] && [ $(IDF_VERSION_MINOR) -ge 3 ]; then \
$(X_STRIP) atomic_64bits.c.obj --strip-symbol=__atomic_load_8; \
$(X_STRIP) atomic_64bits.c.obj --strip-symbol=__atomic_store_8; \
$(X_STRIP) atomic_64bits.c.obj --strip-symbol=__atomic_exchange_8; \
fi; \
if [ $(IDF_VERSION_MAJOR) -ge 4 ] && [ $(IDF_VERSION_MINOR) -ge 4 ]; then \
Expand Down

0 comments on commit 62ab577

Please sign in to comment.