You can make changes to the configurations for any application you have already built. For example, you can edit a build configuration to select a different SDK or toolchain version, select a different Kconfig fragment file, change the setting for the sysbuild usage, pick a different Optimization level (size, speed, or debugging), and so on.
To edit a build configuration, complete the following steps:
-
In the Applications View, hover with your mouse over the build directory that contains the files you want to edit.
The build configuration details notification appears. -
Click Edit Build Configuration at the bottom of the notification.
The Edit Build Configuration screen opens, with the Generate only checkbox option deselected by default. -
Make the desired edits.
See the fields' tooltips and the UI and reference section.Tip
You cannot change the SDK version for repository applications by editing their build configurations. This is because these applications are bound with the SDK source code repository they are located in. For workspace applications, you can edit the west manifest file to change the SDK version.
-
Click Generate and Build to save your changes.
This will be Generate if you selected the Generate only checkbox option.
The build configuration is rebuilt pristinely with the updated settings. During this process, most of the views are unavailable.
Tip
You can customize the Build action by assigning different tasks to it. Read Build and flash task configuration for more information.