Browse Source

Add USB_FLASH_DRIVE_SUPPORT to examples

Co-Authored-By: marcio-ao <marcio@alephobjects.com>
Scott Lahteine 6 years ago
parent
commit
fc326b3dde
54 changed files with 972 additions and 0 deletions
  1. 18
    0
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  2. 18
    0
      Marlin/src/config/examples/Anet/A2/Configuration_adv.h
  3. 18
    0
      Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
  4. 18
    0
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  5. 18
    0
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  6. 18
    0
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  7. 18
    0
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  8. 18
    0
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  9. 18
    0
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  10. 18
    0
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  11. 18
    0
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  12. 18
    0
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  13. 18
    0
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  14. 18
    0
      Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  15. 18
    0
      Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  16. 18
    0
      Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  17. 18
    0
      Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  18. 18
    0
      Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  19. 18
    0
      Marlin/src/config/examples/Einstart-S/Configuration_adv.h
  20. 18
    0
      Marlin/src/config/examples/Felix/Configuration_adv.h
  21. 18
    0
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  22. 18
    0
      Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
  23. 18
    0
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  24. 18
    0
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
  25. 18
    0
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  26. 18
    0
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  27. 18
    0
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  28. 18
    0
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  29. 18
    0
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  30. 18
    0
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  31. 18
    0
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  32. 18
    0
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  33. 18
    0
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  34. 18
    0
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  35. 18
    0
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  36. 18
    0
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  37. 18
    0
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  38. 18
    0
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  39. 18
    0
      Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
  40. 18
    0
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  41. 18
    0
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  42. 18
    0
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  43. 18
    0
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  44. 18
    0
      Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  45. 18
    0
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  46. 18
    0
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  47. 18
    0
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  48. 18
    0
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  49. 18
    0
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  50. 18
    0
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  51. 18
    0
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  52. 18
    0
      Marlin/src/config/examples/makibox/Configuration_adv.h
  53. 18
    0
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  54. 18
    0
      Marlin/src/config/examples/wt150/Configuration_adv.h

+ 18
- 0
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Anet/A2/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Anet/A6/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Anet/A8/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h View File

@@ -691,6 +691,24 @@
691 691
    */
692 692
   //#define AUTO_REPORT_SD_STATUS
693 693
 
694
+  /**
695
+   * Support for USB thumb drives using an Arduino USB Host Shield or
696
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
697
+   * to Marlin as an SD card.
698
+   *
699
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
700
+   * the following pin mapping:
701
+   *
702
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
703
+   *    INT              --> SD_DETECT_PIN
704
+   *    SS               --> SDSS
705
+   */
706
+  //#define USB_FLASH_DRIVE_SUPPORT
707
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
708
+    #define USB_CS_PIN         SDSS
709
+    #define USB_INTR_PIN       SD_DETECT_PIN
710
+  #endif
711
+
694 712
 #endif // SDSUPPORT
695 713
 
696 714
 /**

+ 18
- 0
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Cartesio/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Einstart-S/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Felix/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   #define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h View File

@@ -687,6 +687,24 @@
687 687
    */
688 688
   #define AUTO_REPORT_SD_STATUS
689 689
 
690
+  /**
691
+   * Support for USB thumb drives using an Arduino USB Host Shield or
692
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
693
+   * to Marlin as an SD card.
694
+   *
695
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
696
+   * the following pin mapping:
697
+   *
698
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
699
+   *    INT              --> SD_DETECT_PIN
700
+   *    SS               --> SDSS
701
+   */
702
+  //#define USB_FLASH_DRIVE_SUPPORT
703
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
704
+    #define USB_CS_PIN         SDSS
705
+    #define USB_INTR_PIN       SD_DETECT_PIN
706
+  #endif
707
+
690 708
 #endif // SDSUPPORT
691 709
 
692 710
 /**

+ 18
- 0
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h View File

@@ -688,6 +688,24 @@
688 688
    */
689 689
   #define AUTO_REPORT_SD_STATUS
690 690
 
691
+  /**
692
+   * Support for USB thumb drives using an Arduino USB Host Shield or
693
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
694
+   * to Marlin as an SD card.
695
+   *
696
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
697
+   * the following pin mapping:
698
+   *
699
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
700
+   *    INT              --> SD_DETECT_PIN
701
+   *    SS               --> SDSS
702
+   */
703
+  //#define USB_FLASH_DRIVE_SUPPORT
704
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
705
+    #define USB_CS_PIN         SDSS
706
+    #define USB_INTR_PIN       SD_DETECT_PIN
707
+  #endif
708
+
691 709
 #endif // SDSUPPORT
692 710
 
693 711
 /**

+ 18
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/MakerParts/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h View File

@@ -684,6 +684,24 @@
684 684
    */
685 685
   //#define AUTO_REPORT_SD_STATUS
686 686
 
