| 1 |
msim |
| 2 |
Target |
| 3 |
Use simulator runtime. |
| 4 |
|
| 5 |
mtiny-printf |
| 6 |
Target Mask(TINY_PRINTF) |
| 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. |
| 8 |
|
| 9 |
masm-hex |
| 10 |
Target Mask(ASM_HEX) |
| 11 |
Force assembly output to always use hex constants. |
| 12 |
|
| 13 |
mmcu= |
| 14 |
Target ToLower Joined RejectNegative Var(target_mcu) |
| 15 |
Specify the MCU to build for. |
| 16 |
|
| 17 |
mwarn-mcu |
| 18 |
Target Var(msp430_warn_mcu) Init(1) |
| 19 |
Warn if an MCU name is unrecognized or conflicts with other options (default: on). |
| 20 |
|
| 21 |
mwarn-devices-csv |
| 22 |
Target Var(msp430_warn_devices_csv) Init(1) |
| 23 |
Warn if devices.csv is not found or there are problem parsing it (default: on). |
| 24 |
|
| 25 |
mcpu= |
| 26 |
Target Joined RejectNegative Var(target_cpu) ToLower Enum(msp430_cpu_types) Init(MSP430_CPU_MSP430X_DEFAULT) |
| 27 |
Specify the ISA to build for: msp430, msp430x, msp430xv2. |
| 28 |
|
| 29 |
Enum |
| 30 |
Name(msp430_cpu_types) Type(enum msp430_cpu_types) |
| 31 |
|
| 32 |
EnumValue |
| 33 |
Enum(msp430_cpu_types) String(msp430) Value(MSP430_CPU_MSP430) Canonical |
| 34 |
|
| 35 |
EnumValue |
| 36 |
Enum(msp430_cpu_types) String(430) Value(MSP430_CPU_MSP430) |
| 37 |
|
| 38 |
EnumValue |
| 39 |
Enum(msp430_cpu_types) String(msp430x) Value(MSP430_CPU_MSP430X) Canonical |
| 40 |
|
| 41 |
EnumValue |
| 42 |
Enum(msp430_cpu_types) String(430x) Value(MSP430_CPU_MSP430X) |
| 43 |
|
| 44 |
EnumValue |
| 45 |
Enum(msp430_cpu_types) String(msp430xv2) Value(MSP430_CPU_MSP430XV2) Canonical |
| 46 |
|
| 47 |
EnumValue |
| 48 |
Enum(msp430_cpu_types) String(430xv2) Value(MSP430_CPU_MSP430XV2) |
| 49 |
|
| 50 |
mlarge |
| 51 |
Target Mask(LARGE) RejectNegative |
| 52 |
Select large model - 20-bit addresses/pointers. |
| 53 |
|
| 54 |
msmall |
| 55 |
Target InverseMask(LARGE) RejectNegative |
| 56 |
Select small model - 16-bit addresses/pointers (default). |
| 57 |
|
| 58 |
mrelax |
| 59 |
Target |
| 60 |
Optimize opcode sizes at link time. |
| 61 |
|
| 62 |
mOs |
| 63 |
Target Undocumented Mask(OPT_SPACE) |
| 64 |
|
| 65 |
minrt |
| 66 |
Target Mask(MINRT) RejectNegative |
| 67 |
Use a minimum runtime (no static initializers or ctors) for memory-constrained devices. |
| 68 |
|
| 69 |
HeaderInclude |
| 70 |
config/msp430/msp430-opts.h |
| 71 |
|
| 72 |
mhwmult= |
| 73 |
Target Joined RejectNegative ToLower Var(msp430_hwmult_type) Enum(msp430_hwmult_types) Init(MSP430_HWMULT_AUTO) |
| 74 |
Specify the type of hardware multiply to support. |
| 75 |
|
| 76 |
Enum |
| 77 |
Name(msp430_hwmult_types) Type(enum msp430_hwmult_types) |
| 78 |
|
| 79 |
EnumValue |
| 80 |
Enum(msp430_hwmult_types) String(none) Value(MSP430_HWMULT_NONE) |
| 81 |
|
| 82 |
EnumValue |
| 83 |
Enum(msp430_hwmult_types) String(auto) Value(MSP430_HWMULT_AUTO) |
| 84 |
|
| 85 |
EnumValue |
| 86 |
Enum(msp430_hwmult_types) String(16bit) Value(MSP430_HWMULT_SMALL) |
| 87 |
|
| 88 |
EnumValue |
| 89 |
Enum(msp430_hwmult_types) String(32bit) Value(MSP430_HWMULT_LARGE) |
| 90 |
|
| 91 |
EnumValue |
| 92 |
Enum(msp430_hwmult_types) String(f5series) Value(MSP430_HWMULT_F5SERIES) |
| 93 |
|
| 94 |
mcode-region= |
| 95 |
Target Joined RejectNegative ToLower Var(msp430_code_region) Enum(msp430_regions) Init(MSP430_REGION_LOWER) |
| 96 |
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). |
| 97 |
|
| 98 |
mdata-region= |
| 99 |
Target Joined RejectNegative ToLower Var(msp430_data_region) Enum(msp430_regions) Init(MSP430_REGION_LOWER) |
| 100 |
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). |
| 101 |
|
| 102 |
muse-lower-region-prefix |
| 103 |
Target Mask(USE_LOWER_REGION_PREFIX) |
| 104 |
Add the .lower prefix to section names when compiling with -m{code,data}-region=lower (disabled by default). |
| 105 |
|
| 106 |
Enum |
| 107 |
Name(msp430_regions) Type(enum msp430_regions) |
| 108 |
|
| 109 |
EnumValue |
| 110 |
Enum(msp430_regions) String(none) Value(MSP430_REGION_ANY) |
| 111 |
|
| 112 |
EnumValue |
| 113 |
Enum(msp430_regions) String(either) Value(MSP430_REGION_EITHER) |
| 114 |
|
| 115 |
EnumValue |
| 116 |
Enum(msp430_regions) String(lower) Value(MSP430_REGION_LOWER) |
| 117 |
|
| 118 |
EnumValue |
| 119 |
Enum(msp430_regions) String(upper) Value(MSP430_REGION_UPPER) |
| 120 |
|
| 121 |
msilicon-errata= |
| 122 |
Target Joined RejectNegative ToLower |
| 123 |
Passes on a request to the assembler to enable fixes for various silicon errata. |
| 124 |
|
| 125 |
msilicon-errata-warn= |
| 126 |
Target Joined RejectNegative ToLower |
| 127 |
Passes on a request to the assembler to warn about various silicon errata. |
| 128 |
|
| 129 |
mdevices-csv-loc= |
| 130 |
Target Joined Var(msp430_devices_csv_loc) RejectNegative |
| 131 |
The path to devices.csv. The GCC driver can normally locate devices.csv itself |
| 132 |
and pass this option to the compiler, so the user shouldn't need to pass this. |
| 133 |
|
| 134 |
mmax-inline-shift= |
| 135 |
Target RejectNegative Joined UInteger IntegerRange(0,65) Var(msp430_max_inline_shift) Init(65) |
| 136 |
For shift operations by a constant amount, which require an individual instruction to shift by one |
| 137 |
position, set the maximum number of inline shift instructions (maximum value 64) to emit instead of using the corresponding __mspabi helper function. |
| 138 |
The default value is 4. |