Closed GOB52 closed 1 year ago
hi, thanks for your feedback,
thanks to your input I made a few tests and it looks like SdFat.h and SD.h aren't mutually exclusive anymore.
I'll run some CI tests with the new macro system to see if this didnt break anything :wink:
CI tests didn't yield any error, however I spotted a nasty bug with SDUCfg.setBinFileName()
and will produce a new release and close the associated issues.
PlatformIO Core, version 6.1.6
The combination of M5Unified and SdFat is not a problem though, M5Stack and SdFat combination causes compile error.
The reason seems to be that __SDH_\ is enabled because M5Stack.h depends on SD.h. ("#if !SDU_HAS_FS" in M5StackUpdater.hpp does not enable and SdFat-related includes are not performed)
Sorry if this is an unsupported combination.