2019-12-21 13:32:09 +08:00
|
|
|
# ATMEL AT86RF23x/212x configuration options
|
|
|
|
|
2019-10-25 06:59:35 +08:00
|
|
|
# Copyright (c) 2019 Gerson Fernando Budke
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-12-21 13:32:09 +08:00
|
|
|
menuconfig IEEE802154_RF2XX
|
2019-10-25 06:59:35 +08:00
|
|
|
bool "ATMEL RF2XX Driver support"
|
|
|
|
depends on NETWORKING
|
|
|
|
select SPI
|
2019-12-20 07:23:21 +08:00
|
|
|
select GPIO
|
2020-02-05 04:37:24 +08:00
|
|
|
select NET_L2_IEEE802154_SUB_GHZ if NET_L2_IEEE802154
|
2019-10-25 06:59:35 +08:00
|
|
|
|
|
|
|
if IEEE802154_RF2XX
|
|
|
|
|
|
|
|
config IEEE802154_RF2XX_DRV_NAME
|
|
|
|
string "ATMEL RF2XX Driver's name"
|
|
|
|
default "IEEE802154_rf2xx"
|
|
|
|
help
|
|
|
|
This option sets the driver name
|
|
|
|
|
2020-04-24 10:54:30 +08:00
|
|
|
config IEEE802154_RF2XX_NET_IF_NO_AUTO_START
|
|
|
|
bool "RF2X must wait configuration before change to operational mode"
|
|
|
|
help
|
|
|
|
This option allows user to set any configuration and/or filter before
|
|
|
|
radio became operational. For instance, the EUI-64 value can be
|
|
|
|
configured using NET_REQUEST_IEEE802154_SET_EXT_ADDR available from
|
|
|
|
ieee802154 management interface. When all configurations are done
|
|
|
|
net_if_up() can be invoked to bring interface up.
|
|
|
|
|
|
|
|
This option can be useful when using OpenThread or Zigbee. If you
|
|
|
|
have any doubt about this option leave it as default value.
|
|
|
|
|
2019-10-25 06:59:35 +08:00
|
|
|
config IEEE802154_RF2XX_RX_STACK_SIZE
|
|
|
|
int "Driver's internal RX thread stack size"
|
|
|
|
default 800
|
|
|
|
help
|
|
|
|
This option sets the driver's stack size for its internal RX thread.
|
|
|
|
The default value should be sufficient, but in case it proves to be
|
|
|
|
a too little one, this option makes it easy to play with the size.
|
|
|
|
|
|
|
|
config IEEE802154_RF2XX_INIT_PRIO
|
|
|
|
int "RF2X initialization priority"
|
|
|
|
default 80
|
|
|
|
help
|
|
|
|
Set the initialization priority number. Do not mess with it unless
|
|
|
|
you know what you are doing. Beware rf2xx requires gpio and spi to
|
|
|
|
be ready first (and sometime gpio should be the very first as spi
|
|
|
|
might need it too). And of course it has to start before the net stack.
|
|
|
|
|
|
|
|
endif
|