Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 3 months ago.
SDFileSystem problem
I see this problem with compilation.
2 Answers
8 years, 3 months ago.
Pawel,
Can you list your target board and share your code to this problem so we can help.
Regards,
-Andrea
The board is NUCLEO-F103RB Code is present on https://developer.mbed.org/users/PawelWasik/code/Nucleo_SD_logger/
posted by 09 Aug 20168 years, 3 months ago.
Hey Pawel,
The problem you are having is that they changed the property _name from protected to private in a base class (FileLike) of FATFileSystem, in FATFileSystem.cpp instead of using the getter method it was accessed directly, so just changing _name to getName() on lines 52 and 70 will fix the issue.
It seems to be fixed in the mbed-os github repository but not pushed to the mbed site library,
I do not know why but now compiler works OK without suggestion to change. I check phisically how my program works. Thanks for support. Would be better if someone or author of this library update this code.
posted by 09 Aug 2016If you rolled back to mbed 121 that reverts the change they made that broke it, It's an official mbed library, unfortunately they don't seem to keep them in sink with mbed changes. I sent a pull request from my fixed library hoping they would synchronise with git, but I'm not sure anyone monitors them.
posted by 09 Aug 2016