7 years, 6 months ago.

SDFileSystem Compiler Errors

I thought I would share this: I was getting the following errors when compiling /media/uploads/dwsexton/mbederror.jpg

This is not a problem with the SDFileSystem library. It took me a day to figure it out, but it turned out my copy of mbed-os had somehow gotten corrupted. I had even updated the revision but that did not clear the errors. It was only when I deleted it out of the project and then copied it in from another project that was compiling correctly that it started to compile properly again.

This was a very frustrating problem and a lost of day of valuable project time chasing it down. I hope this helps others in the future.

1 Answer

7 years, 6 months ago.

I ran into this problem too:

https://developer.mbed.org/questions/77810/OS5-K64F-and-SDFileSystem-gets-online-co/#answer12519

Going forward, mbed wants you to forget SDFileSystem and use SDBlockDevice + FATFileSystem instead...

It is an onerous task converting to mbed CLI and not as convenient compared to the online compiler, but I made the change a couple weeks ago.

...kevin

Accepted Answer