USB FD via native USB Host + MSC (#20571)
This commit is contained in:
@ -386,6 +386,10 @@
|
||||
#define HOMING_BUMP_MM { 0, 0, 0 }
|
||||
#endif
|
||||
|
||||
#if ENABLED(USB_FLASH_DRIVE_SUPPORT) && NONE(USE_OTG_USB_HOST, USE_UHS3_USB)
|
||||
#define USE_UHS2_USB
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Driver Timings (in nanoseconds)
|
||||
* NOTE: Driver timing order is longest-to-shortest duration.
|
||||
|
@ -2912,10 +2912,14 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
|
||||
#error "PRINTCOUNTER requires EEPROM_SETTINGS."
|
||||
#endif
|
||||
|
||||
#if ENABLED(USB_FLASH_DRIVE_SUPPORT) && !PINS_EXIST(USB_CS, USB_INTR)
|
||||
#if ENABLED(USB_FLASH_DRIVE_SUPPORT) && !PINS_EXIST(USB_CS, USB_INTR) && DISABLED(USE_OTG_USB_HOST)
|
||||
#error "USB_CS_PIN and USB_INTR_PIN are required for USB_FLASH_DRIVE_SUPPORT."
|
||||
#endif
|
||||
|
||||
#if ENABLED(USE_OTG_USB_HOST) && !defined(HAS_OTG_USB_HOST_SUPPORT)
|
||||
#error "The current board does not support USE_OTG_USB_HOST."
|
||||
#endif
|
||||
|
||||
#if ENABLED(SD_FIRMWARE_UPDATE) && !defined(__AVR_ATmega2560__)
|
||||
#error "SD_FIRMWARE_UPDATE requires an ATmega2560-based (Arduino Mega) board."
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user