zephyr/samples/subsys/display/lvgl/Kconfig
Gerard Marull-Paretas cf4fb7a560 samples: subsys: display: lvgl: add option to control sw0
Add a new option to control the behavior of sw0. This option also allows
to select GPIO when needed.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2024-12-18 18:15:15 +01:00

13 lines
261 B
Plaintext

# Copyright (c) 2023 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
source "Kconfig.zephyr"
mainmenu "LVGL Sample"
config RESET_COUNTER_SW0
bool "Reset counter when sw0 is pressed"
depends on $(dt_alias_enabled,sw0)
select GPIO
default y