Skip to content

Commit 6907b6d

Browse files
committed
Updated PeripheralNames.h, PeripheralPins.c and PinNames.h for STM32L433 devices
1 parent 90bb8fc commit 6907b6d

File tree

3 files changed

+294
-146
lines changed

3 files changed

+294
-146
lines changed

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L433xC/TARGET_NUCLEO_L433RC_P/PeripheralNames.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,26 +47,31 @@ typedef enum {
4747
typedef enum {
4848
UART_1 = (int)USART1_BASE,
4949
UART_2 = (int)USART2_BASE,
50+
UART_3 = (int)USART3_BASE,
5051
LPUART_1 = (int)LPUART1_BASE
5152
} UARTName;
5253

5354
#define STDIO_UART_TX PA_2
54-
#define STDIO_UART_RX PA_15
55+
#define STDIO_UART_RX PA_3
5556
#define STDIO_UART UART_2
5657

5758
typedef enum {
5859
SPI_1 = (int)SPI1_BASE,
60+
SPI_2 = (int)SPI2_BASE,
5961
SPI_3 = (int)SPI3_BASE
6062
} SPIName;
6163

6264
typedef enum {
6365
I2C_1 = (int)I2C1_BASE,
66+
I2C_2 = (int)I2C2_BASE,
6467
I2C_3 = (int)I2C3_BASE
6568
} I2CName;
6669

6770
typedef enum {
6871
PWM_1 = (int)TIM1_BASE,
6972
PWM_2 = (int)TIM2_BASE,
73+
PWM_6 = (int)TIM6_BASE,
74+
PWM_7 = (int)TIM7_BASE,
7075
PWM_15 = (int)TIM15_BASE,
7176
PWM_16 = (int)TIM16_BASE,
7277
} PWMName;

0 commit comments

Comments
 (0)