PaulStoffregen / USBHost_t36

USB Host Library for Teensy 3.6 and 4.0
166 stars 85 forks source link

Additions for EXT4 filesystem recognition. #117

Closed wwatson4506 closed 1 year ago

wwatson4506 commented 1 year ago

Three files were changed. MassStorage.cpp, USBHost_t36.h and msc.h. These changes only allow for MSC to recognize and claim an EXT4 formatted USB storage device. It does not start or mount a EXT4 formatted partition. That can be done at the sketch level with these changes. If the file system is not recognized a new error code is returned to indicate this. This has been tested thoroughly without issue.