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

NRF5 SDK dependency tree

Hi,

Is there any kind of dependency tree for the libraries and drivers of the SDK (NRF5)?

I have been searching the Infocenter documentation but I haven't found anything.

I want to add from scratch the CLI library to my code but it uses a lot of other libraries, like the queue library and many orthers.

If I have this information it would be much easier to add the include path and the source code to the make file (i'm using gcc).

The sdk_config file is not so difficult to understand, but it would be nice to have some information about it.

I know that I can take de CLI example and start from there, but the idea is to use the SDK from my own projects.

Thanks very much in advance.

José Forno

Parents Reply
  • Hi,

    The only reference to the Power Management library that I can find in the CLI library is these lines:

    #if NRF_MODULE_ENABLED(NRF_PWR_MGMT)
            nrf_pwr_mgmt_feed();
    #endif

    If you make sure that the power management library is not enabled in your sdk_config.h file, there should not be any other dependencies to this library.

    // <e> NRF_PWR_MGMT_ENABLED - nrf_pwr_mgmt - Power management module
    //==========================================================
    #ifndef NRF_PWR_MGMT_ENABLED
    #define NRF_PWR_MGMT_ENABLED 0
    #endif

    Best regards,
    Jørgen

Children
No Data
Related