User manual
UM0036 Your STVD graphical environment
Doc ID 7705 Rev 11 73/385
Note: Most options for the supported toolsets can be set in the Project Settings window. However,
if there is an option that is not incorporated in the Project Settings interface, you can add it to
the command line using the User Defined Options field.
Table 27. Migration steps 3-5
Step Related information
STEP 3: In the General tab, confirm
that the toolset paths correspond to the
installation on your PC. Some paths
depend on options specified in the
project settings.
For Metrowerks users
, the library path used corresponds to the output
format set in the Compiler tab:
• for Hiware format - lib\ST7c\lib,
• for ELF/DWARF 2.0 format - lib\ST7c\lib.e20
You can specify the ELF/DWARF 2.0 format by selecting Output in the
Category list box, and then checking ELF/DWARF 2.0 format.
(1)
STEP 4: In the MCU Selection tab,
select the target microcontroller.
STEP 5: In the Compiler tab, confirm
the command line options in the gray
Command Line window at the bottom
of the tab (all compilers).
Cosmic users
can specify additional include directories. Select
Preprocessor in the Category list box and enter the file and the path in
the field provided.
Metrowerks users
can specify extra include files and their paths. Select
Input in the Category list box and enter the file and the path in the fields
provided.
For details on the available options for your toolset refer to Section 4.5:
Configuring project settings on page 84.
1. It is highly recommended that you use the ELF/DWARF 2.0 format rather than the Hiware format. The ELF/DWARF 2.0
format is more powerful and the debug information is more reliable.
Table 28. Migration steps 6 and 7
Step Related information
STEP 6:In the Assembler tab, confirm
the command line options in the gray
Command Line window at the bottom
of the tab (all compilers
).
Metrowerks users
can specify extra include paths. Select General in the
Category list box and enter the pathname.
ST Assembler Linker
users can specify additional include paths in the
provided field.
For details on the available options for your toolset refer to Section 4.5:
Configuring project settings on page 84.