Define USBTX and USBRX for targets missing it

Define USBTX and USBRX for the LPC11U37H and the MTS_MDOT_F405RG.
pull/9646/head
Russ Butler 2019-02-01 21:56:31 -06:00 committed by adbridge
parent 2a74fbfc86
commit 75a01f6806
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