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

Fix syntax for taking core peripherals (required by cortex-m-rtic v0.5.5) #144

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

HarryMakes
Copy link
Contributor

This is to fix a panicking upon initialization problem that is caused by a now undefined behaviour in our code from the perspective of the latest release of the cortex-m-rtic crate.

As per conversation in rtic-rs/rtic#361, context.core should now be used instead of cortex_m::Peripherals::take(), which would cause some unexpected behaviour.

On a side note, a similar symptom where the Ethernet PHY does not get reset, as discussed in #141, might have also arisen from this new version of rtic. However, the reset delay still seems a bit too short to me.

@jordens
Copy link
Member

jordens commented Sep 16, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 16, 2020

Build succeeded:

@bors bors bot merged commit df23845 into quartiq:master Sep 16, 2020
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.

2 participants