1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

net/skald : Expose to Kconfig

Expose configurations to Kconfig
This commit is contained in:
Akshai M 2020-08-20 18:31:31 +05:30
parent b210da4ef8
commit 112514a4e8
3 changed files with 39 additions and 0 deletions

View File

@ -7,6 +7,7 @@
menu "Networking"
rsource "application_layer/Kconfig"
rsource "ble/Kconfig"
rsource "credman/Kconfig"
rsource "gnrc/Kconfig"
rsource "sock/Kconfig"

7
sys/net/ble/Kconfig Normal file
View File

@ -0,0 +1,7 @@
# Copyright (c) 2020 Freie Universitaet Berlin
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
rsource "skald/Kconfig"

31
sys/net/ble/skald/Kconfig Normal file
View File

@ -0,0 +1,31 @@
# Copyright (c) 2020 Freie Universitaet Berlin
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
menuconfig KCONFIG_MODULE_SKALD
bool "Configure SKALD"
depends on MODULE_SKALD
help
Configure Skald, BLE advertising stack, using Kconfig.
if KCONFIG_MODULE_SKALD
config SKALD_INTERVAL
int "Advertising interval in microseconds"
default 1000000
help
Configure advertising interval in microseconds. Default value is 1
second which is 1000000 microseconds.
config ADV_CH_37_DISABLE
bool "Disable advertising on channel 37"
config ADV_CH_38_DISABLE
bool "Disable advertising on channel 38"
config ADV_CH_39_DISABLE
bool "Disable advertising on channel 39"
endif # KCONFIG_MODULE_SKALD