-
Notifications
You must be signed in to change notification settings - Fork 162
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 riscv-rt to workspace #151
Conversation
28: Add support for 64-bit targets r=dvc94ch a=Disasm Co-authored-by: Vadim Kaushan <[email protected]>
27: Add 'entry' and 'pre_init' attributes r=dvc94ch a=Disasm Implementation is based on [`cortex-m-rt-macros`](https://github.com/rust-embedded/cortex-m-rt/tree/master/macros) code. This implementation has been changed to make `static mut` unsafe inside entry point and different handlers. Related: rust-embedded/riscv-rt#20 Co-authored-by: Vadim Kaushan <[email protected]>
30: Fix docs, add MSRV policy, bump version r=dvc94ch a=Disasm Co-authored-by: Vadim Kaushan <[email protected]>
… dependency graph
This reverts commit 373d773.
Remove label-check from merge_group
Don't bother checking hart ID on startup in single-hart mode. Allows use of cores with unusual mhartid values and saves a few instructions.
Ignore hartid in single-hart mode.
If single-hart is enabled, the sp is set to _stack_start - _hart_stack_size, rather than _stack_start. Fix this. Fixes: e540f1e ("Add feature single-hart") Signed-off-by: Chien Wong <[email protected]>
Signed-off-by: Chien Wong <[email protected]>
Signed-off-by: Chien Wong <[email protected]>
Fix setting incorrect sp if single-hart
Signed-off-by: Chien Wong <[email protected]>
Ensure sp is 16-byte aligned
build.rs now adapts link.x for the target arch
@rust-embedded/riscv good to go! Take a look and let me know if I forgot something |
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.
Few little nitpicks but otherwise LGTM!
Thanks for your review @jessebraham ! I addressed all your comments and adapted the general |
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 making those changes, LGTM!
This PR adds
riscv-rt
to this workspace. I'm still working on fine-tuning the CI, let me know your opinion and I'll push it to the PR 😄