From 432c438c7620f8f101d8057494f81b6890148802 Mon Sep 17 00:00:00 2001 From: Bernd Walter Date: Sat, 15 Oct 2022 22:36:14 +0200 Subject: [PATCH] Use the correct marcro name for RP2040_UART0_BASE --- arch/arm/src/rp2040/hardware/rp2040_uart01.h | 44 ++++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/arch/arm/src/rp2040/hardware/rp2040_uart01.h b/arch/arm/src/rp2040/hardware/rp2040_uart01.h index 0e9921da3e..36ea3f271b 100644 --- a/arch/arm/src/rp2040/hardware/rp2040_uart01.h +++ b/arch/arm/src/rp2040/hardware/rp2040_uart01.h @@ -75,28 +75,28 @@ /* Register definitions (UART) **********************************************/ -#define RP2040_UART0_UARTDR (RP2040_UART_BASE + RP2040_UART_UARTDR_OFFSET) -#define RP2040_UART0_UARTRSR (RP2040_UART_BASE + RP2040_UART_UARTRSR_OFFSET) -#define RP2040_UART0_UARTFR (RP2040_UART_BASE + RP2040_UART_UARTFR_OFFSET) -#define RP2040_UART0_UARTILPR (RP2040_UART_BASE + RP2040_UART_UARTILPR_OFFSET) -#define RP2040_UART0_UARTIBRD (RP2040_UART_BASE + RP2040_UART_UARTIBRD_OFFSET) -#define RP2040_UART0_UARTFBRD (RP2040_UART_BASE + RP2040_UART_UARTFBRD_OFFSET) -#define RP2040_UART0_UARTLCR_H (RP2040_UART_BASE + RP2040_UART_UARTLCR_H_OFFSET) -#define RP2040_UART0_UARTCR (RP2040_UART_BASE + RP2040_UART_UARTCR_OFFSET) -#define RP2040_UART0_UARTIFLS (RP2040_UART_BASE + RP2040_UART_UARTIFLS_OFFSET) -#define RP2040_UART0_UARTIMSC (RP2040_UART_BASE + RP2040_UART_UARTIMSC_OFFSET) -#define RP2040_UART0_UARTRIS (RP2040_UART_BASE + RP2040_UART_UARTRIS_OFFSET) -#define RP2040_UART0_UARTMIS (RP2040_UART_BASE + RP2040_UART_UARTMIS_OFFSET) -#define RP2040_UART0_UARTICR (RP2040_UART_BASE + RP2040_UART_UARTICR_OFFSET) -#define RP2040_UART0_UARTDMACR (RP2040_UART_BASE + RP2040_UART_UARTDMACR_OFFSET) -#define RP2040_UART0_UARTPERIPHID0 (RP2040_UART_BASE + RP2040_UART_UARTPERIPHID0_OFFSET) -#define RP2040_UART0_UARTPERIPHID1 (RP2040_UART_BASE + RP2040_UART_UARTPERIPHID1_OFFSET) -#define RP2040_UART0_UARTPERIPHID2 (RP2040_UART_BASE + RP2040_UART_UARTPERIPHID2_OFFSET) -#define RP2040_UART0_UARTPERIPHID3 (RP2040_UART_BASE + RP2040_UART_UARTPERIPHID3_OFFSET) -#define RP2040_UART0_UARTPCELLID0 (RP2040_UART_BASE + RP2040_UART_UARTPCELLID0_OFFSET) -#define RP2040_UART0_UARTPCELLID1 (RP2040_UART_BASE + RP2040_UART_UARTPCELLID1_OFFSET) -#define RP2040_UART0_UARTPCELLID2 (RP2040_UART_BASE + RP2040_UART_UARTPCELLID2_OFFSET) -#define RP2040_UART0_UARTPCELLID3 (RP2040_UART_BASE + RP2040_UART_UARTPCELLID3_OFFSET) +#define RP2040_UART0_UARTDR (RP2040_UART0_BASE + RP2040_UART_UARTDR_OFFSET) +#define RP2040_UART0_UARTRSR (RP2040_UART0_BASE + RP2040_UART_UARTRSR_OFFSET) +#define RP2040_UART0_UARTFR (RP2040_UART0_BASE + RP2040_UART_UARTFR_OFFSET) +#define RP2040_UART0_UARTILPR (RP2040_UART0_BASE + RP2040_UART_UARTILPR_OFFSET) +#define RP2040_UART0_UARTIBRD (RP2040_UART0_BASE + RP2040_UART_UARTIBRD_OFFSET) +#define RP2040_UART0_UARTFBRD (RP2040_UART0_BASE + RP2040_UART_UARTFBRD_OFFSET) +#define RP2040_UART0_UARTLCR_H (RP2040_UART0_BASE + RP2040_UART_UARTLCR_H_OFFSET) +#define RP2040_UART0_UARTCR (RP2040_UART0_BASE + RP2040_UART_UARTCR_OFFSET) +#define RP2040_UART0_UARTIFLS (RP2040_UART0_BASE + RP2040_UART_UARTIFLS_OFFSET) +#define RP2040_UART0_UARTIMSC (RP2040_UART0_BASE + RP2040_UART_UARTIMSC_OFFSET) +#define RP2040_UART0_UARTRIS (RP2040_UART0_BASE + RP2040_UART_UARTRIS_OFFSET) +#define RP2040_UART0_UARTMIS (RP2040_UART0_BASE + RP2040_UART_UARTMIS_OFFSET) +#define RP2040_UART0_UARTICR (RP2040_UART0_BASE + RP2040_UART_UARTICR_OFFSET) +#define RP2040_UART0_UARTDMACR (RP2040_UART0_BASE + RP2040_UART_UARTDMACR_OFFSET) +#define RP2040_UART0_UARTPERIPHID0 (RP2040_UART0_BASE + RP2040_UART_UARTPERIPHID0_OFFSET) +#define RP2040_UART0_UARTPERIPHID1 (RP2040_UART0_BASE + RP2040_UART_UARTPERIPHID1_OFFSET) +#define RP2040_UART0_UARTPERIPHID2 (RP2040_UART0_BASE + RP2040_UART_UARTPERIPHID2_OFFSET) +#define RP2040_UART0_UARTPERIPHID3 (RP2040_UART0_BASE + RP2040_UART_UARTPERIPHID3_OFFSET) +#define RP2040_UART0_UARTPCELLID0 (RP2040_UART0_BASE + RP2040_UART_UARTPCELLID0_OFFSET) +#define RP2040_UART0_UARTPCELLID1 (RP2040_UART0_BASE + RP2040_UART_UARTPCELLID1_OFFSET) +#define RP2040_UART0_UARTPCELLID2 (RP2040_UART0_BASE + RP2040_UART_UARTPCELLID2_OFFSET) +#define RP2040_UART0_UARTPCELLID3 (RP2040_UART0_BASE + RP2040_UART_UARTPCELLID3_OFFSET) /* Register definitions (UART1) *********************************************/