|
@@ -1014,17 +1014,31 @@
|
1014
|
1014
|
* equivalent MAX3421E breakout board. The USB thumb drive will appear
|
1015
|
1015
|
* to Marlin as an SD card.
|
1016
|
1016
|
*
|
1017
|
|
- * The MAX3421E must be assigned the same pins as the SD card reader, with
|
|
1017
|
+ * The MAX3421E can be assigned the same pins as the SD card reader, with
|
1018
|
1018
|
* the following pin mapping:
|
1019
|
1019
|
*
|
1020
|
1020
|
* SCLK, MOSI, MISO --> SCLK, MOSI, MISO
|
1021
|
|
- * INT --> SD_DETECT_PIN
|
|
1021
|
+ * INT --> SD_DETECT_PIN [1]
|
1022
|
1022
|
* SS --> SDSS
|
|
1023
|
+ *
|
|
1024
|
+ * [1] On AVR an interrupt-capable pin is best for UHS3 compatibility.
|
1023
|
1025
|
*/
|
1024
|
1026
|
//#define USB_FLASH_DRIVE_SUPPORT
|
1025
|
1027
|
#if ENABLED(USB_FLASH_DRIVE_SUPPORT)
|
1026
|
|
- #define USB_CS_PIN SDSS
|
1027
|
|
- #define USB_INTR_PIN SD_DETECT_PIN
|
|
1028
|
+ #define USB_CS_PIN SDSS
|
|
1029
|
+ #define USB_INTR_PIN SD_DETECT_PIN
|
|
1030
|
+
|
|
1031
|
+ /**
|
|
1032
|
+ * USB Host Shield Library
|
|
1033
|
+ *
|
|
1034
|
+ * - UHS2 uses no interrupts and has been production-tested
|
|
1035
|
+ * on a LulzBot TAZ Pro with a 32-bit Archim board.
|
|
1036
|
+ *
|
|
1037
|
+ * - UHS3 is newer code with better USB compatibility. But it
|
|
1038
|
+ * is less tested and is known to interfere with Servos.
|
|
1039
|
+ * [1] This requires USB_INTR_PIN to be interrupt-capable.
|
|
1040
|
+ */
|
|
1041
|
+ //#define USE_UHS3_USB
|
1028
|
1042
|
#endif
|
1029
|
1043
|
|
1030
|
1044
|
/**
|