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

How to *add* an nRF5 SDK library to an *existing* project.

I still can't see anything in the SDK documentation which tells me how to add an nRF5 SDK library to an existing project.

Specifically:

  • What source file(s) do I need to add to the project?
  • What include path(s) do I need to add to the project?
  • What do I need to add to the SDK configuration header file, sdk_config.h?
  • Any other dependencies?

The examples aren't so helpful with this, because it is not clearly identified what is there purely for the sake of the example, and what is specifically required by the library.

The answer to my previous related question didn't help as it addressed only usage of the library once added - not the above questions

https://devzone.nordicsemi.com/f/nordic-q-a/26607/adding-libraries

Parents Reply Children
Related