Skip to content

Migrating nRF Connect SDK versions

To change the version of the nRF Connect SDK, use the following instructions based on your application type.

Freestanding applications

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

  1. Open the VS Code workspace that contains the application.
  2. Either use the Quick Setup in the extension Welcome page or use 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.

    Note

    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.

Workspace applications

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

  1. Open west manifest file west.yaml.
  2. Find the sdk-nrf project.
  3. Change the revision value to the desired version.
  4. Check in the modified west manifest into version control.

Changing the nRF Connect SDK toolchain version

Both freestanding and workspace application types refer to the nRF Connect SDK toolchain setting to resolve the toolchain path that should be used for building the application.

In order to change the nRF Connect SDK toolchain version:

  1. Open the VS Code workspace that contains the application.
  2. Either use the Quick Setup in the extension Welcome page or use 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.
Back to top