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