2025-12-24 2:28 AM
Hello, everyone on the forum.
I am using ThreadX and FileX to write files to an SD card on the STMH735G-DK.
I successfully created a directory using fx_directory_create and created a file using fx_file_create.
This time, we'll tackle directory deletion using fx_directory_delete.
However, if the directory contains files, deletion will fail with error code FX_DIR_NOT_EMPTY.
How can I search for filenames within a directory using FileX?
If anyone knows anything, please give me some advice.