-
Notifications
You must be signed in to change notification settings - Fork 3k
Filesystem Class added to mbed namespace #7747
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
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.
Looks good to me 👍
@@ -205,8 +206,8 @@ DRESULT disk_read(BYTE pdrv, BYTE *buff, DWORD sector, UINT count) | |||
{ |
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.
Could the disk functions still live in the mbed namespace if you declare them as extern "C"
?
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.
If they are declared as extern "C" then they are part of the global namespace; the only one C knows.
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.
Though declaring them as extern "C" allows you to use anything from the mbed namespace and also notates why the functions aren't in the namespace.
It's just a minor thing to note
38b3f22
to
3f69d1a
Compare
Why is the breaking change box not ticked ? |
FYI should probably wait for resolution of #7757 |
Need to wait for major version release. |
Description
Moving FatFs and LittleFs inside mbed namespace. More info : #7663
Please note:All disk operations implemented for ChanFs (inside FATFileSystem.cpp file) are excluded from mbed namespace. https://github.com/ARMmbed/mbed-os/blob/master/features/filesystem/fat/FATFileSystem.cpp#L140
Pull request type
Targeted to minor release