summaryrefslogtreecommitdiff
path: root/src/app/ws2812b_uart
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/ws2812b_uart')
-rw-r--r--src/app/ws2812b_uart/Kconfig2
-rw-r--r--src/app/ws2812b_uart/Makefile.inc6
2 files changed, 6 insertions, 2 deletions
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