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:
- Open the VS Code workspace that contains the application.
- Either use the Quick Setup in the extension Welcome page or use the
nRF Connect: Select nRF Connect SDK version
command. - Select the desired SDK version.
-
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:
- Open west manifest file
west.yaml
. - Find the
sdk-nrf
project. - Change the
revision
value to the desired version. - 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:
- Open the VS Code workspace that contains the application.
- Either use the Quick Setup in the extension Welcome page or use the
nRF Connect: Select nRF Connect SDK Toolchain
command. - Select the desired toolchain version.
- Check in the modified VS Code workspace settings into version control.