From 734caceb1d07a0381fce91d28c8170280861b031 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Mon, 16 Dec 2024 13:15:55 +0000 Subject: [PATCH] app: allow enabling LED support for boards with no state LED Allow enabling CONFIG_CANNECTIVITY_LED_GPIO for boards with no state LED, but only activity LED(s). Signed-off-by: Henrik Brix Andersen --- app/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Kconfig b/app/Kconfig index 487753d..75953b5 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -69,6 +69,7 @@ config CANNECTIVITY_LED_GPIO bool "LED support" default y depends on $(dt_compat_any_has_prop,cannectivity-channel,state-gpios) || \ + $(dt_compat_any_has_prop,cannectivity-channel,activity-gpios) || \ ($(dt_alias_enabled,led0) && !$(dt_compat_enabled,cannectivity-channel)) select GPIO select SMF