|mspgcc: A port of the GNU tools to the Texas Instruments MSP430 microcontrollers|
|<<< Previous||Next >>>|
at the top of your Makefiles. It is also a very good idea to specify
You will almost certainly want "-O2" for any real production code. This turns on the C compiler's optimisation. Without it, the code can be quite large and slow.
During development specify at least the -g flag during compilation. This will put all the necessary information into the compiled binary file to allow symbolic debugging in GDB. It makes the binary files rather big, but the actual downloaded code is not affected.