SLAU646F September 2015 – June 2020
Figure 3-4 shows the MSP430 GCC Runtime settings window.
Table 3-2 describes the options that are available for MSP430 GCC Runtime settings.
Option | Description |
---|---|
Target CPU (-mcpu) | Specifies the Instruction Set Architecture (ISA) to use. Accepted values are msp430, msp430x, and msp430xv2. This option is deprecated. The '-mmcu=' option should be used to select the ISA. |
Target MCU (-mmcu) | Select the MCU to target. This is used to create a C preprocessor symbol based on the MCU name, converted to upper case and prefixed and postfixed with__. This in turn is used by the msp430.h header file to select an MCU-specific supplementary header file.
The option also sets the ISA to use. If the MCU name is one that is known to only support the 430 ISA then that is selected, otherwise the 430X ISA is selected. A generic MCU name of msp430 can also be used to select the 430 ISA. Similarly, the generic msp430x MCU name selects the 430X ISA. In addition, an MCU-specific linker script is added to the linker command line. The script's name is the name of the MCU with ".ld" appended. Thus, specifying '-mmcu=xxx' on the gcc command line defines the C preprocessor symbol __XXX__ and causes the linker to search for a script called 'xxx.ld'. This option is also passed to the assembler. |
Generate run time type descriptor information | Enable or disable generation of information about every class with virtual functions for use by the C++ runtime type identification features.
|
Enable exception handling | Enable or disable exception handling. Generates extra code needed to propagate exceptions.
|