This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF Connect - Changes to prj.conf not shown in autoconf.h even after Project reload.

As title says, I cannot get anything to change in autoconf.h after changing the corresponding value in prj.conf using nRF Connect samples. I have tried both Project-->Reload <project_name> and reopening the entire nRF project via File-->Open nRF Connect SDK Project. 

For example, I am working on the direction_finding_connectionless_tx example. One of the macros in the prj.conf file is: 

CONFIG_BT_DEVICE_NAME="DF Connectionless Beacon App"
If I change this to any other name, e.g. "Test", I cannot see the change in autoconf.h after the above steps. Same story for any of the boolean vars too.
  • Ah, the last reply made me realize my mistake. I was looking in wrong path the whole time and I was changing the prj.conf for the wrong example. In case anyone else runs into this, there are 2 spots where the example can be: 

    1. ...\ncs\v1.6.1\zephyr\samples\bluetooth\direction_finding_connectionless_tx

    or 2. ...\ncs\v1.6.1\nrf\samples\bluetooth\direction_finding_connectionless_tx

    I didn't realize the 2nd path existed since I was only looking at the Zephyr documentation which told me to work from the first path. Thanks for the help. 

Related