https://github.com/innolitics/example-tm4c123-project
A template for embedded Rust projects using the TM4C123 microcontroller
https://github.com/innolitics/example-tm4c123-project
Last synced: about 1 month ago
JSON representation
A template for embedded Rust projects using the TM4C123 microcontroller
- Host: GitHub
- URL: https://github.com/innolitics/example-tm4c123-project
- Owner: innolitics
- Created: 2021-09-10T17:32:37.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-10T10:58:41.000Z (over 4 years ago)
- Last Synced: 2026-03-31T13:42:35.262Z (3 months ago)
- Language: Shell
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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`.