Syntax
-Rv, name
Description
The -Rv command line option sets the name of the default vector table section that the compiler emits interrupt vectors into. If no other options are given, the default name for the section is INTVEC.
You can control the name of the vector table section used by the compiler within a source file using the vectorseg pragma or by using CrossStudio to set the Vector Section Name property of the file or project.
Setting this in CrossStudio
To set the default interrupt vector section name for a project:
- Select the project in the Project Explorer.
- In the Section Options group edit the Vector Section Name property.
To set the default code section name for a particular file:
- Select the file in the Project Explorer.
- In the Section Options group edit the Vector Section Name property.
Example
The following command line option instructs the compiler to use the name IVDATA as the default vector section name and to initially generate all interrupt vectors into that section.
-Rv,IVDATA