From a4372ce51443ea1b133c51fdb9d9d897c079e393 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Tue, 20 Oct 2015 16:30:09 +0200 Subject: [PATCH] boards/msb-430h: adjusted to UART changes --- boards/msb-430h/Makefile.features | 1 + boards/msb-430h/include/periph_conf.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/boards/msb-430h/Makefile.features b/boards/msb-430h/Makefile.features index bc47ee8954..b40f1768ea 100644 --- a/boards/msb-430h/Makefile.features +++ b/boards/msb-430h/Makefile.features @@ -2,6 +2,7 @@ FEATURES_PROVIDED += periph_gpio FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer +FEATURES_PROVIDED += periph_uart # Various other features (if any) FEATURES_PROVIDED += config diff --git a/boards/msb-430h/include/periph_conf.h b/boards/msb-430h/include/periph_conf.h index d1907a88b7..0f51ec4a73 100644 --- a/boards/msb-430h/include/periph_conf.h +++ b/boards/msb-430h/include/periph_conf.h @@ -55,7 +55,7 @@ extern "C" { #define UART_NUMOF (1U) #define UART_0_EN (1U) -#define UART_DEV (USART_1) +#define UART_BASE (USART_1) #define UART_IE (SFR->IE2) #define UART_IF (SFR->IFG2) #define UART_IE_RX_BIT (1 << 4)