rbaehr / tm4c123gxl-freertos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##About Robotics at Maryland's repository for building FreeRTOS along with Tivaware libraries on the TM4C123GXL

FreeRTOS version: v8.2.3
Tivaware version: 2.1.3.156

##Prerequisites To build the project you need the GNU ARM Embedded Toolchain

To flash to the MCU you can use LM4Tools

To install both of these automatically run ../scripts/embedded_install_deps.bash

It may be necessary to install ia32-libs if you're on a 64 bit system. sudo apt install ia32-libs

##Drivers Tivaware drivers(EK-TM4C123GXL) are included in the drivers/ directory. You have to make in the drivers/ directory to get the Tivaware objects in the correct place.

The drivers/ directory is where the Tivaware libraries are stored. The makefile in drivers/ builds all the source files there into object files and then runs the symlink_objs script to link the object files into the obj/ so the linker can easily access it.

##Build Building should just be as simple as running make in the embedded/ directory. The Makefile will automatically build all *.c files in src/ and src/tasks/. It will then try to output an image.bin file that can be flashed to the MCU.

Make sure you source setenv.sh so that you can find the toolchain. Also make sure the locations setenv.sh points to are correct.

##Flash Run make flash to flash the image.bin file onto the chip while you're in the embedded/ directory.

##Serial/UART The TM4C123GXL's UART0 is connected to the In-Circuit Debug Interface(ICDI) which you can use the USB cable to view.

Use a serial terminal program with 115200 bps, 8 data bits, no parity, and 1 stop bit.

About


Languages

Language:C 86.0%Language:C++ 7.4%Language:Objective-C 4.8%Language:Assembly 1.1%Language:Makefile 0.5%Language:HTML 0.1%Language:Scheme 0.0%Language:Shell 0.0%Language:Batchfile 0.0%