annotate gcc/config/msp430/msp430.opt @ 145:1830386684a0

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