If needed change the define to use another pin. How to change the drive identifiers is also documented in this same file.Ī drive activity LED is setup on pin 24 in diskio.c for both drives on my T36.
Drive '1:/' is now the native SDHC drive. I modified uSDconfig.h to add Mass Storage drive '0:/'.
I would back these files up before replacing them. Need to be copied to the '~/Arduino/libraries/uSDFS/src' folder. In the MSC folder you will find 4 files in the 'MSC/uSDFS_Files_Copied_To_uSDFS' folder that No modifications to USBHost_t36 are needed at this time. Install MSC and uSDFS into '~/Arduino/libraries' folder. * MSC Mass Storage Controller, USB Flash drives and USB Hard drives. * uSDFS WMXZ Teensy uSDFS library modified for use with msc. It is working with Linux Ubuntu 18.04 and Mate Desktop 1.12.1. I do not have or use Windows so MSC has not been tested with that operating system. Tested with Arduino version 1.8.9 and Teensyduino version 1.46b10. That library also uses ELM-ChaN FatFs library. The test program is a modified version of 'uSDFS_test.ino' from WMXZ's uSDFS library which can be (Not completely processing error and sense codes yet). It is a very minimal working USB host mass storage driver for use with the Teensy 3.6 USB host port.Īt this time there is very little error checking done. This is a project I have been working off and on for two years. Mass Storage Controller (MSC) library for use with Teensy 3.6