Browse Source

Merge pull request #10140 from Bob-the-Kuhn/DUE-full-speed

[2.0.x] DUE - add full speed USB native port option
Bob-the-Kuhn 7 years ago
parent
commit
c79b53d406
No account linked to committer's email address
1 changed files with 9 additions and 4 deletions
  1. 9
    4
      Marlin/src/HAL/HAL_DUE/usb/conf_usb.h

+ 9
- 4
Marlin/src/HAL/HAL_DUE/usb/conf_usb.h View File

88
 //! To define a Low speed device
88
 //! To define a Low speed device
89
 //#define  USB_DEVICE_LOW_SPEED
89
 //#define  USB_DEVICE_LOW_SPEED
90
 
90
 
91
+//! To define a Full speed device
92
+//#define  USB_DEVICE_FULL_SPEED
93
+
91
 //! To authorize the High speed
94
 //! To authorize the High speed
92
-#if (UC3A3||UC3A4)
93
-#  define  USB_DEVICE_HS_SUPPORT
94
-#elif (SAM3XA||SAM3U)
95
-#  define  USB_DEVICE_HS_SUPPORT
95
+#ifndef USB_DEVICE_FULL_SPEED
96
+  #if (UC3A3||UC3A4)
97
+    #define  USB_DEVICE_HS_SUPPORT
98
+  #elif (SAM3XA||SAM3U)
99
+    #define  USB_DEVICE_HS_SUPPORT
100
+  #endif
96
 #endif
101
 #endif
97
 //@}
102
 //@}
98
 
103
 

Loading…
Cancel
Save