embedded-sdmmc-rs icon indicating copy to clipboard operation
embedded-sdmmc-rs copied to clipboard

How to read the LFN for a file?

Open neil-morrison44 opened this issue 11 months ago • 2 comments

Apologies if this is already in an example somewhere but I’ve not spotted it.

I need to somehow read the large file name for a file. I don’t mind getting an iter back of all the short file names for the file & having to compose the long file name myself, if that fits better with no_std & how FAT works.

I see the is_lfn property but I’ve not yet found anywhere that comes back as true - even the files which end in ~1.

Ideally I want to retrieve a file using the large file name (but I can see how that could be out of scope)

neil-morrison44 avatar Jul 29 '23 16:07 neil-morrison44