Location : OpenSTM32 Community Site » Documentation » System Workbench for STM32 » User Guide » Configuring build settings Configuring build settings

Configuring build settings

System Workbench for STM32 creates C/C++ preconfigured projects. You can modify or add build options to the projects.

The properties can be obtained for projects, folders and separate files. To select object properties, right click on object in view and select “Properties”.

C/C++ Settings

To define the build settings, click on “C/C++ Build” in the project properties windows then select “Settings”. In this panel, you can configure the build tools, the build artifacts and steps settings.

In the “Tool Settings” tab, the build options and commands are displayed. You can change build settings and add additional option flags for the compiler, linker and assembler tool.

In the “Build Steps” tab, prebuild and postbuild commands can be added.

In the “Build Artifact”, you can change the name and extention of the project output

In the “Target” tab, the chosen target is displayed. Changing target is not recommended. If you work with the ST firmware, many options won’t be matching to your project anymore. If you want to work on another target, we advise you to create a new project then copy the similar source code.

Path and Symbols

On this page, the include path, the symbols while building and the reference C/C++ project can be set. To access to this page, click on “C/C++ General” the select “Paths and Symbols”.

Although you can edit include path and symbols on the “C/C++ Build”>”Settings”>”Tool Settings”, we recommend you to set your include path in this panel because the general indexer and the tool settings will be updated.

Newest Forum Posts

  1. Write option bytes by Just1M, 2019-04-24 11:34
  2. Write option bytes by ihouses, 2019-04-24 08:26
  3. Update vs. install version discrepency by christelle.burguera, 2019-04-23 10:06
  4. Variables by anthony@churchillnavigation.com, 2019-04-22 16:52
  5. Symbol 'SysTick_IRQn' could not be resolved by bart@engine27.be, 2019-04-22 12:56
  6. Update vs. install version discrepency by gbabecki, 2019-04-19 19:41
  7. failed to install drivers while tried to install STM32 workbench on windows 8.1 pro by saidattu32, 2019-04-19 19:13
  8. STemWin Trainning Video - Can't find lab file by agiles chroms, 2019-04-19 18:53
  9. System Workbench for STM32 v2.9.0 release by vionf, 2019-04-19 10:06
  10. Update vs. install version discrepency by dautrevaux, 2019-04-19 08:45

Last-Modified Blogs