-
Notifications
You must be signed in to change notification settings - Fork 3k
STM32: remove critical sections in flash_program_page #14469
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
Conversation
@jeromecoutant, thank you for your changes. |
Is this needed still ? As noted, if program writing does not have it, why erase has it? |
Yes, for me first patch has solved the issue. |
I was asking about this - how to fix this issue completely ? |
I would have expected removing the critical sections from the erase to be the answer. What was the logic for adding them as a solution for #13792? I see the claim that it fixed it, but I don't see the reasoning for attempting it as a fix in the first place. |
@jeromecoutant please review above question |
Yes, more work is needed on this topic.
|
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
I'll merge and keep the issue opened so it can be tracked and fix properly. |
Summary of changes
Hi
There was no real issue for now to have introduced critical sections in flash_program_page function.
And this has introduced at least 2 new issues:
NB: critical sections introduction in flash_erase_sector was due to #13792
@ARMmbed/team-st-mcd
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers