Hello,
I am migrating our production code from SDK14.2 to SDK16, and switching to using FreeRTOS. During the BLE initialization and bonding, I get a system reboot. Tracking it down, it happens in this line in nrf_atomic_internal.h:
#define NRF_ATOMIC_OP_sub(new_val, old_val, value) "sub %["#new_val"], %["#old_val"], %["#value"]\n"
It originated from security_dispatcher.c: