Hi Marco,
Please follow the following steps to add long file name support:
1.#define _USE_LFN 3 in ffconf.h
2.#define _CODE_PAGE 437 in ffconf.h
I have tested based on host_msd_fatfs demo on frdm-k64f, it runs well. Please refer to the following snapshots for more details.


Hope that helps,
Have a great day,
Kan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------