Skip to content

Commit

Permalink
[XDOT_L151] add SWD & UART pin names to match pinout diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
mfiore02 authored and sg- committed Sep 27, 2016
1 parent a93b7d2 commit 4820c87
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ typedef enum {
// Wake Pin
WAKE = PA_0,

// SWD Pins
SWDIO = PA_13,
SWCLK = PA_14,

// UART
UART1_TX = PA_9,
UART1_RX = PA_10,
Expand All @@ -149,6 +153,11 @@ typedef enum {
USBTX = UART2_TX,
USBRX = UART2_RX,

UART_TX = UART1_TX,
UART_RX = UART1_RX,
UART_CTS = UART1_CTS,
UART_RTS = UART1_RTS,

// SPI
SPI2_MOSI = PB_15,
SPI2_MISO = PB_14,
Expand Down

0 comments on commit 4820c87

Please sign in to comment.