From ddb8765ee4150af76bbbb01f5c50b0a2cc98308f Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Tue, 20 Oct 2015 16:30:11 +0200 Subject: [PATCH] boards/z1: adjusted to UART changes --- boards/z1/Makefile.features | 1 + boards/z1/include/periph_conf.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/boards/z1/Makefile.features b/boards/z1/Makefile.features index d501b484e9..57c25ac5c4 100644 --- a/boards/z1/Makefile.features +++ b/boards/z1/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) diff --git a/boards/z1/include/periph_conf.h b/boards/z1/include/periph_conf.h index 2c35c3ad37..cc04401dd3 100644 --- a/boards/z1/include/periph_conf.h +++ b/boards/z1/include/periph_conf.h @@ -54,7 +54,7 @@ extern "C" { #define UART_0_EN (1U) #define UART_USE_USIC -#define UART_DEV (USCI_0) +#define UART_BASE (USCI_0) #define UART_IE (SFR->IE2) #define UART_IF (SFR->IFG2) #define UART_IE_RX_BIT (1 << 0)