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

Using NRF9160 with Flash Circular Buffer (FCB)

Hey, everyone.

I am currently working with NRF9160, NCS V1.3.0, developing code for an application that requires periodically storing  important information in flash, and send the accumulated information whenever possible. I looked through the Zephyr libraries and came across with Flash Circular Buffer (FCB) and seems perfect for this use-case. 

I could not find an example code of its usage, though; I tried to put together a simple code following API instructions and fcb_init() returns negative error code (-EIO): I attempted to use "storage" partition. 

Could anyone, please, provide some guidance on how to use this library with the NRF9160 flash partitions?

Thanks in advance, 
Luis.

Parents Reply Children
No Data
Related