Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 1 month ago.
How to check whether Local file system drive has capacity to write data?
I have an application where I'm appending test result values to a file on the local file system flash drive. I would like to first check the remaining drive capacity so that the program can warn the user if the file is getting too big and data might be lost if they continue. Can anyone advise? Many thanks.