Update some configs

This commit is contained in:
Scott Lahteine 2019-09-06 18:24:09 -05:00
parent a3052da703
commit 14573cb823
4 changed files with 36 additions and 8 deletions

View File

@ -1014,17 +1014,31 @@
* equivalent MAX3421E breakout board. The USB thumb drive will appear * equivalent MAX3421E breakout board. The USB thumb drive will appear
* to Marlin as an SD card. * to Marlin as an SD card.
* *
* The MAX3421E must be assigned the same pins as the SD card reader, with * The MAX3421E can be assigned the same pins as the SD card reader, with
* the following pin mapping: * the following pin mapping:
* *
* SCLK, MOSI, MISO --> SCLK, MOSI, MISO * SCLK, MOSI, MISO --> SCLK, MOSI, MISO
* INT --> SD_DETECT_PIN * INT --> SD_DETECT_PIN [1]
* SS --> SDSS * SS --> SDSS
*
* [1] On AVR an interrupt-capable pin is best for UHS3 compatibility.
*/ */
//#define USB_FLASH_DRIVE_SUPPORT //#define USB_FLASH_DRIVE_SUPPORT
#if ENABLED(USB_FLASH_DRIVE_SUPPORT) #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
#define USB_CS_PIN SDSS #define USB_CS_PIN SDSS
#define USB_INTR_PIN SD_DETECT_PIN #define USB_INTR_PIN SD_DETECT_PIN
/**
* USB Host Shield Library
*
* - UHS2 uses no interrupts and has been production-tested
* on a LulzBot TAZ Pro with a 32-bit Archim board.
*
* - UHS3 is newer code with better USB compatibility. But it
* is less tested and is known to interfere with Servos.
* [1] This requires USB_INTR_PIN to be interrupt-capable.
*/
//#define USE_UHS3_USB
#endif #endif
/** /**

View File

@ -1060,7 +1060,7 @@
// Add an optimized binary file transfer mode, initiated with 'M28 B1' // Add an optimized binary file transfer mode, initiated with 'M28 B1'
//#define BINARY_FILE_TRANSFER //#define BINARY_FILE_TRANSFER
#ifdef TARGET_LPC1768 #if HAS_SDCARD_CONNECTION
/** /**
* Set this option to one of the following (or the board's defaults apply): * Set this option to one of the following (or the board's defaults apply):
* *

View File

@ -1060,7 +1060,7 @@
// Add an optimized binary file transfer mode, initiated with 'M28 B1' // Add an optimized binary file transfer mode, initiated with 'M28 B1'
//#define BINARY_FILE_TRANSFER //#define BINARY_FILE_TRANSFER
#ifdef TARGET_LPC1768 #if HAS_SDCARD_CONNECTION
/** /**
* Set this option to one of the following (or the board's defaults apply): * Set this option to one of the following (or the board's defaults apply):
* *

View File

@ -1014,17 +1014,31 @@
* equivalent MAX3421E breakout board. The USB thumb drive will appear * equivalent MAX3421E breakout board. The USB thumb drive will appear
* to Marlin as an SD card. * to Marlin as an SD card.
* *
* The MAX3421E must be assigned the same pins as the SD card reader, with * The MAX3421E can be assigned the same pins as the SD card reader, with
* the following pin mapping: * the following pin mapping:
* *
* SCLK, MOSI, MISO --> SCLK, MOSI, MISO * SCLK, MOSI, MISO --> SCLK, MOSI, MISO
* INT --> SD_DETECT_PIN * INT --> SD_DETECT_PIN [1]
* SS --> SDSS * SS --> SDSS
*
* [1] On AVR an interrupt-capable pin is best for UHS3 compatibility.
*/ */
#define USB_FLASH_DRIVE_SUPPORT #define USB_FLASH_DRIVE_SUPPORT
#if ENABLED(USB_FLASH_DRIVE_SUPPORT) #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
#define USB_CS_PIN SDSS #define USB_CS_PIN SDSS
#define USB_INTR_PIN SD_DETECT_PIN #define USB_INTR_PIN SD_DETECT_PIN
/**
* USB Host Shield Library
*
* - UHS2 uses no interrupts and has been production-tested
* on a LulzBot TAZ Pro with a 32-bit Archim board.
*
* - UHS3 is newer code with better USB compatibility. But it
* is less tested and is known to interfere with Servos.
* [1] This requires USB_INTR_PIN to be interrupt-capable.
*/
//#define USE_UHS3_USB
#endif #endif
/** /**