Hi ,
I have been tryiing out the flash_storage example in the SDK /examples/pheripherals/flash_storage . The flash storage , permits us to write hello world to any memory location, however if i define another static char temp_data [] = " test data to be stored" . If i use the variable temp_data to store to a specific memory it throws into error statement upon execution. Could you help me out.
rc = nrf_fstorage_write(&fstorage, 0x3f000, m_hello_world, sizeof(m_hello_world), NULL); if I change it with
rc = nrf_fstorage_write(&fstorage, 0x3f000, temp_data, sizeof(temp_data), NULL); // This condition falls to error upon execution.
Thanks,