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

inline asm! #15

Open
thejpster opened this issue Mar 12, 2022 · 1 comment
Open

inline asm! #15

thejpster opened this issue Mar 12, 2022 · 1 comment

Comments

@thejpster
Copy link
Member

Now we have stable inline asm, can we make the blobs go away and just put a rust function in for boot2? Or do we need something else, like naked functions perhaps?

@jannic
Copy link
Member

jannic commented Aug 9, 2022

While it would indeed look nicer if this crate was "pure rust", the fact that we can use the original assembly files from the C SDK makes it much easier to merge future changes or support for new flash chips.
So as long as we don't apply rust-specific changes to the boot loader, I'd prefer to keep the current approach.

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

No branches or pull requests

2 participants