Skip to content

Commit 4820c87

Browse files
mfiore02sg-
authored andcommitted
[XDOT_L151] add SWD & UART pin names to match pinout diagram
1 parent a93b7d2 commit 4820c87

File tree

1 file changed

+9
-0
lines changed
  • hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_XDOT_L151CC

1 file changed

+9
-0
lines changed

hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_XDOT_L151CC/PinNames.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ typedef enum {
137137
// Wake Pin
138138
WAKE = PA_0,
139139

140+
// SWD Pins
141+
SWDIO = PA_13,
142+
SWCLK = PA_14,
143+
140144
// UART
141145
UART1_TX = PA_9,
142146
UART1_RX = PA_10,
@@ -149,6 +153,11 @@ typedef enum {
149153
USBTX = UART2_TX,
150154
USBRX = UART2_RX,
151155

156+
UART_TX = UART1_TX,
157+
UART_RX = UART1_RX,
158+
UART_CTS = UART1_CTS,
159+
UART_RTS = UART1_RTS,
160+
152161
// SPI
153162
SPI2_MOSI = PB_15,
154163
SPI2_MISO = PB_14,

0 commit comments

Comments
 (0)