File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,25 @@ Operating System (RTOS). The primary target platform for this project is the Arm
6
6
Cortex-R5 processor, showcasing the integration of Rust with ThreadX for
7
7
high-performance real-time applications.
8
8
9
+ ## Build and Run
10
+
11
+ Visit the [ Arm GNU Toolchain] ( https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads )
12
+ page and choose the AArch32 bare-metal target (` arm-none-eabi ` ) toolchain
13
+ variant compatible with your development environment.
14
+
15
+ Install Rust via ` rustup ` (Recommended)
16
+ ``` shell
17
+ $ curl --proto ' =https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
18
+ ```
19
+
20
+ Then, enable bare-metal target for CPUs in the Armv7-R architecture family.
21
+ ``` shell
22
+ $ rustup target add armv7r-none-eabihf
23
+ ```
24
+
25
+ Run ` make ` to build both ThreadX and Rust code from source.
26
+ Run ` make run ` to launch Rust-written tasks on ThreadX via QEMU.
27
+
9
28
## Licence
10
29
11
30
This project is available under a permissive MIT-style license.
You can’t perform that action at this time.
0 commit comments