-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
OT: utilsFlashWrite does not take into account the write-block-size #5943
Comments
File abstraction can be used to emulate flash for OpenThread - as example you can see posix OpenThread platform: https://github.com/openthread/openthread/blob/master/examples/platforms/posix/flash.c We can also write our own settings module that uses file directly instead of flash: https://github.com/openthread/openthread/blob/master/examples/platforms/utils/settings.cpp |
@jfischer-phytec-iot Sounds to me like we could write an abstraction over FCB or NFFS. Any takers to implement this in the 1.11 timeline? |
@jfischer-phytec-iot are you going to give this a go? |
@carlescufi I do not know if I can find time for this issue before EW2018. |
any update on this? |
No longer an issue with #21796. |
OpenThread utilsFlashWrite does not take into account the write-block-size. OT uses a multiple of 4 while writing to the flash. This leads to a bus fault on a platform like K64F where write-block-size is 8.
Is it possible to abstract utilsFlash* over a file system like nffs?
The text was updated successfully, but these errors were encountered: