Skip to content

nhivp/TM4C123_GCC_Prj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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