DK-LM3S9B96
From Attie's Wiki
(Difference between revisions)
m |
m |
||
Line 19: | Line 19: | ||
cd sw | cd sw | ||
unzip ../SW-*.exe | unzip ../SW-*.exe | ||
+ | </source> | ||
+ | * Edit the <code>PREFIX</code> variable in makedefs. E.g: | ||
+ | <source lang="bash"> | ||
+ | PREFIX=${CROSS_COMPILE} | ||
</source> | </source> |
Revision as of 14:44, 27 July 2012
Preparation
- Build a toolchain. See Crosstool-ng, and use the
arm-bare_newlib_cortex_m3_nommu-eabi
config. - Install some stuff:
sudo apt-get install openocd
Environment
export PATH=${TOOLCHAIN_DIR}/bin:${PATH} export CROSS_COMPILE=arm-bare_newlib_cortex_m3_nommu-eabi-
Using TI's StellarisWare and Samples
- Download from: http://www.ti.com/tool/sw-lm3s (or look for an update / new page)
- Extract the contents of the windows executable.
mkdir sw cd sw unzip ../SW-*.exe
- Edit the
PREFIX
variable in makedefs. E.g:
PREFIX=${CROSS_COMPILE}