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 reexport of rp2040::entry to BSPs #324

Merged
merged 2 commits into from May 31, 2022

Conversation

9names
Copy link
Member

@9names 9names commented Apr 10, 2022

#300 added a entry macro for the HAL, so we could do things at startup like clear all spinlocks.
All the BSPs examples previously ignored the HAL's export of entry, importing cortex_m::entry themselves.
I've added a reexport of rp2040-hal::entry (so you can use bsp::entry) and updated all the examples to use that.
This should allow us to add board-specific entries in the future without needing to update all the examples.

@9names 9names merged commit 895bae9 into rp-rs:main May 31, 2022
@9names 9names deleted the bsp_use_hal_entry_macro branch May 31, 2022 13:41
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.

None yet

2 participants