Last active
February 12, 2016 00:20
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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