Help me with this error

Im trying to print 3 float on a txt file but i get this:
Error: Member “mbed::FileBase::_name” (declared at line 64 of “/extras/mbed/platform/FileBase.h”) is inaccessible in “SDFileSystem/FATFileSystem/FATFileSystem.cpp”, Line: 51, Col: 69
I’m tring to do this on a SD card for a NUCLEO-F401RE project.


issues around floats are usually connected to settings - mbed-os/platform/source/minimal-printf at master · ARMmbed/mbed-os (

If not, please share code.

BR, Jan