Skip to content

Commit

Permalink
app: allow enabling LED support for boards with no state LED
Browse files Browse the repository at this point in the history
Allow enabling CONFIG_CANNECTIVITY_LED_GPIO for boards with no state LED,
but only activity LED(s).

Signed-off-by: Henrik Brix Andersen <[email protected]>
  • Loading branch information
henrikbrixandersen committed Dec 16, 2024
1 parent a2794f9 commit 734cace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 734cace

Please sign in to comment.