- #define UART_BASE UART0
- #define UART_INT UART0_IRQn
- #define UART_PIO_BASE PIOA
- #define UART_PINS (GPIO_UART0_RX_PIN | GPIO_UART0_TX_PIN)
-#elif (CONFIG_KDEBUG_PORT == 1) && !defined(CPU_CM3_AT91SAM3U)
- #define UART_BASE UART1
- #define UART_INT UART1_IRQn
- #define UART_PIO_BASE PIOB
- #define UART_PINS (GPIO_UART1_RX_PIN | GPIO_UART1_TX_PIN)
+ #define UART_BASE UART0_BASE
+ #define UART_ID UART0_ID
+ #define UART_PIO_BASE PIOA_BASE
+ #define UART_PINS (BV(RXD0) | BV(TXD0))
+#elif (CONFIG_KDEBUG_PORT == 1) && !defined(CPU_CM3_SAM3U)
+ #define UART_BASE UART1_BASE
+ #define UART_ID UART1_ID
+ #define UART_PIO_BASE PIOB_BASE
+ #define UART_PINS (BV(RXD1) | BV(TXD1))