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

flash data storage on nRF51822 using mbed online compiler?

Anyone had a successful attempt at using the fds(flash data storage) module(http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Flib_fds.html&cp=4_0_0_3_30) on the nRF51822 on the mbed online compiler? I've been trying to make it work like in http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Flib_fds_usage.html with many errors(fds_evt_t not defined etc.) Where can I find a working example code for mbed-nRF51822-fds? Thank you in advance.

Parents
  • I'm using mbed OS 2 with the online compiler. drive.google.com/open Here are the project files.I'm using older versions of the BLE_API and the nRF SDK for compatibility with another main project. Ignore the original.cpp in the project files. The first error is "Error: Incomplete type is not allowed in "main.cpp", Line: 50, Col: 7" where the event handler is being declared. The cause for the error seems to be "fds_evt_t not found". Please point out if I missed any includes or if I did anything else wrong. Thank you!

Reply
  • I'm using mbed OS 2 with the online compiler. drive.google.com/open Here are the project files.I'm using older versions of the BLE_API and the nRF SDK for compatibility with another main project. Ignore the original.cpp in the project files. The first error is "Error: Incomplete type is not allowed in "main.cpp", Line: 50, Col: 7" where the event handler is being declared. The cause for the error seems to be "fds_evt_t not found". Please point out if I missed any includes or if I did anything else wrong. Thank you!

Children
No Data
Related