Skip to content

Commit 75a01f6

Browse files
c1728p9adbridge
authored andcommitted
Define USBTX and USBRX for targets missing it
Define USBTX and USBRX for the LPC11U37H and the MTS_MDOT_F405RG.
1 parent 2a74fbf commit 75a01f6

File tree

2 files changed

+11
-2
lines changed
  • targets
    • TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401
    • TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG

2 files changed

+11
-2
lines changed

targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/PinNames.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,13 @@ typedef enum {
147147
SDMISO = P0_8,
148148
SDSCLK = P1_29,
149149
SDSSEL = P1_12,
150-
150+
151151
// Not connected
152152
NC = (int)0xFFFFFFFF,
153+
154+
// Standard but not supported pins
155+
USBTX = NC,
156+
USBRX = NC,
153157
} PinName;
154158

155159
typedef enum {

targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PinNames.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,12 @@ typedef enum {
140140
USB_OTG_HS_ULPI_NXT = PC_3,
141141

142142
// Not connected
143-
NC = (int)0xFFFFFFFF
143+
NC = (int)0xFFFFFFFF,
144+
145+
// Standard but not supported pins
146+
USBTX = NC,
147+
USBRX = NC
148+
144149
} PinName;
145150

146151
#ifdef __cplusplus

0 commit comments

Comments
 (0)