mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
27e0d7cf11
Introduced 'GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP' to hold exponent value and made GNRC_PKTDUMP_MSG_QUEUE_SIZE dependant on GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP. Moved 'GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP' to 'CONFIG_' namespace. Exposed configurations to Kconfig Co-authored-by: Martine Lenders <mail@martine-lenders.eu> Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
24 lines
758 B
Plaintext
24 lines
758 B
Plaintext
# 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_GNRC_PKTDUMP
|
|
bool "Configure GNRC Packet Dump"
|
|
depends on MODULE_GNRC_PKTDUMP
|
|
help
|
|
Configure the GNRC_PKTDUMP using Kconfig.
|
|
|
|
if KCONFIG_MODULE_GNRC_PKTDUMP
|
|
|
|
config GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP
|
|
int "Exponent for the queue size (resulting in the queue size 2^n)"
|
|
default 3
|
|
help
|
|
As the queue size ALWAYS needs to be power of two, this option
|
|
represents the exponent of 2^n, which will be used as the size of
|
|
the queue.
|
|
|
|
endif # KCONFIG_MODULE_GNRC_PKTDUMP
|