Browse Source
Merge pull request #10140 from Bob-the-Kuhn/DUE-full-speed
[2.0.x] DUE - add full speed USB native port option
pull/1/head
Bob-the-Kuhn
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
9 additions and
4 deletions
-
Marlin/src/HAL/HAL_DUE/usb/conf_usb.h
|
|
@ -88,11 +88,16 @@ |
|
|
|
//! To define a Low speed device
|
|
|
|
//#define USB_DEVICE_LOW_SPEED
|
|
|
|
|
|
|
|
//! To define a Full speed device
|
|
|
|
//#define USB_DEVICE_FULL_SPEED
|
|
|
|
|
|
|
|
//! To authorize the High speed
|
|
|
|
#if (UC3A3||UC3A4) |
|
|
|
# define USB_DEVICE_HS_SUPPORT |
|
|
|
#elif (SAM3XA||SAM3U) |
|
|
|
# define USB_DEVICE_HS_SUPPORT |
|
|
|
#ifndef USB_DEVICE_FULL_SPEED |
|
|
|
#if (UC3A3||UC3A4) |
|
|
|
#define USB_DEVICE_HS_SUPPORT |
|
|
|
#elif (SAM3XA||SAM3U) |
|
|
|
#define USB_DEVICE_HS_SUPPORT |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
//@}
|
|
|
|
|
|
|
|