SdFat-beta icon indicating copy to clipboard operation
SdFat-beta copied to clipboard

SdFatSdioEX and FatFileSystem still broken for Teensy 4.1

Open PowerBroker2 opened this issue 5 years ago • 1 comments

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!

PowerBroker2 avatar Sep 05 '20 22:09 PowerBroker2

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

greiman avatar Sep 06 '20 13:09 greiman