You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as we saw, there are two implementations for core_util_atomic_incr_u8() function:
For ARMv7 and newer, uses __LDREX() / __STREX()
For older architectures using critical section.
The implementation is selected according to __EXCLUSIVE_ACCESS define from core_cm.h.
We are building mbed_os for K64F which supports LDREX / STREX but the implementation goes to the critical section instead (verified by introducing a compilation error).