9 years, 3 months ago.

Errors when compiling SDFileSystem on L053R8

When I attempt to compile the SDFileSystem, specifically using SDCardTest by Simon Ford which calls this library (available here : https://developer.mbed.org/users/simon/code/SDCardTest/). I get a small handful of errors, including : - Error: Undefined symbol mbed::FATFileSystem::opendir(const char*) (referred from SDFileSystem.NUCLEO_L053R8.o). - Error: Undefined symbol mbed::FATFileSystem::mkdir(const char*, int) (referred from SDFileSystem.NUCLEO_L053R8.o). - Error: Undefined symbol mbed::FATFileSystem::format() (referred from SDFileSystem.NUCLEO_L053R8.o). - Error: Undefined symbol mbed::FATFileSystem::remove(const char*) (referred from SDFileSystem.NUCLEO_L053R8.o). - Error: Undefined symbol mbed::FATFileSystem::opendir(const char*) (referred from SDFileSystem.NUCLEO_L053R8.o). - Error: Undefined symbol mbed::FATFileSystem::FATFileSystemsub_object(const char*) (refrred from SDFileSystem.NUCLEO_L053R8.o). - Error: Undefined symbol mbed::FATFileSystem::FATFileSystemsub_object() (referred from SDFileSystem.NUCLEO_L053R8.o). - Error: Undefined symbol typeinfo for mbed::FATFileSystem (referred from SDFileSystem.NUCLEO_L053R8.o).

I updated the mbed library, and its now up to date (release 122), but the above errors are a bit beyond me. Is there a better suited SDCard library for mbed which I should use? This one appears to be part of the mbed 'Building Blocks', and as such, I was expecting it to work out of the box.

Many thanks in advance for your help.

Regards, David

Be the first to answer this question.