Simple blinking light example for the MSP430
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
cmake
reference
source
.gitignore
CMakeLists.txt
HelloMSP430.sublime-project
LICENSE
README.md

README.md

HelloMSP430

Simple example for the MSP 430 using the msp430-gcc toolchain. Just playing with device and testing out its limits.

Installing the compiler

Ubuntu 14.04

sudo apt-get update
sudo apt-get install binutils-msp430 gcc-msp430 msp430-libc mspdebug

Mac OSX

  • Get Energia here
  • Then install the Launchpad Drivers from here

Windows

Install MSPGCC from the TI Project Page

Building and Running Code

To Build for the msp430

cd build/
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/msp430.cmake ../
make

To Flash to Connected msp430

make flash

or....

mspdebug rf2500 "prog hello_msp"

You can see the serial output and interact with the board using screen

screen /dev/tty[YOUR DEVICE INTERFACE] 9600

Credits

Credit to user "oPossum" for the working logic I used to check my work on the DHT11 against and then ultimately use.