-
Notifications
You must be signed in to change notification settings - Fork 3k
IOTSTOR-1044 - SPIFBlockDevice is broken in Mbed OS master(6), #12981
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
…d incorrect spi.deselect at constructor.
CI started |
@VeijoPesonen can you use this patch to verify the fix? |
I'm still seeing a crash on K64F:
The difference is that initially the crash was in the first test, now first test fails and it crashes in the second. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I spotted this error during review of #12681 for two SDBlockDevice
constructors, but missed it for this one :(
If you're still seeing problems I suggest going through and checking the select/deselect balance throughout the entire class - those calls went in to replace a bunch of _cs = 0
and _cs = 1
, but they never needed to be balanced before.
Test run: SUCCESSSummary: 6 of 6 test jobs passed |
@VeijoPesonen Please verify and possibly create a new PR if anything else found |
Looks good to me.
|
Removed incorrect spi.deselect at constructor.
Summary of changes
Removed incorrect spi.deselect at constructor.
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers
@VeijoPesonen
@AnttiKauppila
@SeppoTakalo