I've bee trying to compile FATFS and PETITFS for
PIC18F45K50 with XC8 compiler but with no luck :\
Only thing I got working is this poor example that must have filename size of 8 characters and all lines need to be 32 characters long :\
I want to create a .txt file on the SD card (if it doesn't exist) and append data to it. Pretty much that's it.
There are examples for PIC24F and PIC32 but I couldn't make them work on my mcu :\
Does anyone have a suggestion how to implement fatfs and low-level IO functions or even better, have a SD card library that will work with this MCU and XC8?