Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Compiling Peer Manager and Flash Data Storage for a Linux desktop PC application

I am compiling and running an application (my Simulator) on my Linux desktop PC. I am using nRF5 SDK v15.2.0.

This application uses the Serialization Interface and communicates with a nordic development board as described in:

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v13.0.0%2Flib_serialization.html

Everythink works fine. Using my nRF-Connect App on my Smartphone, I can see my BLE device advertising and I can connect to it.

Now I want add bonding to my device. Therefore I need the Peer Manager:

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_fds.html

As I understod, I need to compile the Peer Manager for my Linux application. The Peer Manager itself requires the Flash Data Storage.

Trying to compile Flash Data Storage also, I am getting some comilation errors because the Flash Data Storage includes/uses the Atomic FIFO.

Those Atomic FIFO can not be compiled for my Linux application, because it contains some ARM asembler code.

I suppose those assembler code is required to be able for multi threading. Just for info, on I my application I have only a single thread.

Is there any Flash Data Storage sorces available, that I can compile for my Linux application?

Mybe there is another solution for my issue?

Parents Reply Children
Related