1msim
2Target
3Use simulator runtime.
4
5mtiny-printf
6Target Report Mask(TINY_PRINTF)
7Use a lightweight configuration of printf and puts to reduce code size. For single-threaded applications, not requiring reentrant I/O only. Requires Newlib Nano IO.
8
9masm-hex
10Target Mask(ASM_HEX)
11Force assembly output to always use hex constants.
12
13mmcu=
14Target Report ToLower Joined RejectNegative Var(target_mcu)
15Specify the MCU to build for.
16
17mwarn-mcu
18Target Report Var(msp430_warn_mcu) Init(1)
19Warn if an MCU name is unrecognized or conflicts with other options (default: on).
20
21mwarn-devices-csv
22Target Report Var(msp430_warn_devices_csv) Init(1)
23Warn if devices.csv is not found or there are problem parsing it (default: on).
24
25mcpu=
26Target Report Joined RejectNegative Var(target_cpu)
27Specify the ISA to build for: msp430, msp430x, msp430xv2.
28
29mlarge
30Target Report Mask(LARGE) RejectNegative
31Select large model - 20-bit addresses/pointers.
32
33msmall
34Target Report InverseMask(LARGE) RejectNegative
35Select small model - 16-bit addresses/pointers (default).
36
37mrelax
38Target Report
39Optimize opcode sizes at link time.
40
41mOs
42Target Undocumented Mask(OPT_SPACE)
43
44minrt
45Target Report Mask(MINRT) RejectNegative
46Use a minimum runtime (no static initializers or ctors) for memory-constrained devices.
47
48HeaderInclude
49config/msp430/msp430-opts.h
50
51mhwmult=
52Target Joined RejectNegative Report ToLower Var(msp430_hwmult_type) Enum(msp430_hwmult_types) Init(MSP430_HWMULT_AUTO)
53Specify the type of hardware multiply to support.
54
55Enum
56Name(msp430_hwmult_types) Type(enum msp430_hwmult_types)
57
58EnumValue
59Enum(msp430_hwmult_types) String(none) Value(MSP430_HWMULT_NONE)
60
61EnumValue
62Enum(msp430_hwmult_types) String(auto) Value(MSP430_HWMULT_AUTO)
63
64EnumValue
65Enum(msp430_hwmult_types) String(16bit) Value(MSP430_HWMULT_SMALL)
66
67EnumValue
68Enum(msp430_hwmult_types) String(32bit) Value(MSP430_HWMULT_LARGE)
69
70EnumValue
71Enum(msp430_hwmult_types) String(f5series) Value(MSP430_HWMULT_F5SERIES)
72
73mcode-region=
74Target Joined RejectNegative Report ToLower Var(msp430_code_region) Enum(msp430_regions) Init(MSP430_REGION_LOWER)
75Specify whether functions should be placed into the lower or upper memory regions, or if they should be shuffled between the regions (either) for best fit (default: lower).
76
77mdata-region=
78Target Joined RejectNegative Report ToLower Var(msp430_data_region) Enum(msp430_regions) Init(MSP430_REGION_LOWER)
79Specify whether variables should be placed into the lower or upper memory regions, or if they should be shuffled between the regions (either) for best fit (default: lower).
80
81muse-lower-region-prefix
82Target Mask(USE_LOWER_REGION_PREFIX) Report
83Add the .lower prefix to section names when compiling with -m{code,data}-region=lower (disabled by default).
84
85Enum
86Name(msp430_regions) Type(enum msp430_regions)
87
88EnumValue
89Enum(msp430_regions) String(none) Value(MSP430_REGION_ANY)
90
91EnumValue
92Enum(msp430_regions) String(either) Value(MSP430_REGION_EITHER)
93
94EnumValue
95Enum(msp430_regions) String(lower) Value(MSP430_REGION_LOWER)
96
97EnumValue
98Enum(msp430_regions) String(upper) Value(MSP430_REGION_UPPER)
99
100msilicon-errata=
101Target Joined RejectNegative Report ToLower
102Passes on a request to the assembler to enable fixes for various silicon errata.
103
104msilicon-errata-warn=
105Target Joined RejectNegative Report ToLower
106Passes on a request to the assembler to warn about various silicon errata.
107
108mdevices-csv-loc=
109Target Joined Var(msp430_devices_csv_loc) RejectNegative Report
110The path to devices.csv.  The GCC driver can normally locate devices.csv itself
111and pass this option to the compiler, so the user shouldn't need to pass this.
112