Skip to content

Commit

Permalink
Merge pull request #9595 from c1728p9/define_usbtx_and_usbrx
Browse files Browse the repository at this point in the history
Define USBTX and USBRX for targets without them
  • Loading branch information
0xc0170 committed Feb 4, 2019
2 parents 7e9181c + 3e10418 commit 46101f6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46101f6

Please sign in to comment.