Skip to content

Instantly share code, notes, and snippets.

@whoeverest
Last active February 12, 2016 00:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whoeverest/a24e80523926c6a92c4a to your computer and use it in GitHub Desktop.
Save whoeverest/a24e80523926c6a92c4a to your computer and use it in GitHub Desktop.
Installing toolchain for Tiva LaunchPad / Arm Cortex M4 (and probably other ARM processors) on Ubuntu
# don't copy paste :-)
exit 1
# install deps
sudo apt-get update
sudo apt-get install lm4flash openocd libusb-1.0-0-dev libusb-1.0-0-dev
# download texas instrument libs
# how? dl .exe file, unzip and make
cd ~/
wget http://files.andrejt.com/unlisted/share/x5uh3Ogl-SW-EK-TM4C123GXL-2.1.2.111.exe
mkdir tilib
cd tilib/
unzip ../x5uh3Ogl-SW-EK-TM4C123GXL-2.1.2.111.exe
# now compile all the examples:
make
# let's compile the blinking example
cd ./examples/boards/ek-tm4c123gxl/blinky/
# compile and flash:
make
sudo lm4flash gcc/blinky.bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment