VS Code extension doesnt change west workspace

I have two toolchains and two nrf SDKs installed. v2.4.1 and v2.6.1.

I could change the toolchain used from vs code extension, but I couldn't change the west workspace. It always points to v2.4.1, even when I select the mainfiest file in v2.6.1, it doesn't change.

Here is my folder structure:

I tried to press Manage west workspace -> then select v2.6.1 manifest file, but it doesn't work

My application is out of tree, and not under nrf SDK folder structure.

Parents Reply
  • Hi,

    Thanks for the note about adding the SDK folder to VS Code workspace.

    Even when I added the two SDK folders to VS code Workspace, still couldn't make the extension to switch between the two sdks. However, I found a workaround.

    If I need to select v2.4.1, I have to remove all SDK folders from the VS code workspace, add only v2.4.1 to the VS workspace, and re-initialize the extension. At this point, the extension selects v2.4.1 as the west workspace.

    I believe there is a bug or limitation on the extension. I hope you can find a more straightforward solution or a workaround.

Children
Related