Warning: Illegal string offset 'date' in /var/www/inc/html.php on line 1337

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
kb:stellaris:toolchain [2012/11/22 10:59]
stick created
— (current)
Line 1: Line 1:
-====== Toolchain ====== 
  
-[[kb:​stellaris|back]] 
- 
-This page describes how to install and use command-line toolchain. Less experienced developers might want to use [[kb:​stellaris:​IDE]] instead which provides less options but is much more easier to use. 
- 
-Most of the stuff is taken from http://​recursive-labs.com/​blog/​2012/​10/​28/​stellaris-launchpad-gnu-linux-getting-started/​ 
- 
-===== Install ===== 
- 
-==== lm4flash ==== 
- 
-Get lm4tools source code: 
- 
-  git clone https://​github.com/​utzig/​lm4tools.git 
- 
-Change into lm4flash directory and build from source. You need ''​libusb-1.0-0-dev''​ package. 
- 
-  cd lm4tools/​lm4flash 
-  make 
- 
-Put the following line in ''/​etc/​udev/​rules.d/​51-launchpad.rules''​ so you don't need to run lm4flash as root: 
- 
-  SUBSYSTEM=="​usb",​ ATTR{idVendor}=="​1cbe",​ ATTR{idProduct}=="​00fd",​ MODE="​0666"​ 
- 
-==== Toolchain ==== 
- 
-Install prerequisites:​ 
- 
-  apt-get install flex bison libgmp3-dev libmpfr-dev libncurses5-dev libmpc-dev autoconf texinfo build-essential libftdi-dev 
- 
-Checkout summon-arm-toolchain sources: 
- 
-  git clone https://​github.com/​esden/​summon-arm-toolchain 
- 
-Run the build script: 
- 
-  cd summon-arm-toolchain 
-  ./​summon-arm-toolchain 
- 
-==== Stellarisware ==== 
- 
-Download ''​SW-EK-LM4F120XL-9453.exe''​ from http://​www.ti.com/​tool/​sw-ek-lm4f120xl (needs registration) and build Stellarisware:​ 
- 
-  mkdir stellarisware;​ cd stellarisware 
-  unzip ~/​Downloads/​SW-EK-LM4F120XL-9453.exe 
-  make 
- 
-If you don't want to register on TI website, download http://​cargo.gk2.sk/​SW-EK-LM4F120XL-9453.tar.xz (repacked from the mentioned .exe archive) and build Stellarisware:​ 
- 
-  tar xfJ SW-EK-LM4F120XL-9453.tar.xz 
-  cd SW-EK-LM4F120XL-9453 
-  make 
- 
-Do a quick test by flashing one of the test programs: 
- 
-  lm4flash boards/​ek-lm4f120xl/​blinky/​sourcerygxx/​blinky.bin 
- 
-===== Use ===== 
- 
-FIXME 
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki