Merge pull request #9595 from c1728p9/define_usbtx_and_usbrx

Define USBTX and USBRX for targets without them
pull/9604/head
Martin Kojtal 2019-02-04 17:13:00 +01:00 committed by GitHub
commit 46101f68fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

View File

@ -150,6 +150,10 @@ typedef enum {
// Not connected // Not connected
NC = (int)0xFFFFFFFF, NC = (int)0xFFFFFFFF,
// Standard but not supported pins
USBTX = NC,
USBRX = NC,
} PinName; } PinName;
typedef enum { typedef enum {

View File

@ -140,7 +140,12 @@ typedef enum {
USB_OTG_HS_ULPI_NXT = PC_3, USB_OTG_HS_ULPI_NXT = PC_3,
// Not connected // Not connected
NC = (int)0xFFFFFFFF NC = (int)0xFFFFFFFF,
// Standard but not supported pins
USBTX = NC,
USBRX = NC
} PinName; } PinName;
#ifdef __cplusplus #ifdef __cplusplus