Skip to content

How to change SDK versions

If you are upgrading the nRF Connect SDK version, make sure that it is present on the system by installing it using the Toolchain Manager.

Steps for changing the version of the nRF Connect SDK depend on your application type.

How to change a freestanding application SDK version

To change the nRF Connect SDK version used by a freestanding application:

  1. Open the VS Code workspace that contains the application.
  2. Use one of the following options:
    • Open the extension's Welcome page and expand the Quick Setup section.
    • Open the Command Palette and type in the nRF Connect: Select nRF Connect SDK version command.
  3. Select the desired SDK version.
  4. Check in the modified VS Code workspace settings into version control.
  5. Run a Pristine Build.

How to change a workspace application SDK version

In order to change the nRF Connect SDK version used by a workspace application:

  1. Open the west manifest file west.yaml for editing.
  2. Find the sdk-nrf project.
  3. Change the revision value to the desired version and save the file.
  4. Check in the modified west manifest into version control.
  5. Run a Pristine Build.

How to change the SDK toolchain version

Both freestanding and workspace application types use the nRF Connect SDK toolchain setting to resolve the toolchain path for building the application.

To change the nRF Connect SDK toolchain version:

  1. Open the VS Code workspace that contains the application.
  2. Use one of the following options:
    • Open the extension's Welcome page and expand the Quick Setup section.
    • Open the Command Palette and type in the nRF Connect: Select nRF Connect SDK Toolchain command.
  3. Select the desired toolchain version.
  4. Check in the modified VS Code workspace settings into version control.
  5. Run a Pristine Build.