nRF Connect - devicetree configuration build bug

After setting build configuration the prj.conf is detected as overlay file.



```
...
-- Found BOARD.dts: /home/deimos/ncs/v2.5.0/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832.dts
-- Found devicetree overlay: /home/deimos/Documents/BREEZE_BMS_nRF/BreezeWaveBLE/prj.conf
-- Found devicetree overlay: /home/deimos/Documents/BREEZE_BMS_nRF/BreezeWaveBLE/nrf52dk_nrf52832.overlay
-- Found devicetree overlay: nrf52dk_nrf52832.overlay
devicetree error: /home/deimos/Documents/BREEZE_BMS_nRF/BreezeWaveBLE/prj.conf:1 (column 1): parse error: expected '/' or label reference (&foo)
```

After modyfying DTC_OVERLAY_FILE:STRING in /build/CMakeCache.txt everything compiles correctly and works on SoC, yet currently on every instance of configuring new app, the build is with errors. 
Reinstalling nRF Connect didnt help.

Does anyone have the same issue?




Parents
  • Hi,

    If you've placed your overlay file within the project repository, for instance within <your_app>/boards/ the build system should automatically include the overlayfile corresponding to the board your building for given that you've named it the same. Same with prj.conf. 

    Could you build your project without specifying what .overlay and what prj.conf you're using, i.e as shown below

    Could you also post the .overlay-file you're using?

    Kind regards,
    Andreas

Reply
  • Hi,

    If you've placed your overlay file within the project repository, for instance within <your_app>/boards/ the build system should automatically include the overlayfile corresponding to the board your building for given that you've named it the same. Same with prj.conf. 

    Could you build your project without specifying what .overlay and what prj.conf you're using, i.e as shown below

    Could you also post the .overlay-file you're using?

    Kind regards,
    Andreas

Children
Related