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>
13 lines
261 B
Plaintext
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
|