BOARD_ROOT

I am working with SDK v2.3.0 and a custom board with nRF9160

When I wanted to start my project again after some time, the build configuration had disappeared.

And creating a new one is no longer possible. While building the configuration, the following message appears:


 BOARD_ROOT element without a 'boards' subdirectory:

  /usr
  

But the west command has this option

-DBOARD_ROOT:STRING="c:/Repos/Nordic/YYYYY"

Apparently BOARD_ROOT is being overwritten. What could be the cause of that?

Parents
  • Hi, 

    This was a bit strange. So you can't see the old build config in VScode and you can't create a new one? And your custom pcb folder is located inside the project in a folder named boards? Just for the fun of it. If you just copy out your custom board folder, what happens then? 
    Also, if possible, could you upload the project so I can try to replicate it?

    Regards

    Runar

Reply
  • Hi, 

    This was a bit strange. So you can't see the old build config in VScode and you can't create a new one? And your custom pcb folder is located inside the project in a folder named boards? Just for the fun of it. If you just copy out your custom board folder, what happens then? 
    Also, if possible, could you upload the project so I can try to replicate it?

    Regards

    Runar

Children
Related