How to change a workspace application SDK version

nRF Connect for VS Code

tags
nRF Connect for VS Code

Workspace applications define the version of nRF Connect SDK for the entire west workspace. In order to change the nRF Connect SDK version used by a workspace application:

  1. Select the build configuration that you want to upgrade to the new SDK version to make it the active build context.
  2. Open the west manifest file west.yml for editing:

    1. In the Welcome View, click Manage SDKs Manage SDKs.
    2. Click Manage west workspace.
    3. Click Open west manifest.
  3. In the file, find the sdk-nrf project entry.

    Tip

    If you don't see the entry, you might not be using a workspace application. See the Applications page and Zephyr's page about West Manifest for more information.

  4. Change the revision value to the desired version and save the file.

  5. Check in the modified west manifest into version control.
  6. Click Run west update in the Manage west workspace.
    You can also use the nRF Connect: West Update command from the Command Palette.
  7. Run a Pristine Build.