Skip to content

ZeeLivermorium/zEEware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

: GCC Tools for TI TM4C123GXL MCU

Introduction

This is a gcc tools for embedded system projects with TI TM4C123GXL Microcontroller on Mac OS and Linux. We hate IDEs.

Installation

Mac OS

ARM GCC Tools

    brew tap PX4/homebrew-px4
    brew update
    brew install gcc-arm-none-eabi

Run

    arm-none-eabi-gcc --version

to confirm your installation.

You might run into problems when arm-none-eabi-gcc command is not found after installation. Try

    brew link gcc-arm-none-eabi

see what homebrew tells you to fix linking problem.

NOTE: The old magic command

    brew cask install gcc-arm-embedded

does not work anymore. They removed it from cask. Put it here in case you are wondering or you are trying to use UT-Rasware installation guide.

Lm4tools

    brew install lm4tools

OpenOCD

    brew install open-ocd

Linux (Need to be tested)

Please refer to Josh Minor's Linux set up script

Run Projects

After the installation, you should run the test blink project by running make in the project dir proj/_blink to make sure it compiles properly. You need to run make clean when you try to clean up your build product. By running make flash you should be able to flash it on to your TM4C123G Launchpad and you will see RGBs. To run your own project, you can use the template Makefile and your configuration to it. Please refer to my other projects to see how I write my makefile.

  1. Add project name In template Makefile Line 35 put your project name here.
  2. Add include paths In template Makefile Line 57, add where your h files are.
  3. Add the c files you are tyring to use In template Makefile Line 83, add c files used in your project in terms of object files.
  4. make (flash)

GDB

write up soon

Acknowledgment

Josh Minor's linux tools has been a super valuable referenece when I tried to tackle problems. You can find his tools here.

Releases

No releases published

Packages

No packages published

Languages