Skip to content

Instantly share code, notes, and snippets.

@whoeverest
Last active Feb 12, 2016
Embed
What would you like to do?
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