User manual

Project creation and build UM0036
90/385 Doc ID 7705 Rev 11
Include paths
The Include path field introduces the -I option in the command line. This option allows you
to specify search paths for files to be included during assembly. To enter a path, start typing
the path, or use the browse button to identify the path. When typing the path, the -I option
is automatically added to the command line.
To define a second path, type a semicolon (;) and then the second path. Again, the -I
option is automatically added to the command line.
4.6.2 ST Link tab
The ST Link tab provides you with an interface for setting linker and OBSEND options and
for defining segments in your microcontroller's memory to which sections of your code will
be assigned.
The gray Command line fields display changes as you make them. This tab contains two
Command line fields, one for the Linker step and the other for the OBSEND step.
Figure 60. ST Link tab
Automatic segment declaration
When the Auto checkbox is not checked, the Linker requires that segments be declared in
your applications source files.
When the Auto checkbox is checked, a configurable mapping is displayed in the Linker tab.
This mapping is used to automatically generate a file in assembly language (default name is
mapping.asm) that contains the declarations of memory segments to which you can assign
sections of code. You assign code to a memory segment by using the segment name that
you have specified in the mapping in your source code. For more information about
assigning code to memory segments, refer to your ST Assembler Linker User Manual.
Note: If you have declared segments in your source code and using the Linker tab, it is up to you
to ensure their consistency.