Hi,
i am trying to save data with the flash data storage module. Using this code (infocenter.nordicsemi.com/index.jsp from infocenter erverything works fine. But when i want to store my own value i get an "initializer element is not constant" error. The only thing i am changing is replacing
static uint32_t const m_deadbeef = 0xDEADBEEF;
with my own variable:
static uint32_t const m_deadbeef = (uint32_t)my_own_data;
my_own_data is defined outside the write function and populated during runtime. I am using "nRF5 SDK v13.0.0" with softdevice 132.
Any ideas? Thank you.