nrf-connect.boardRoots with relative path

Hi 

I'm trying to add relative path to nrf-connect.boardRoots using 

"nrf-connect.boardRoots": ["${workspaceFolder}"]

It seems that "${workspaceFolder}" it is not known.

There is a way to use relative path, i need it because we are using git repo and it's cumbersome to use an absolute path because we have to change it for each branch

Best Regards,

Julien

Parents Reply
  • Hi Julien,

    Julien said:
    The board directory is located in same direction as settings.json

    Is this inside the .vscode directory? The workspace directory will be the directory that has the .vscode directory inside of it, not the .vscode directory itself.
    The structure should be similar to this:

    workspace_directory
       |___ .vscode
    |___settings.json |___ boards
    |___arm
    |___custom_board |___ ...

    Best regards,
    Marte

Children
Related