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

VSCode nRF Connect Extension: Custom Boards when using Linux

Hello,

I have recently begun to use VSCode under Linux to develop with the nRF Connect SDK and have noticed a discrepancy in the extension's functionality when using Linux. I have a couple of custom boards defined and a project based on the out-of-tree board example. When I try to create a build configuration, I am not presented with the option to select custom boards as shown in the below image:

I have tried the advice in the following ticket https://devzone.nordicsemi.com/f/nordic-q-a/80318/using-vscode-with-my-own-projects-and-boards to add "nrf-connect.boardRoots" to the extension settings, and have set the directory to the workspace folder directly in the extension settings with no success.

When adding a build configuration in VSCode in Windows, using the same project files, the "custom boards" option is available as shown:

Hopefully I have not missed anything obvious and I greatly appreciate the support.

-Patrick

Parents
  • Hi Patrick, 

    Have you used the correct board structure? For eg, for 

    ncs/v1.9.1/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig the board root is ncs/v1.9.1/zephyr. And this is mentioned in the 
    nrf-connect.boardRoots setting. So the, the extension looks at all the directories within this array, and in the boards, it finds the arm directory which has the board details.
    If still your issue persists, kindly share the "Generate Support Information".
    Kind Regards,
    Priyanka
Reply
  • Hi Patrick, 

    Have you used the correct board structure? For eg, for 

    ncs/v1.9.1/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig the board root is ncs/v1.9.1/zephyr. And this is mentioned in the 
    nrf-connect.boardRoots setting. So the, the extension looks at all the directories within this array, and in the boards, it finds the arm directory which has the board details.
    If still your issue persists, kindly share the "Generate Support Information".
    Kind Regards,
    Priyanka
Children
Related