From dbe43d75159eb646aeb3601921ea9ad4162a2b5e Mon Sep 17 00:00:00 2001
From: Alexandre Abadie <alexandre.abadie@inria.fr>
Date: Tue, 25 Sep 2018 17:47:03 +0200
Subject: [PATCH] tests/periph_uart: add periph_lpuart optional dependency

---
 tests/periph_uart/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/periph_uart/Makefile b/tests/periph_uart/Makefile
index 41a176e74d..73e6acdbaf 100644
--- a/tests/periph_uart/Makefile
+++ b/tests/periph_uart/Makefile
@@ -3,6 +3,7 @@ include ../Makefile.tests_common
 BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
 
 FEATURES_REQUIRED = periph_uart
+FEATURES_OPTIONAL = periph_lpuart  # STM32 L0 and L4 provides lpuart support
 
 USEMODULE += shell
 USEMODULE += xtimer
-- 
GitLab