From 3a66ae51c3f34108428e582ef693866d71496d16 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 28 Aug 2020 15:25:37 +0200 Subject: Expose configuration via Kconfig --- src/app/ws2812b_uart/Kconfig | 2 ++ src/app/ws2812b_uart/Makefile.inc | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 src/app/ws2812b_uart/Kconfig (limited to 'src/app/ws2812b_uart') diff --git a/src/app/ws2812b_uart/Kconfig b/src/app/ws2812b_uart/Kconfig new file mode 100644 index 0000000..7566e4c --- /dev/null +++ b/src/app/ws2812b_uart/Kconfig @@ -0,0 +1,2 @@ +prompt "UART to WS2812b" +depends on (arch_arduino_nano || arch_arduino_nano_168) && meta_driver_neopixel diff --git a/src/app/ws2812b_uart/Makefile.inc b/src/app/ws2812b_uart/Makefile.inc index ce0a386..a515d32 100644 --- a/src/app/ws2812b_uart/Makefile.inc +++ b/src/app/ws2812b_uart/Makefile.inc @@ -1,2 +1,4 @@ -loop ?= 1 -arch_drivers += ,stdin,neopixel +ifdef app + override loop = 1 + override arch_drivers += ,stdin,neopixel +endif -- cgit v1.2.3