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.
4 years, 3 months ago.
Clearing flash memory after writing data to local file system
I'm using an LPC1768 to take data from several sensors, including a 9-axis accelerometer and GPS. For now, I've been saving the data in text files in the local file system of the Mbed. During testing, I've run into the issue on two separate mbeds that flash memory appears to fill up over time, even if I clear the .trash file and overwrite the data text files.
Is there something I'm missing about the local file system? Does deleting a file in the local file system just move it to the trash and not actually free up the memory?