/TM4C123_GCC_Prj

Create compling environment on linux by using GCC

Primary LanguageC

Build project template for TM4C123 using GCC (Linux)

First get a GCC cross compiler for ARM.

  • Download a latest compiler arm-none-eabi-gcc at link
  • Extract
  • Create environmnet by adding the compiler path to the $PATH. Edit your ~/.bashrc file and add new line:
export PATH=$PATH:$HOME/tools/gcc-arm-none-eabi-4_7-2013q1/bin

Install the lm4flash tool

  • Get source code of tool:
git clone https://github.com/utzig/lm4tools.git
  • Compile
cd lm4ftools/lm4flash/
make
  • And finish
sudo cp lm4flash /usr/bin

Reference