-
Notifications
You must be signed in to change notification settings - Fork 3k
How to call spi_free() #4957
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
Comments
I doubt that it will help because I've seen only empty implementations. And the comment in hal/spi_api.h says:
|
This will require further work, as noted above, in the documentation, needs specification and implementation for targets. |
@0xc0170 I'd suggest adding a |
ARM Internal Ref: MBOTRIAGE-188 |
Just in case someone else runs into this problem, I made a DestructableSPI class which can free the interface: https://github.com/janjongboom/at45-blockdevice/blob/44766342130b373f59ac372add62e73f55469f9b/DestructableSPI.h |
This is also addressed in the [WIP] SPI hal update. |
Issue is addressed in SPI hal, can this be closed now? |
@deepikabhavnani Where was the SPI Hal work landed? |
Ready to merge #7671 - Feature branch |
@deepikabhavnani That's just design documents, where is the actual work? Unless there's some actual work being done we cannot close this. |
There are work on reference implementations for some ST's and Freescale's targets. |
Duplicate of #3106. |
I need to call
spi_free()
because my SPI flash chip does not like to be init'ed from both bootloader and app.But it's not available in the C++ API... Any idea how to do it?
The text was updated successfully, but these errors were encountered: