-
Notifications
You must be signed in to change notification settings - Fork 3k
SDBlockDevice error #8494
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
It looks like you might not have upgraded your Mbed OS to 5.10. |
Hi @pilotak, As of 5.10 you will also need to configure your target board to have the "STORAGE" component in order to successfully pull in the SDBlockDevice files: https://os.mbed.com/docs/v5.10/reference/configuration-storage.html#blockdevice-default-configuration |
@linlingao yes i have the latest OS. Thank you @yennster for pointing me to the right direction however it is not very clear in documentation for devices that do not have
{
"target_overrides": {
"NUCLEO_F412ZG": {
"target.features_add": ["STORAGE"],
"target.components_add": ["SD"]
}
}
} |
Reopen issue for doc enhancement. |
Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-100 |
Fixed by PelionIoT/sd-driver#115. |
For anyone who want to use SD cards with bare metal profile : it is also needed to add "storage" and "sd" to the "requires" section: |
Uh oh!
There was an error while loading. Please reload this page.
Description
When using SDBlockDevice from external repo i get an error, which is fine
[Error] SDBlockDevice.cpp@157,2: #error "Started from version 5.10.0 SDBlockDevice external repo is deprecated. please use the SDBlockDevice component inside mbed-os."
so i deleted the folder and i get
fatal error: SDBlockDevice.h: No such file or directory
Issue request type
[ ] Question
[ ] Enhancement
[x] Bug
The text was updated successfully, but these errors were encountered: