Add a new option to control led0 behavior. If enabled, led0 will be used for blinking. This option also allows to select GPIO when needed. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
22 lines
405 B
Plaintext
22 lines
405 B
Plaintext
#
|
|
# Copyright (c) 2024 Hang Fan
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
mainmenu "Bluetooth: Periodic Advertising Sync"
|
|
|
|
config PER_ADV_NAME
|
|
string "Target Periodic Advertising Name"
|
|
default ""
|
|
help
|
|
Name of target advertising for Periodic Advertising Synchronization.
|
|
|
|
config PER_BLINK_LED0
|
|
bool "Blink led0"
|
|
depends on $(dt_alias_enabled,led0)
|
|
select GPIO
|
|
default y
|
|
|
|
source "Kconfig.zephyr"
|