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

No sdk_config.h file for Application Timer Tutorial

The app_time_tutorial.zip file I downloaded for the Application Timer Tutorial does not contain a sdk_config file despite the #include "sdk_config.h statement included in multiple files. Therefore, the project does not compile, and throws multiple instances of this error

cannot open source input file "sdk_config.h": no such file or directory

So I am confused. Why does this project not contain the sdk_config file? Where can I find an appropriate config file to make this project not only compile, but also run properly as intended.

Thanks

  • Well, I was able to find a candidate config file to use (the project compiles; no comment on if the app works or not).

    I deleted the include path

    ....\config\pca10040

    And add the new include path for the directory

    nordic sdk root > config

    becuase apparently this directory doesn't exist

    nordic sdk root > config > pca10040

    My guess is the tutorial was written for an older SDK version zip file with a different directory structure...

  • Hi,

    The tutorial states that you will need "nRF5 SDK version 11", which is the version of the SDK the tutorial was written for. The file sdk_config.h was first introduced in SDK 12.0.0.The files that try to include sdk_config.h in your project is most likely part of the SDK, and not of the project itself. You will have to use SDK 11.0.0 if you want to run the tutorial with the provided project.

    Best regards,

    Jørgen

Related