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

Unexpected errors nRF COnnect SDK V1.6.0

Hello,

I inserted the following line in the prj.conf file:

CONFIG_I2C = y

done this when I compile I have 7 errors in a code not added by me. the example I'm editing is adv_scan.

Is it normal that the prj.conf file needs to be edited with an editor? Any suggestions to fix these errors?

I removed the added line in the prj.conf file, but it still gives the same errors.

Thanks in advance.

  • Hi,

    Are you reloading the project after making changes to prj.conf? In order for changes you make in prj.conf to apply to your project in SES, you must reload the project in some way, so that CMake is run again. If you have the project open in SES already, you can do this using one of the following methods:

    • Open the project again using Open nRF Connect SDK Project
    • Reload the project with Project > Reload project_name
    • Re-run CMake with Project > Run CMake

    Best regards,

    Marte

Related