cancel
Showing results for 
Search instead for 
Did you mean: 

Display list of files on SD card

Petr3
Associate III

Hello,

im working on MP3 player. I would like to show list of files/folders(file system) in the FAT system on SD card and open them. The length of list is dynamically based on content of SD card. What is the good approach to do this?

 

Thanks for the tips.

1 REPLY 1
SofLit
ST Employee

Hello,

Look at the implementation of one of the Audio file player/record examples that provides a folder "explorer".

For example:

https://github.com/STMicroelectronics/STM32CubeF7/blob/master/Projects/STM32746G-Discovery/Applications/Audio/Audio_playback_and_record/Src/explorer.c

Hope it helps

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.