I want to add Elm-Chan's FATfs library to a current project (to access a microSD card). I have two problems - HOW to add and WHAT to add?
On the HOW front, there are three possible libraries - avr_foolproof, avr_complex, and ff10b. All are in folders with a slew of makefiles, readme, .s, .h, .c files. So, do I add a whole folder to the project or do I go through and pick out the desired files, and bring those individually into the project? If it is whole folder, how do I reference the desired items that I need to use?
On the WHAT front, I think that I want to use avr_foolproof except that is written for bit-banged SPI, and I have to have the speed of hardware SPI. The bit-bang SPI appears to be implemented in sdmm.c. avr_complex, on the other hand, seems to use hardware SPI managed in mmc_avr.c. Can I simply swap the second one for the first one without having to change something in the code (since they are different names and appear not to have any header files). How do I tell Studio that the desired file needs to be part of the project? Elm-Chan seems to do all that in the make files and that is totally unknown territory for me.
So, I am seeking advice on the points, above, plus any other comments, suggestions, etc, relative to FATfs. I've been through the library's forum but I was able to glean very little out of that.