This is a basic software UART application for TI MSP430x2xx. The toolchain uses GCC/make/splint. This project is suitable to use with the Launchpad as a base for other projects.
sudo apt-get install make splint gcc-msp430 mspdebug screen git
git clone https://github.com/LarsH/msp430-uart.git
cd msp430-uart
make program
screen /dev/ttyACM0 9600
The screen should not be detached from, but killed, when done with the session. It is killed with the key combination
Ctrl-a k
The build environment reads the cpu type from the file config.mcu. It is initialized automatically, but be sure to change it if you change MCU! It is enough to just delete config.mcu and let the Makefile recreate it.
The project uses the msp430 port of GCC for compiling, Splint for static code analysis and GNU Make to manage the build environment. To communicate with the serial port a terminal program is needed, the program screen works fine.
apt-get install make splint gcc-msp430 mspdebug screen
Package with gcc-msp430 and mspdebug:
http://code.google.com/p/osx-launchpad/downloads/list
Installing instructions for splint:
http://www.tillett.info/2010/09/21/installing-splint-on-mac-osx/