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

[2.0.x] DUE - add full speed USB native port option
This commit is contained in:
Bob-the-Kuhn 2018-03-17 13:41:45 -05:00 committed by GitHub
commit c79b53d406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
//@}