2025-05-28 10:11 PM
Hi ,
I am using STM32H725 board, I want to get the size of each directories present in my MMC chip.
I am using FileX for file and directory operations on an MMC chip. The chip is accessed via USB MSC
Thank you.
2025-05-29 12:37 AM
Hello @Riya
FileX does not provide a built-in function specifically for calculating the size of a directory. To achieve this, you need to manually iterate through the directory entries, sum the sizes of all files, and handle any subdirectories recursively. This involves using FileX APIs to navigate the file system and perform the necessary calculations.
2025-05-29 2:24 AM
Could you please any examples ?