I am running PlatformIO
If I do this, it seems to work
#include <SdFat.h>
#define FILE_READ_SD O_RDONLY
#define FILE_WRITE_SD ( O_RDWR | O_CREAT | O_AT_END )
// Hide SdFat’s macros so FS.h can redefine them cleanly:
#undef FILE_READ
#undef...
Above is my include files - but I'm working on reading and writing to USB and SD Card. I haven't written the code yet, but it's throwing a warning that FILE_READ & FILE_WRITE are being redefined - which could be bad. Is there a workaround?