-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
add more Cortex-R targets #53679
add more Cortex-R targets #53679
Conversation
Oh, and examples of actual devices for each Cortex-R target
|
|
||
ENV CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc \ | ||
CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc \ | ||
CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc \ | ||
CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc | ||
CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc \ | ||
CC_armebv7r_none_eabi=arm-none-eabi-gcc |
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 can drop this once rust-lang/cc-rs#341 is available in a new release but no need to block on that
Looks good to me! r=me with a |
@paoloteti @parched are you OK with landing this as it is? |
LGTM |
LGTM and thanks for the extra patches |
☔ The latest upstream changes (presumably #53662) made this pull request unmergeable. Please resolve the merge conflicts. |
@bors r=alexcrichton |
📌 Commit 99922847a6dd7aab2da5165d9c61ed5fad3cc45e has been approved by |
@japaric @pablobm @alexcrichton @parched Thanks for making this happen! 🎊 |
☔ The latest upstream changes (presumably #53567) made this pull request unmergeable. Please resolve the merge conflicts. |
Similar to `armebv7r-none-eabihf`, but for Little-endian MCUs. As example TI RM4x/RM5x are Little-endian Cortex-R4F/R5F MCUs. CI/Dockerfile is intentionally in the disabled folder.
by removing the redundant +v7 feature
Rebased @bors r=alexcrichton |
📌 Commit 521df79 has been approved by |
add more Cortex-R targets This expands on PR #53663 to complete the set of Cortex-R targets and builds rust-std components for them. r? @alexcrichton each extra rust-std component (there's 4 of them) takes about 3 minutes to build on my local machine. In terms of stability (LLVM codegen bugs) these new targets should be as stable as the Cortex-M ones (e.g. `thumbv7m-none-eabi`). If the extra build time is too much we can leave the rust-std components out for now closes #53663 cc @paoloteti
☀️ Test successful - status-appveyor, status-travis |
199: [RFC] initial Cortex-R team r=japaric a=japaric This is a proposal for creating a Cortex-R team. @paoloteti and I will be the initial members. I know pretty much nothing about the Cortex-R but will be working with them starting November; @paoloteti is the real expert here. The following work has been planed for this team (some of it has been done already) - [x] Add more built-in targets to cover existing devices. In rust-lang/rust#53679 we went from 1 target to 4. We now have good coverage of Cortex R4(F) and R5(F) cores. - [x] Move to LLD to remove the dependency on a external linker. Done in rust-lang/rust#53679. - [x] Produce `rust-std` components to not depend on tools like Xargo, which require nightly. Also done in rust-lang/rust#53679. - [ ] Create a `cortex-r` crate (\*) akin to the `cortex-m` crate that provides a safe API to emit arch-specific instructions and to manipulate system registers. - [ ] Create a `cortex-r-rt` crate (\*) akin to the `cortex-m-rt` crate that helps building a minimal `no_std` binary. - [ ] See if we can generate register APIs from the XML files that vendors like TI ship with their IDEs. (\*) Initial work in this area: https://github.com/paoloteti/ti-hercules-bsp @rust-embedded/all please vote on this proposal using [GitHub reviews][approve]. This proposal needs at least 11 approvals to land (/all has 21 members atm). [approve]: https://help.github.com/articles/approving-a-pull-request-with-required-reviews/ Co-authored-by: Jorge Aparicio <[email protected]>
This expands on PR #53663 to complete the set of Cortex-R targets and builds
rust-std components for them.
r? @alexcrichton
each extra rust-std component (there's 4 of them) takes about 3 minutes to build
on my local machine. In terms of stability (LLVM codegen bugs) these new targets
should be as stable as the Cortex-M ones (e.g.
thumbv7m-none-eabi
).If the extra build time is too much we can leave the rust-std components out for
now
closes #53663
cc @paoloteti