EFFS file deletion

Discussion to talk about software related topics only.
Post Reply
nirias999
Posts: 10
Joined: Thu Apr 24, 2008 3:36 pm

EFFS file deletion

Post by nirias999 »

I have an app that over time records thousands of files on an SD card. Is there any trick to rapidly delete files? Deleting one file at a time with f_delete() is painfully slow at only 2 per second.
Ridgeglider
Posts: 513
Joined: Sat Apr 26, 2008 7:14 am

Re: EFFS file deletion

Post by Ridgeglider »

I'd be intertested in the same thing too. One (small) way to improve many of the EFFS calls is to comment out the printf calls that dump status info to stdio. These are helpful at first, but usually inappropriate soon. For deletes of large numbers of files , I've often resorted to using a laptop and some batch files. A directory delete would be useful.
Post Reply