From b94d6e74938ce1e330aab8d3fbdd6711437670d5 Mon Sep 17 00:00:00 2001 From: Brad Campbell Date: Sat, 17 Mar 2018 18:53:34 -0400 Subject: [PATCH] update readme --- README.md | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index de683b4d..7cf82a6b 100644 --- a/README.md +++ b/README.md @@ -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