I believe Steve made the commit, but now compa.h halts the compilation
of msp430-libc
[jpolas...@buzzing src]# make
msp430-gcc -x assembler-with-cpp -mmcu=msp430x110 -I./../include -I.
-Wa,-gstabs -D_GNU_ASSEMBLER_ -c gcrt0.S -o crt430x110.o
msp430-gcc -x assembler-with-cpp -mmcu=msp430x112 -I./../include -I.
-Wa,-gstabs -D_GNU_ASSEMBLER_ -c gcrt0.S -o crt430x112.o
msp430-gcc -x assembler-with-cpp -mmcu=msp430x1101 -I./../include -I.
-Wa,-gstabs -D_GNU_ASSEMBLER_ -c gcrt0.S -o crt430x1101.o
In file included from ../include/msp430x11x1.h:25,
from ../include/io.h:33,
from gcrt0.S:25:
../include/msp430/compa.h:44:42: missing ')' after "defined"
make: *** [crt430x1101.o] Error 1
[r...@buzzing src]# msp430-gcc --version
msp430-gcc (GCC) 3.2.3
[r...@buzzing src]# msp430-gcc --target-help
Target specific options:
-msave-prologue Use subroutine call for function
prologue/epilogue when possible
-mno-volatile-workaround Do not perform volatile workaround for
bitwise operations
-mno-stack-init No stack init in main()
-mIAR Produce IAR assembler syntax
-mnoint-hwmul Assume interrupt routine does not do
hardware multiply
-minline-hwmul Issue inline multiplication code for 32-bit integer
-mdisable-hwmul Disable hardware multiplier
-mforce-hwmul Force hardware multiplier
-mstrict-align Strict alignment for all structures
-mpgr Add stack information to profiler
-mpgl Add library profile information
-mpgs Add ordinary profile information
-mendup-at= Jump to specified routine at the end of main()
-mmcu= Specify the MCU name
-minit-stack= Specify the initial stack address
There are undocumented target specific options as well.
MSP430 options:
-mmcu=[msp430-name] select microcontroller type
msp430x110 msp430x112
msp430x1101 msp430x1111
msp430x1121 msp430x1122 msp430x1132
msp430x122 msp430x123
msp430x1222 msp430x1232
msp430x133 msp430x135
msp430x1331 msp430x1351
msp430x147 msp430x148 msp430x149
msp430x155 msp430x156 msp430x157
msp430x167 msp430x168 msp430x169
msp430x1610 msp430x1611 msp430x1612
msp430x311 msp430x312 msp430x313 msp430x314 msp430x315
msp430x323 msp430x325
msp430x336 msp430x337
msp430x412 msp430x413 msp430x415 msp430x417
msp430xE423 msp430xE425 msp430E427
msp430xW423 msp430xW425 msp430W427
msp430xG437 msp430xG438 msp430G439
msp430x435 msp430x436 msp430x437
msp430x447 msp430x448 msp430x449
Known MCU names:
msp1
msp2
msp430x110
msp430x112
msp430x1101
msp430x1111
msp430x1121
msp430x1122
msp430x1132
msp430x122
msp430x123
msp430x1222
msp430x1232
msp430x133
msp430x135
msp430x1331
msp430x1351
msp430x147
msp430x148
msp430x149
msp430x155
msp430x156
msp430x157
msp430x167
msp430x168
msp430x169
msp430x1610
msp430x1611
msp430x1612
msp430x311
msp430x312
msp430x313
msp430x314
msp430x315
msp430x323
msp430x325
msp430x336
msp430x337
msp430x412
msp430x413
msp430x415
msp430x417
msp430xE423
msp430xE425
msp430xE427
msp430xW423
msp430xW425
msp430xW427
msp430xG437
msp430xG438
msp430xG439
msp430x435
msp430x436
msp430x437
msp430x447
msp430x448
msp430x449
no emulation specific options.
-Joe