User manual
ST Assembler/Linker build tutorial UM0036
374/385 Doc ID 7705 Rev 11
Figure 304. Change the build configuration
To change the build configuration:
1. From the main menu bar, select Build>Configurations.
2. In the Project Configurations window, the active project name is in the Project field.
The current configuration is in bold type (Debug should be in bold type).
3. Select Release in the Configuration field and click on Set Active.
4. Click on Close.
RESULT:
In the Project Settings window (Project>Settingsā¦), the Settings For field is now set to
Release. In the General tab, the Output File specifies that output from the build be saved to
the Release folder in the working directory.
Note: Other toolchains allow you to apply a range of optimizations to improve the performance or
the size of your final application. Some of these optimizations have been applied by default
in the Release configuration, not the Debug configuration.
Applying project settings
The project settings that we applied in the debug configuration were not carried over into the
Release configuration. We must now go back and apply any necessary settings that were
not carried over.
1. Select Project>Settings from the main menu.
2. Click on the project realtime in the left hand field of the Project Settings window, in
order to view all of its folders.
3. Click on the Obsolete folder to view its contents.
4. Click on the tim_rtc.bat file, to see the tabs that are specific to this file.
5. Click to place a checkmark in the Exclude File from Build checkbox in the General
tab.
You have now re-applied the project settings as they were for the Debug version of the
application, except for -d DEBUG_IT 1, which we used to illustrate the use of the -d option.
Before continuing, click on the realtime in the left hand field of the Project Settings window,
so that we can see all the settings tabs for the project. You can now go to the next step,
Entering a user-defined command.