-
Notifications
You must be signed in to change notification settings - Fork 99
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
[WIP] Import from the discovery
book
#102
Conversation
I agree to re-license the text under the CC-BY-SA license. |
Some notes:
|
BTW, I updated the Discovery book to work with the latest version of the cortex-m crates in rust-embedded/discovery#86. I'll leave some inline comments about what needs to be changed. |
should work but we have listed the version we have tested. | ||
|
||
- Cargo & `rustc` >= nightly-2018-04-08 |
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.
The minimal version required is now nightly-2018-06-04.
- OpenOCD >=0.8. Tested versions: v0.9.0 and v0.10.0 | ||
|
||
- `arm-none-eabi-ld`. Tested version: 2.30 |
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.
We now require the whole toolchain: arm-none-eabi-gcc
and arm-none-eabi-binutils
.
``` | ||
|
||
**NOTE** Make sure you have a nightly newer than `nightly-2018-04-08`. `rustc -V` should return a |
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.
This needs to be updated.
|
||
``` console | ||
$ sudo apt-get install \ | ||
binutils-arm-none-eabi \ |
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.
should be gcc-arm-none-eabi
|
||
``` console | ||
$ sudo dnf install \ | ||
arm-none-eabi-binutils-cs \ |
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.
should be arm-none-eabi-gcc-cs
|
||
``` console | ||
$ sudo pacman -S \ | ||
arm-none-eabi-binutils \ |
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.
should be arm-none-eabi-gcc
``` console | ||
$ rustc -V | ||
rustc 1.27.0-nightly (056f589fb 2018-04-07) |
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.
Should be rustc 1.28.0-nightly (29f48ccf3 2018-06-03)
Work in Progress/Do Not Merge (yet)
Will require licensing approval from @japaric before merging (CC-BY to CC-BY-SA)