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

date_time.h missing

Hi
there is the library date_time that I don't found in the V1.2.0 of nrf. How this library can be used?

Thanks

Federico

Parents
  • Hi,

    The date_time lib was added after NCS v1.2 release. It's available on master branch.

    If you are on NCS v1.2 tag, you can cherry-pick the commit(s) that added the date_time lib to your NCS v1.2 repo. Run these commands in the nrf folder:

    git fetch --all
    git cherry-pick 1e6e3e3530be53f5a61794fbc30c6c7f58f6f4d3
    git cherry-pick 50e8f1bfe4602932065542721fae2be43e14b623

    1e6e3e3530be53f5a61794fbc30c6c7f58f6f4d3 is this commit.

    50e8f1bfe4602932065542721fae2be43e14b623 is this commit.

Reply
  • Hi,

    The date_time lib was added after NCS v1.2 release. It's available on master branch.

    If you are on NCS v1.2 tag, you can cherry-pick the commit(s) that added the date_time lib to your NCS v1.2 repo. Run these commands in the nrf folder:

    git fetch --all
    git cherry-pick 1e6e3e3530be53f5a61794fbc30c6c7f58f6f4d3
    git cherry-pick 50e8f1bfe4602932065542721fae2be43e14b623

    1e6e3e3530be53f5a61794fbc30c6c7f58f6f4d3 is this commit.

    50e8f1bfe4602932065542721fae2be43e14b623 is this commit.

Children
Related