zephyr/samples/bluetooth/mesh_provisioner/Kconfig
Gerard Marull-Paretas ecdb4ffaf1 samples: bluetooth: mesh_provisioner: add option to control sw0
Add a new Kconfig option to control the behavior of sw0. If enabled, sw0
button will be used for provisioning. This option also allows to select
GPIO.

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

13 lines
278 B
Plaintext

# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
source "Kconfig.zephyr"
mainmenu "Bluetooth: Mesh Provisioner"
config MESH_PROVISIONER_USE_SW0
bool "Use sw0 button to provision"
depends on $(dt_alias_enabled,sw0)
select GPIO
default y