Skip to content

Instantly share code, notes, and snippets.

Last active Feb 12, 2016
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 ~/
mkdir tilib
cd tilib/
unzip ../x5uh3Ogl-SW-EK-TM4C123GXL-
# now compile all the examples:
# let's compile the blinking example
cd ./examples/boards/ek-tm4c123gxl/blinky/
# compile and flash:
sudo lm4flash gcc/blinky.bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment