From a4274ebe175af346327a3a69d7f6257d5d1aafb8 Mon Sep 17 00:00:00 2001
From: smlng <s@mlng.net>
Date: Tue, 4 Jul 2017 11:43:57 +0200
Subject: [PATCH] boards, openmote: adapt uart pin config

---
 boards/openmote-cc2538/include/periph_conf.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/boards/openmote-cc2538/include/periph_conf.h b/boards/openmote-cc2538/include/periph_conf.h
index d723fb81d5..fc46262191 100644
--- a/boards/openmote-cc2538/include/periph_conf.h
+++ b/boards/openmote-cc2538/include/periph_conf.h
@@ -95,8 +95,8 @@ static const adc_conf_t adc_config[] = {
 #define UART_0_IRQ          UART0_IRQn
 #define UART_0_ISR          isr_uart0
 /* UART 0 pin configuration */
-#define UART_0_TX_PIN       GPIO_PA1
-#define UART_0_RX_PIN       GPIO_PA0
+#define UART_0_TX_PIN       GPIO_PIN(0, 1)  /**< GPIO_PA1 */
+#define UART_0_RX_PIN       GPIO_PIN(0, 0)  /**< GPIO_PA0 */
 /** @} */
 
 /**
-- 
GitLab