Skip to content

Commit b94d6e7

Browse files
committed
update readme
1 parent c242e7f commit b94d6e7

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

README.md

+9-13
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,18 @@ Rust userland library for Tock (WIP)
66

77
This project is nascent and still under heavy development, but first steps:
88

9-
1. Ensure you have a working toolchain available:
9+
1. Ensure you have [rustup](https://www.rustup.rs/) installed.
1010

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:
1213

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+
```
2417

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.
2521

2622
## License
2723

0 commit comments

Comments
 (0)