Bob Herlien, rah, MBARI, 3/25/2016 FatFS version 0.12 downloaded from http://elm-chan.org/fsw/ff/00index_e.html The above page documents the file system API, driver API, and configuration API. This doc is also included in FatFs/doc/00index_e.html Be sure to read the excellent FatFs Application Note, linked toward the bottom of the page. The driver that I started with was the one linked from the 8th post on the MicroChip Forums page here: http://www.microchip.com/forums/tm.aspx?tree=true&m=615999&mpage=1 The download link is http://www.microchip.com/forums/download.axd?file=0;615999 The file is called NBIIFS.zip, and the original driver was called mmcPIC32.c. Note that this driver was written for FatFs 0.09, so I had to port it to 0.12, as well as porting to Oasis5. Files: ff.[ch] Fatfs ffconf.h Choose configuration parms for Fatfs integer.h Fundamental types used by ff.[ch] diskio.h Definitions for driver interface option/syscall.c Port of system call support funcs from FatFs sdPIC32.c Port of mmcPIC32.c (from NBIIFS.zip) to Oasis5 The only change I made to ff.c was to untabify it, consistent with how I'm doing the rest of Oasis5. Also see FILESYS.txt