-
Notifications
You must be signed in to change notification settings - Fork 114
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
update readme #21
Conversation
README.md
Outdated
@@ -6,22 +6,19 @@ 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: | |||
```bash | |||
./build_examples.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically, this step is not required. The purpose of build_examples.sh
is to be run by Travis CI in order to make sure that all examples compile.
README.md
Outdated
|
||
For some reason it does not generate binaries for example apps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#18 will enforce the nightly-2018-03-06
toolchain which seems to work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes! I added some ideas how one could make the instructions more precise.
README.md
Outdated
@@ -6,22 +6,19 @@ 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: | |||
```bash | |||
./build_examples.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
./run_example.sh also builds the examples
README.md
Outdated
4. Now you should be able to build with: | ||
|
||
`xargo build --target thumbv7em-tock-eabi` | ||
### Note! Do not use rustc-1.26! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should not fix the version of the compiler at all. This should be managed by the toolchain file.
README.md
Outdated
2. Get a copy of this toolchain, in this repo's root: | ||
```bash | ||
./run_example.sh blink | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One could notice here that due to behavior of the tockloader the parameters passed to tockloader in the run_example script only work for the nrf52dk, currently. At least as far as I can judge.
Updated now that #18 is merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. If nobody has anything to add, I will merge this very soon.
@bradjc Can this branch be deleted? |
@Woyten I think it's fine to always delete branches for merged branches (And generally I like the idea of not using branches on the main repo for PRs, but I've been loosing that battle... :/ ) |
I totally agree. So I'll do what needs to be done! 😉 |
Current directions don't work.