From 3e717480acc980b0bcff48f0761b9cade1e2bdad Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 10 Dec 2021 14:33:51 +0100 Subject: [PATCH] drivers/ws281x: pull xtimer module from test application --- drivers/ws281x/Makefile.dep | 2 -- tests/driver_ws281x/Makefile | 1 + tests/driver_ws281x/app.config.test | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ws281x/Makefile.dep b/drivers/ws281x/Makefile.dep index 641cde00b2..f3c0dbc74e 100644 --- a/drivers/ws281x/Makefile.dep +++ b/drivers/ws281x/Makefile.dep @@ -15,5 +15,3 @@ endif ifneq (,$(filter ws281x_atmega,$(USEMODULE))) FEATURES_REQUIRED += cpu_core_atmega endif - -USEMODULE += xtimer diff --git a/tests/driver_ws281x/Makefile b/tests/driver_ws281x/Makefile index c2aa110f06..5a69a10dd8 100644 --- a/tests/driver_ws281x/Makefile +++ b/tests/driver_ws281x/Makefile @@ -6,6 +6,7 @@ PIN ?= GPIO_PIN(0, 0) N ?= 8 USEMODULE += ws281x +USEMODULE += xtimer # Only AVR boards CPU clocked at 8MHz or 16 MHz are supported. The Waspmote Pro # is clocked at 14.7456 MHz :-/ diff --git a/tests/driver_ws281x/app.config.test b/tests/driver_ws281x/app.config.test index c39ee2382a..3487d8bc74 100644 --- a/tests/driver_ws281x/app.config.test +++ b/tests/driver_ws281x/app.config.test @@ -1,3 +1,4 @@ # this file enables modules defined in Kconfig. Do not use this file for # application configuration. This is only needed during migration. CONFIG_MODULE_WS281X=y +CONFIG_MODULE_XTIMER=y