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

How i write one or two bytes into flash memory using fds lib?

I am using nRF52840 with sdk 15.0 version. I am able to read OR write data into flash using fds library. But now i want to write one or two bytes into flash and read this bytes,  how i know the length of that byte while reading data from flash. I know fds library need to at least 4 bytes

For example i want to write integer value 1 or 0. How this possible write and also read with length of read data.

Thanks......

Related