greiman / SdFat-beta

Beta SdFat for test of new features
MIT License
167 stars 61 forks source link

SdFatSdioEX and FatFileSystem still broken for Teensy 4.1 #57

Open PowerBroker2 opened 4 years ago

PowerBroker2 commented 4 years ago

Bill,

I'm trying to get SdFatSdioEX and FatFileSystem to work with my SD terminal library, but it fails with the following error:

C:\Users\ltber\OneDrive\Documents\Arduino\libraries\SdTerminal\src/SdTerminal.h:20:13: error: 'FatFileSystem' has not been declared

  void begin(FatFileSystem& sd, Stream& stream=Serial, const uint16_t& timeout=100);

             ^

C:\Users\ltber\OneDrive\Documents\Arduino\libraries\SdTerminal\src/SdTerminal.h:28:2: error: 'FatFileSystem' does not name a type

  FatFileSystem* _sd;

  ^

In file included from C:\Users\ltber\OneDrive\Documents\Arduino\small_plane_testbed\small_plane_testbed.ino:10:0:

datalog.h:9: error: 'SdFatSdioEX' does not name a type
 SdFatSdioEX sd;

 ^

Was this intended to be fixed here?

Is there a simple fix to this? Thanks!

greiman commented 4 years ago

Yes, SdFatBeta is required for Teensy 4.1. I hope to soon release SdFatBeta as SdFat V2.0.