Skip to content

Commit 955b928

Browse files
committed
Add UART_3 define for compilation
1 parent d2e7eda commit 955b928

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PeripheralNames.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ typedef enum {
4949
typedef enum {
5050
UART_1 = (int)USART1_BASE,
5151
UART_2 = (int)USART2_BASE,
52+
UART_3 = (int)USART3_BASE // defined for compilation issue. UART3 is not present on STM32F303K8
5253
} UARTName;
5354

5455
#define STDIO_UART_TX PA_2

0 commit comments

Comments
 (0)