Skip to content

update readme #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 19, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,18 @@ Rust userland library for Tock (WIP)

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

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

`rustup install nightly-2018-03-06`
2. Use the `run_example` script to compile and run the example app you want
to use:

2. Get a copy of this toolchain, in this repo's root:

`rustup override set nightly-2018-03-06`

3. Need to grab a copy of the rust sources:

`rustup component add rust-src`

4. Now you should be able to build with:

`xargo build --target thumbv7em-tock-eabi`
```bash
./run_example.sh blink
```

This should work if you are using the nRF52DK platform. For other platforms,
you will end up with a TAB file in `target/` that you can program onto your
Tock board.

## License

Expand Down