Home

Awesome

lm4tools

Some tools which enable multi-platform development on the TI Stellaris Launchpad boards. The Stellaris Launchpad is a low cost development board created by Texas Instruments that comes with an ARM Cortex-M4F processor. You can get one here:

Get a Stellaris Launchpad

Included tools

Setting up a development environment

First you'll need a cross compiler able to compile for ARM Cortex-Mx aka arm-none-eabi-. Some which are know to work:

More info can be found here eLinux toolchains.

Grab StellarisWare from Texas Instruments: Stellaris LM4F120 LaunchPad Evaluation Board Software. You need to get SW-EK-LM4F120XL.

Inside StellarisWare directory you'll find many examples in the directory boards/ek-lm4f120xl. Try building project0 by going to that directory and running make.

To flash your Stellaris board from boards/ek-lm4f120xl/project0, run:

$ lm4flash gcc/project0.bin

Nice hacking!

Optional: Remove the root requirement

By default, root permissions are required to flash the Stellaris Launchpad ICDI. This can be circumvented by adding udev rules. Create a file called /etc/udev/rules.d/61.stellpad.rules, containing:

SUBSYSTEM=="usb", ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="00fd", MODE="0666"

Restart udev to apply the changes.