Merge pull request #15200 from OpenNuvoton/nuvoton_m487_fix-uart67-base

M487: Fix UART 6/7 base address encoding
pull/15204/head
Martin Kojtal 2022-01-10 13:06:00 +01:00 committed by GitHub
commit 70fd0cef1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -101,8 +101,8 @@ typedef enum {
UART_3 = (int) NU_MODNAME(UART3_BASE, 3, 0),
UART_4 = (int) NU_MODNAME(UART4_BASE, 4, 0),
UART_5 = (int) NU_MODNAME(UART5_BASE, 5, 0),
UART_6 = (int) NU_MODNAME(UART5_BASE, 6, 0),
UART_7 = (int) NU_MODNAME(UART5_BASE, 7, 0),
UART_6 = (int) NU_MODNAME(UART6_BASE, 6, 0),
UART_7 = (int) NU_MODNAME(UART7_BASE, 7, 0),
// NOTE: board-specific
#if defined(MBED_CONF_TARGET_USB_UART)
USB_UART = MBED_CONF_TARGET_USB_UART,