Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Remove r0 #5

Merged
merged 2 commits into from
Mar 14, 2023
Merged

Remove r0 #5

merged 2 commits into from
Mar 14, 2023

Conversation

bjoernQ
Copy link
Collaborator

@bjoernQ bjoernQ commented Mar 14, 2023

Closes #1

This removes the r0 dependency by using assembly code instead.
There are fine-grained features to choose which memory region to clear or initialize.
This also removes the mp_hook since it's expected that upcoming RV multicore targets will be different than what was meant by to be done by the mp_hook

This will go in tandem with an upcoming PR in esp-hal (see https://github.com/esp-rs/esp-hal/pull/439r)

src/lib.rs Show resolved Hide resolved
Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@bjoernQ bjoernQ merged commit 7fa9751 into esp-rs:main Mar 14, 2023
@bjoernQ bjoernQ deleted the replace-r0 branch March 14, 2023 14:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace use of the r0 crate with inline assembly
2 participants