Hello,
I'm experiencing NRF_ERROR_INTERNAL from a call to pm_peer_new(). While further investigating into this, it turned out, that the p_bonding_data parameter was checkt to be 4 bytes aligned deeper in fds.c / write_enqueue(). According to GCC, the alignment of pm_peer_data_const_t is 2 (this compiles fine):
#include <peer_manager_types.h> static_assert(alignof(pm_peer_data_bonding_t) == 2);
Is this a problem that only occurs with GCC?
best regards,
Torsten
SDK Version is 16.0.0