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

Importing libraries for nRF9160dk and using nrfx libraries in zephyr

Hello,

I am working on nRF9160DK. I am using SES for ARM (Nordic edition).

How can I import new libraries for any project? Let's say I want to import SD card libraries which are present in SDK. Is it possible to use these libraries with nRF9160DK?

If I want to use fatfs example from SDK on nRF9160DK, is it possible? nrfx_spim drivers and ff library are already included in the project. Now I want to import SD card libraries (app_sdcard), so how it can be done? What changes are required in prj.conf file? And how can I use nrfx libraries (SPIM)in Zephyr?

Parents
  • Hi!

    I'm not sure I understand what you're asking.

    Any library available in NCS can be added to your project by including the relevant header file and enabling the relevant configs, like you mention.

    As far as I can tell, the SD card library is only available in the nRF5 SDK, so to use it in NCS you will have to port it first.

    Best regards,

    Heidi

Reply
  • Hi!

    I'm not sure I understand what you're asking.

    Any library available in NCS can be added to your project by including the relevant header file and enabling the relevant configs, like you mention.

    As far as I can tell, the SD card library is only available in the nRF5 SDK, so to use it in NCS you will have to port it first.

    Best regards,

    Heidi

Children
Related