687
+  /**
688
+   * Support for USB thumb drives using an Arduino USB Host Shield or
689
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
690
+   * to Marlin as an SD card.
691
+   *
692
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
693
+   * the following pin mapping:
694
+   *
695
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
696
+   *    INT              --> SD_DETECT_PIN
697
+   *    SS               --> SDSS
698
+   */
699
+  //#define USB_FLASH_DRIVE_SUPPORT
700
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
701
+    #define USB_CS_PIN         SDSS
702
+    #define USB_INTR_PIN       SD_DETECT_PIN
703
+  #endif
704
+
687 705
 #endif // SDSUPPORT
688 706
 
689 707
 /**

+ 18
- 0
Marlin/src/config/examples/RigidBot/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/SCARA/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/TheBorg/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h View File

@@ -696,6 +696,24 @@
696 696
    */
697 697
   //#define AUTO_REPORT_SD_STATUS
698 698
 
699
+  /**
700
+   * Support for USB thumb drives using an Arduino USB Host Shield or
701
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
702
+   * to Marlin as an SD card.
703
+   *
704
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
705
+   * the following pin mapping:
706
+   *
707
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
708
+   *    INT              --> SD_DETECT_PIN
709
+   *    SS               --> SDSS
710
+   */
711
+  //#define USB_FLASH_DRIVE_SUPPORT
712
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
713
+    #define USB_CS_PIN         SDSS
714
+    #define USB_INTR_PIN       SD_DETECT_PIN
715
+  #endif
716
+
699 717
 #endif // SDSUPPORT
700 718
 
701 719
 /**

+ 18
- 0
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h View File

@@ -685,6 +685,24 @@
685 685
    */
686 686
   //#define AUTO_REPORT_SD_STATUS
687 687
 
688
+  /**
689
+   * Support for USB thumb drives using an Arduino USB Host Shield or
690
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
691
+   * to Marlin as an SD card.
692
+   *
693
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
694
+   * the following pin mapping:
695
+   *
696
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
697
+   *    INT              --> SD_DETECT_PIN
698
+   *    SS               --> SDSS
699
+   */
700
+  //#define USB_FLASH_DRIVE_SUPPORT
701
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
702
+    #define USB_CS_PIN         SDSS
703
+    #define USB_INTR_PIN       SD_DETECT_PIN
704
+  #endif
705
+
688 706
 #endif // SDSUPPORT
689 707
 
690 708
 /**

+ 18
- 0
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h View File

@@ -685,6 +685,24 @@
685 685
    */
686 686
   //#define AUTO_REPORT_SD_STATUS
687 687
 
688
+  /**
689
+   * Support for USB thumb drives using an Arduino USB Host Shield or
690
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
691
+   * to Marlin as an SD card.
692
+   *
693
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
694
+   * the following pin mapping:
695
+   *
696
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
697
+   *    INT              --> SD_DETECT_PIN
698
+   *    SS               --> SDSS
699
+   */
700
+  //#define USB_FLASH_DRIVE_SUPPORT
701
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
702
+    #define USB_CS_PIN         SDSS
703
+    #define USB_INTR_PIN       SD_DETECT_PIN
704
+  #endif
705
+
688 706
 #endif // SDSUPPORT
689 707
 
690 708
 /**

+ 18
- 0
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

@@ -685,6 +685,24 @@
685 685
    */
686 686
   //#define AUTO_REPORT_SD_STATUS
687 687
 
688
+  /**
689
+   * Support for USB thumb drives using an Arduino USB Host Shield or
690
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
691
+   * to Marlin as an SD card.
692
+   *
693
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
694
+   * the following pin mapping:
695
+   *
696
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
697
+   *    INT              --> SD_DETECT_PIN
698
+   *    SS               --> SDSS
699
+   */
700
+  //#define USB_FLASH_DRIVE_SUPPORT
701
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
702
+    #define USB_CS_PIN         SDSS
703
+    #define USB_INTR_PIN       SD_DETECT_PIN
704
+  #endif
705
+
688 706
 #endif // SDSUPPORT
689 707
 
690 708
 /**

+ 18
- 0
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h View File

@@ -685,6 +685,24 @@
685 685
    */
686 686
   //#define AUTO_REPORT_SD_STATUS
687 687
 
688
+  /**
689
+   * Support for USB thumb drives using an Arduino USB Host Shield or
690
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
691
+   * to Marlin as an SD card.
692
+   *
693
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
694
+   * the following pin mapping:
695
+   *
696
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
697
+   *    INT              --> SD_DETECT_PIN
698
+   *    SS               --> SDSS
699
+   */
700
+  //#define USB_FLASH_DRIVE_SUPPORT
701
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
702
+    #define USB_CS_PIN         SDSS
703
+    #define USB_INTR_PIN       SD_DETECT_PIN
704
+  #endif
705
+
688 706
 #endif // SDSUPPORT
689 707
 
690 708
 /**

+ 18
- 0
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h View File

@@ -685,6 +685,24 @@
685 685
    */
686 686
   //#define AUTO_REPORT_SD_STATUS
687 687
 
688
+  /**
689
+   * Support for USB thumb drives using an Arduino USB Host Shield or
690
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
691
+   * to Marlin as an SD card.
692
+   *
693
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
694
+   * the following pin mapping:
695
+   *
696
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
697
+   *    INT              --> SD_DETECT_PIN
698
+   *    SS               --> SDSS
699
+   */
700
+  //#define USB_FLASH_DRIVE_SUPPORT
701
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
702
+    #define USB_CS_PIN         SDSS
703
+    #define USB_INTR_PIN       SD_DETECT_PIN
704
+  #endif
705
+
688 706
 #endif // SDSUPPORT
689 707
 
690 708
 /**

+ 18
- 0
Marlin/src/config/examples/delta/generic/Configuration_adv.h View File

@@ -685,6 +685,24 @@
685 685
    */
686 686
   //#define AUTO_REPORT_SD_STATUS
687 687
 
688
+  /**
689
+   * Support for USB thumb drives using an Arduino USB Host Shield or
690
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
691
+   * to Marlin as an SD card.
692
+   *
693
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
694
+   * the following pin mapping:
695
+   *
696
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
697
+   *    INT              --> SD_DETECT_PIN
698
+   *    SS               --> SDSS
699
+   */
700
+  //#define USB_FLASH_DRIVE_SUPPORT
701
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
702
+    #define USB_CS_PIN         SDSS
703
+    #define USB_INTR_PIN       SD_DETECT_PIN
704
+  #endif
705
+
688 706
 #endif // SDSUPPORT
689 707
 
690 708
 /**

+ 18
- 0
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h View File

@@ -685,6 +685,24 @@
685 685
    */
686 686
   //#define AUTO_REPORT_SD_STATUS
687 687
 
688
+  /**
689
+   * Support for USB thumb drives using an Arduino USB Host Shield or
690
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
691
+   * to Marlin as an SD card.
692
+   *
693
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
694
+   * the following pin mapping:
695
+   *
696
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
697
+   *    INT              --> SD_DETECT_PIN
698
+   *    SS               --> SDSS
699
+   */
700
+  //#define USB_FLASH_DRIVE_SUPPORT
701
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
702
+    #define USB_CS_PIN         SDSS
703
+    #define USB_INTR_PIN       SD_DETECT_PIN
704
+  #endif
705
+
688 706
 #endif // SDSUPPORT
689 707
 
690 708
 /**

+ 18
- 0
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h View File

@@ -685,6 +685,24 @@
685 685
    */
686 686
   //#define AUTO_REPORT_SD_STATUS
687 687
 
688
+  /**
689
+   * Support for USB thumb drives using an Arduino USB Host Shield or
690
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
691
+   * to Marlin as an SD card.
692
+   *
693
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
694
+   * the following pin mapping:
695
+   *
696
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
697
+   *    INT              --> SD_DETECT_PIN
698
+   *    SS               --> SDSS
699
+   */
700
+  //#define USB_FLASH_DRIVE_SUPPORT
701
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
702
+    #define USB_CS_PIN         SDSS
703
+    #define USB_INTR_PIN       SD_DETECT_PIN
704
+  #endif
705
+
688 706
 #endif // SDSUPPORT
689 707
 
690 708
 /**

+ 18
- 0
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/makibox/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h View File

@@ -683,6 +683,24 @@
683 683
    */
684 684
   //#define AUTO_REPORT_SD_STATUS
685 685
 
686
+  /**
687
+   * Support for USB thumb drives using an Arduino USB Host Shield or
688
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
689
+   * to Marlin as an SD card.
690
+   *
691
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
692
+   * the following pin mapping:
693
+   *
694
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
695
+   *    INT              --> SD_DETECT_PIN
696
+   *    SS               --> SDSS
697
+   */
698
+  //#define USB_FLASH_DRIVE_SUPPORT
699
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
700
+    #define USB_CS_PIN         SDSS
701
+    #define USB_INTR_PIN       SD_DETECT_PIN
702
+  #endif
703
+
686 704
 #endif // SDSUPPORT
687 705
 
688 706
 /**

+ 18
- 0
Marlin/src/config/examples/wt150/Configuration_adv.h View File

@@ -684,6 +684,24 @@
684 684
    */
685 685
   //#define AUTO_REPORT_SD_STATUS
686 686
 
687
+  /**
688
+   * Support for USB thumb drives using an Arduino USB Host Shield or
689
+   * equivalent MAX3421E breakout board. The USB thumb drive will appear
690
+   * to Marlin as an SD card.
691
+   *
692
+   * The MAX3421E must be assigned the same pins as the SD card reader, with
693
+   * the following pin mapping:
694
+   *
695
+   *    SCLK, MOSI, MISO --> SCLK, MOSI, MISO
696
+   *    INT              --> SD_DETECT_PIN
697
+   *    SS               --> SDSS
698
+   */
699
+  //#define USB_FLASH_DRIVE_SUPPORT
700
+  #if ENABLED(USB_FLASH_DRIVE_SUPPORT)
701
+    #define USB_CS_PIN         SDSS
702
+    #define USB_INTR_PIN       SD_DETECT_PIN
703
+  #endif
704
+
687 705
 #endif // SDSUPPORT
688 706
 
689 707
 /**

Loading…
Cancel
Save