SDHCFileSystem Remove Directory

06 Jul 2012

I'm developing a data logger system using a SDHC Card and the lpc11u24. I'm using the SDHCFileSystem library. I am trying to format the card using sd.format(), so I don't have to pull the SD card out of my system. So far I'm having no luck. The processor just freezes and corrupts the SD card. Also I am able to use remove(filename) to remove files from my SD card, but I'd also like to be able to delete directories as well. Is there any implementation of a rmdir or a remove(directory) function that I can call to do this. Any help would be greatly appreciated.

17 Jul 2012

I have found out you can use remove(directory) to remove directories as long as they're empty. That was the issue I was running into before. Still no luck on the sd.format() though.