Skip to content

timothybrown/lm4tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

  • lm4flash Command-line firmware flashing tool using libusb-1.0 to communicate with the Stellaris Launchpad ICDI. Works on all Linux, Mac OS X, Windows, and BSD systems. GPLv2+ license. See lm4flash/COPYING for details.

  • lmicdiusb TCP/USB bridge created by TI, letting GDB communicate with the Stellaris Launchpad ICDI. Works on all Linux, Mac OS X, and BSD systems. Currently not on Windows, due to the use of poll() which does not work for USB on Windows. BSD-style license. See lmicdiusb/license.txt for details.

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!

About

Tools to enable multi-platform development on the TI Stellaris Launchpad boards

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 94.6%
  • Makefile 5.4%