FatFs Library

Hello everyone,

I have recently been working on porting the FatFs Generic FAT File System library to an Atmega328p for use with a project I'm working on and I'm really having some issues with it.  I've tried a couple of different tutorials and walkthroughs and in the end I either get odd errors that seems will be an incredible hassle to correct, or my program compiles but the actual program won't work correctly (none of the open, write, etc functions actually work)

I am writing this in Atmel Studio 6 (AVR Studio)

If anyone can please help me out, or if you have ported this for the atmel mega series before and can provide your files that would be awesome

Thank you