https://github.com/sysprog21/threadx-cortex-r5-demo
Rust-written Real-Time Tasks on Eclipse ThreadX
https://github.com/sysprog21/threadx-cortex-r5-demo
Last synced: 9 months ago
JSON representation
Rust-written Real-Time Tasks on Eclipse ThreadX
- Host: GitHub
- URL: https://github.com/sysprog21/threadx-cortex-r5-demo
- Owner: sysprog21
- License: mit
- Created: 2024-11-28T18:02:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-28T18:31:56.000Z (over 1 year ago)
- Last Synced: 2025-05-08T23:54:00.072Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 16.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust-written Real-Time Tasks on Eclipse ThreadX
This repository demonstrates how to compile and execute Rust-written tasks on
the [Eclipse ThreadX](https://github.com/eclipse-threadx/threadx) Real-Time
Operating System (RTOS). The primary target platform for this project is the Arm
Cortex-R5 processor, showcasing the integration of Rust with ThreadX for
high-performance real-time applications.
## Build and Run
Visit the [Arm GNU Toolchain](https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads)
page and choose the AArch32 bare-metal target (`arm-none-eabi`) toolchain
variant compatible with your development environment.
Install Rust via `rustup` (Recommended)
```shell
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
Then, enable bare-metal target for CPUs in the Armv7-R architecture family.
```shell
$ rustup target add armv7r-none-eabihf
```
Run `make` to build both ThreadX and Rust code from source.
Run `make run` to launch Rust-written tasks on ThreadX via QEMU.
## Licence
This project is available under a permissive MIT-style license.
Use of this source code is governed by a MIT license that can be found in the
[LICENSE](LICENSE) file.