greiman / SdFat-beta

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

vfs etc. with Teensy 4 SdFat #37

Open manitou48 opened 4 years ago

manitou48 commented 4 years ago

Bill, In 2016 I used a zip file from stepl https://forum.pjrc.com/threads/45647-k6x-LAN8720(A)-amp-lwip to test T3.6 SDHC with lwIP servers (httpd, ftpd, tftpd). Teensy 4.1 will have Ethernet, so I re-visited the 2016 T3.6 tests. I can use SdFat-beta to read/write files on T4 builtin-sdcard, but the lwIP servers require the higher level abstractions like vfs. So I can't build those lwIP servers with the Teensy 4. The 2016 zip file was using SdFat lib (v1.0.3) and it still works with T3.6 proto ethernet. I looked at how to inject your T4 SDHC support into v1.0.3 or how to add vfs et al to SdFat-beta, both were beyond my pay-grade.

Any chance the VFS abstractions will be added to SdFat-beta or ??

thanks

greiman commented 4 years ago

The vfs wrapper uses internals of SdFat V 1.0. Some of these were changed in SdFat-beta so I could add exFAT support.

I suspect vfs.h and vfs.cpp could be modified for SdFat v 2.0. This is not a simple change.