2015-09-11 16:13:26 +03:00
|
|
|
# Kconfig - IEEE 802.15.4 driver configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
|
|
#
|
2017-08-16 17:05:14 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-09-11 16:13:26 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# IEEE 802.15.4 options
|
|
|
|
#
|
2017-12-05 10:50:10 +01:00
|
|
|
menuconfig IEEE802154
|
|
|
|
bool "IEEE 802.15.4 drivers options"
|
|
|
|
default n
|
|
|
|
default y if NET_L2_IEEE802154
|
|
|
|
|
|
|
|
if IEEE802154
|
2015-09-11 16:13:26 +03:00
|
|
|
|
2017-01-10 14:24:01 +01:00
|
|
|
config SYS_LOG_IEEE802154_DRIVER_LEVEL
|
2017-12-05 10:50:10 +01:00
|
|
|
int "IEEE802154 driver log level"
|
2017-08-04 08:34:58 -04:00
|
|
|
depends on SYS_LOG
|
2017-01-10 14:24:01 +01:00
|
|
|
default 0
|
|
|
|
help
|
2017-12-13 10:08:21 -05:00
|
|
|
Sets log level for 802.15.4 drivers.
|
2017-01-10 14:24:01 +01:00
|
|
|
|
2017-12-13 10:08:21 -05:00
|
|
|
Levels are:
|
2017-01-10 14:24:01 +01:00
|
|
|
|
2017-12-13 10:08:21 -05:00
|
|
|
- 0 OFF, do not write
|
2017-01-10 14:24:01 +01:00
|
|
|
|
2017-12-13 10:08:21 -05:00
|
|
|
- 1 ERROR, only write SYS_LOG_ERR
|
2017-01-10 14:24:01 +01:00
|
|
|
|
2017-12-13 10:08:21 -05:00
|
|
|
- 2 WARNING, write SYS_LOG_WRN in addition to previous level
|
2017-01-10 14:24:01 +01:00
|
|
|
|
2017-12-13 10:08:21 -05:00
|
|
|
- 3 INFO, write SYS_LOG_INF in addition to previous levels
|
2017-01-10 14:24:01 +01:00
|
|
|
|
2017-12-13 10:08:21 -05:00
|
|
|
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
2017-01-10 14:24:01 +01:00
|
|
|
|
2017-11-16 11:11:51 +01:00
|
|
|
config IEEE802154_RAW_MODE
|
|
|
|
bool "Use IEEE 802.15.4 driver without the MAC stack"
|
|
|
|
default n if NET_L2_IEEE802154
|
|
|
|
select NET_RAW_MODE
|
|
|
|
help
|
2017-12-13 10:08:21 -05:00
|
|
|
This option enables using the drivers in a so-called "raw" mode,
|
|
|
|
i.e. without a MAC stack (the net L2 layer for 802.15.4 will not
|
|
|
|
be built). Used only for very specific cases, such as wpan_serial
|
|
|
|
and wpanusb samples.
|
2017-11-16 11:11:51 +01:00
|
|
|
|
2017-02-03 12:59:59 +01:00
|
|
|
source "drivers/ieee802154/Kconfig.cc2520"
|
2015-09-11 16:13:26 +03:00
|
|
|
|
2017-04-24 18:23:47 +03:00
|
|
|
source "drivers/ieee802154/Kconfig.kw41z"
|
|
|
|
|
2017-02-03 12:59:59 +01:00
|
|
|
source "drivers/ieee802154/Kconfig.mcr20a"
|
2016-01-18 14:07:39 +01:00
|
|
|
|
2017-02-06 12:42:34 +01:00
|
|
|
source "drivers/ieee802154/Kconfig.nrf5"
|
|
|
|
|
2017-07-05 16:56:49 +02:00
|
|
|
source "drivers/ieee802154/Kconfig.cc1200"
|
|
|
|
|
2017-02-06 11:49:16 +01:00
|
|
|
menuconfig IEEE802154_UPIPE
|
2016-08-17 16:48:36 +02:00
|
|
|
bool "UART PIPE fake radio driver support for QEMU"
|
2017-12-05 10:50:10 +01:00
|
|
|
depends on BOARD_QEMU_X86 && NETWORKING
|
2016-08-17 16:48:36 +02:00
|
|
|
select UART_PIPE
|
|
|
|
default n
|
|
|
|
|
2017-02-06 11:49:16 +01:00
|
|
|
config IEEE802154_UPIPE_DRV_NAME
|
2016-08-17 16:48:36 +02:00
|
|
|
string "UART PIPE Driver name"
|
2017-02-06 11:49:16 +01:00
|
|
|
default "IEEE802154_UPIPE"
|
|
|
|
depends on IEEE802154_UPIPE
|
2016-08-17 16:48:36 +02:00
|
|
|
|
2017-12-05 10:50:10 +01:00
|
|
|
endif # IEEE802154
|