Skip to content

Commit a129b8f

Browse files
committed
[NUCLEO_F103RB] Add more generic signal names for the examples.
1 parent 37b8aca commit a129b8f

File tree

1 file changed

+10
-3
lines changed
  • libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB

1 file changed

+10
-3
lines changed

libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/PinNames.h

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,17 @@ typedef enum {
150150
D14 = PB_9,
151151
D15 = PB_8,
152152

153+
// Generic signals
153154
USER_BUTTON = PC_13,
154-
UART_TX = PA_2,
155-
UART_RX = PA_3,
156-
155+
SERIAL_TX = PA_2,
156+
SERIAL_RX = PA_3,
157+
I2C_SCL = PB_8,
158+
I2C_SDA = PB_9,
159+
SPI_MOSI = PA_7,
160+
SPI_MISO = PA_6,
161+
SPI_SCK = PA_5,
162+
PWM_OUT = PB_3,
163+
157164
// mbed mandatory namings
158165
LED1 = PA_5,
159166
LED2 = PA_5,

0 commit comments

Comments
 (0)