I have noticed that in my implementation of Tiny-FatFS that one can not delete files on a MMC card, using the PC. So, I thought I'd make a small utility, running on an ATmega32, that I could use to clean the card up periodically.
// unlink files f_unlink("010908");
But I get this error:
C:\WinAVR-20071221\My Projects\SD Card Deleter/sd_card_deleter.c:73: undefined reference to `f_unlink'
f_unlink is in tff.c, which is included in the project. Maybe I am not using f_unlink properly. "010908" is the file name, which I generate from RTC information. From the docs it appears that one only has to put the file name in quotes as the parameter to pass to f_unlink.
Has anyone used f_unlink successfully and can tell me what I am doing wrong?