This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Peer Manager fail to save a bonding data in SDK11 and SDK12

Noticed this for gcc with -0s optimization an application fail to save a bonding data. It is caused by byte alignment of

 static uint8_t buffer_memory[(n_blocks) * (block_size)]; 

in the macro PM_BUFFER_INIT in (pm_buffer.h).

Related