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

@ -147,9 +147,13 @@ typedef enum {
SDMISO = P0_8,
SDSCLK = P1_29,
SDSSEL = P1_12,
// Not connected
NC = (int)0xFFFFFFFF,
// Standard but not supported pins
USBTX = NC,
USBRX = NC,
} PinName;
typedef enum {

View File

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