Scripts to Build TI Stellaris ARM Toolchain, Libraries, and Programs using GCC.
##How-To:
-
Download and build the Summon Arm Toolchain from here
-
Download and build lm4flash tools from here
-
Download and extract the Stellaris Ware package from here
-
Clone this repo
-
Change line 17 of the Makefile to point to the root of your Summon Arm Toolchain directory (note: root, not bin/)
TOOL = ../../../sat/
-
Change the following line to point to the root of the Stellaris Ware directory.
SW_DIR = ../StellarisWare/
-
I moved the lm4flash binaries to the bin directory of the gcc toolchain so
$(TOOL)/bin/lm4flash
simply to keep everything in the same spot. If you dont want to, youll need to change the path on line 93.FLASH = $(TOOL)/bin/lm4flash
-
Assuming everything went alright, you should be able to
cd proj0 && make && make install
to flash the provided program to the board.