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

stm32: Improve dualcore safety #3687

Merged
merged 2 commits into from
Dec 25, 2024

Conversation

diondokter
Copy link
Contributor

  • SharedData is now repr C.
  • The init flag is is now written with a known value as soon as possible. I'm not sure whether using the AtomicUsize this way is sound at all, but writing to it sooner at least gives less chance of things going wrong I guess.

@Dirbaio Dirbaio added this pull request to the merge queue Dec 25, 2024
Merged via the queue into embassy-rs:main with commit 5cbd520 Dec 25, 2024
10 checks passed
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