Skip to content

A template for embedded Rust projects using the TM4C123 microcontroller

Notifications You must be signed in to change notification settings

innolitics/example-tm4c123-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template for Embedded Rust project on TM4C123

This template has been tested on the Tiva C-Series Launchpad (EK-TM4C123GXL).

Prerequisites

Install Rust using rustup. Add the thumbv7em-none-eabihf target.

Other system dependencies: arm-none-eabi-* GCC toolchain and openocd

Run the ./install script to check that all system dependencies are correctly installed. If rustup is present but the target is not yet installed, it will install it for you.

Running the example

Ensure the launchpad is plugged in with the switch set to "DEBUG" and the USB cable plugged in to the debug port.

In one open terminal window, run openocd using the provided configuration: openocd -f ./openocd.cfg

In another terminal, execute the program in the GDB debugger by running cargo run.

About

A template for embedded Rust projects using the TM4C123 microcontroller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published