File tree 1 file changed +9
-13
lines changed
1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -6,22 +6,18 @@ Rust userland library for Tock (WIP)
6
6
7
7
This project is nascent and still under heavy development, but first steps:
8
8
9
- 1 . Ensure you have a working toolchain available:
9
+ 1 . Ensure you have [ rustup ] ( https://www.rustup.rs/ ) installed.
10
10
11
- ` rustup install nightly-2018-03-06 `
11
+ 2 . Use the ` run_example ` script to compile and run the example app you want
12
+ to use:
12
13
13
- 2 . Get a copy of this toolchain, in this repo's root:
14
-
15
- ` rustup override set nightly-2018-03-06 `
16
-
17
- 3 . Need to grab a copy of the rust sources:
18
-
19
- ` rustup component add rust-src `
20
-
21
- 4 . Now you should be able to build with:
22
-
23
- ` xargo build --target thumbv7em-tock-eabi `
14
+ ```bash
15
+ ./run_example.sh blink
16
+ ```
24
17
18
+ This should work if you are using the nRF52DK platform. For other platforms,
19
+ you will end up with a TAB file in `target/` that you can program onto your
20
+ Tock board.
25
21
26
22
## License
27
23
You can’t perform that action at this time.
0 commit comments