mbed-os/targets/TARGET_NORDIC
Kevin Bracey 87396e0bf6 Assembler atomics
Reimplement atomic code in inline assembly. This can improve
optimisation, and avoids potential architectural problems with using
LDREX/STREX intrinsics.

API further extended:
* Bitwise operations (fetch_and/fetch_or/fetch_xor)
* fetch_add and fetch_sub (like incr/decr, but returning old value -
  aligning with C++11)
* compare_exchange_weak
* Explicit memory order specification
* Basic freestanding template overloads for C++

This gives our existing C implementation essentially all the functionality
needed by C++11.

An actual Atomic<T> template based upon these C functions could follow.
2019-04-26 13:12:35 +03:00
..
TARGET_MCU_NRF51822 Add testing pinmaps to NRF5X devices 2019-02-08 09:10:46 -06:00
TARGET_NRF5x Assembler atomics 2019-04-26 13:12:35 +03:00
mbed_rtx.h Remove obsolete OS_IDLE_THREAD_STACK_SIZE from NRF52 2018-05-08 15:51:39 -07:00