Skip to content
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

Merged
merged 314 commits into from
Nov 27, 2023
Merged

Add riscv-rt to workspace #151

merged 314 commits into from
Nov 27, 2023

Conversation

romancardenas
Copy link
Contributor

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 😄

Disasm and others added 30 commits March 5, 2019 18:06
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]>
MabezDev and others added 16 commits October 3, 2023 21:10
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]>
Fix setting incorrect sp if single-hart
Ensure sp is 16-byte aligned
build.rs now adapts link.x for the target arch
@romancardenas romancardenas added the do not merge this code should not be merged to master label Nov 17, 2023
@romancardenas romancardenas requested a review from a team as a code owner November 17, 2023 15:16
@romancardenas romancardenas removed the do not merge this code should not be merged to master label Nov 20, 2023
@romancardenas
Copy link
Contributor Author

@rust-embedded/riscv good to go! Take a look and let me know if I forgot something

Copy link
Member

@jessebraham jessebraham left a 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!

riscv-rt/README.md Outdated Show resolved Hide resolved
riscv-rt/macros/Cargo.toml Outdated Show resolved Hide resolved
riscv/README.md Outdated Show resolved Hide resolved
@romancardenas
Copy link
Contributor Author

Thanks for your review @jessebraham ! I addressed all your comments and adapted the general README.md file from cortex-m

Copy link
Member

@jessebraham jessebraham left a 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!

@romancardenas romancardenas added this pull request to the merge queue Nov 27, 2023
Merged via the queue into master with commit f8c3923 Nov 27, 2023
58 checks passed
@romancardenas romancardenas deleted the add-riscv-rt branch November 27, 2023 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.