2019-11-01 20:45:29 +08:00
|
|
|
# Nordic Semiconductor nRF5 802.15.4 configuration options
|
|
|
|
|
2017-08-16 23:05:14 +08:00
|
|
|
# Copyright (c) 2017 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2017-02-06 19:42:34 +08:00
|
|
|
|
2017-11-16 18:11:51 +08:00
|
|
|
menuconfig IEEE802154_NRF5
|
2017-11-23 02:01:56 +08:00
|
|
|
bool "nRF52 series IEEE 802.15.4 Driver"
|
2022-07-18 21:55:47 +08:00
|
|
|
default y
|
2022-07-27 16:54:34 +08:00
|
|
|
depends on DT_HAS_NORDIC_NRF_IEEE802154_ENABLED
|
2020-11-13 23:39:45 +08:00
|
|
|
select NRF_802154_RADIO_DRIVER if HAS_HW_NRF_RADIO_IEEE802154
|
|
|
|
select NRF_802154_SER_HOST if !HAS_HW_NRF_RADIO_IEEE802154
|
2017-02-22 18:25:39 +08:00
|
|
|
|
2017-11-16 18:11:51 +08:00
|
|
|
if IEEE802154_NRF5
|
2017-02-06 19:42:34 +08:00
|
|
|
|
|
|
|
config IEEE802154_NRF5_RX_STACK_SIZE
|
2017-04-25 02:30:10 +08:00
|
|
|
int "Driver's internal RX thread stack size"
|
2017-02-06 19:42:34 +08:00
|
|
|
default 800
|
|
|
|
help
|
2018-02-15 21:36:16 +08:00
|
|
|
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.
|
2017-02-06 19:42:34 +08:00
|
|
|
|
|
|
|
config IEEE802154_NRF5_INIT_PRIO
|
2017-05-06 06:37:53 +08:00
|
|
|
int "nRF52 IEEE 802.15.4 initialization priority"
|
2017-02-06 19:42:34 +08:00
|
|
|
default 80
|
|
|
|
help
|
2018-02-15 21:36:16 +08:00
|
|
|
Set the initialization priority number. Do not mess with it unless
|
|
|
|
you know what you are doing.
|
2017-02-06 19:42:34 +08:00
|
|
|
|
2020-06-01 18:08:03 +08:00
|
|
|
config IEEE802154_NRF5_EXT_IRQ_MGMT
|
2021-02-24 16:34:50 +08:00
|
|
|
bool
|
2020-06-01 18:08:03 +08:00
|
|
|
help
|
|
|
|
The driver may manage radio IRQs by itself, or use an external
|
|
|
|
radio IRQ provider. When radio IRQs are managed by an external
|
|
|
|
provider, the driver shall not configure radio IRQs.
|
|
|
|
|
|
|
|
Enable this option when external radio IRQ provider is enabled in
|
|
|
|
the system. One example of external radio IRQ provider could be
|
|
|
|
a radio arbiter used in dynamic multiprotocol applications.
|
|
|
|
|
2021-02-11 16:09:52 +08:00
|
|
|
config IEEE802154_NRF5_UICR_EUI64_ENABLE
|
2022-03-09 19:31:16 +08:00
|
|
|
bool "Support usage of EUI64 value stored in UICR registers"
|
2021-02-11 16:09:52 +08:00
|
|
|
depends on !IEEE802154_VENDOR_OUI_ENABLE
|
|
|
|
depends on SOC_SERIES_NRF52X || SOC_SERIES_NRF53X
|
|
|
|
help
|
|
|
|
This option enables setting custom vendor EUI64 value
|
|
|
|
stored in User information configuration registers (UICR).
|
|
|
|
Notice that this disables the default setting of EUI64
|
|
|
|
value from Factory information configuration registers
|
|
|
|
(FICR).
|
|
|
|
|
|
|
|
if IEEE802154_NRF5_UICR_EUI64_ENABLE
|
|
|
|
|
|
|
|
config IEEE802154_NRF5_UICR_EUI64_REG
|
|
|
|
int "UICR base register for the EUI64 value"
|
|
|
|
range 0 30 if SOC_SERIES_NRF52X
|
|
|
|
range 0 190 if SOC_SERIES_NRF53X
|
|
|
|
default 0
|
|
|
|
help
|
|
|
|
Base of the two consecutive registers from the UICR customer
|
|
|
|
section in which custom EUI64 is stored.
|
|
|
|
|
|
|
|
endif # IEEE802154_NRF5_UICR_EUI64_ENABLE
|
|
|
|
|
2021-11-19 00:17:10 +08:00
|
|
|
config IEEE802154_NRF5_FCS_IN_LENGTH
|
|
|
|
bool "Include FCS field in the overall packet length"
|
|
|
|
default y if IEEE802154_RAW_MODE || NET_L2_OPENTHREAD
|
|
|
|
help
|
|
|
|
Some 802.15.4 L2 implementations expect that FCS length is included in
|
|
|
|
the overall packet length while others not. Allow to configure this
|
|
|
|
behavior, based on the selected upper layer.
|
|
|
|
|
2022-03-30 14:16:42 +08:00
|
|
|
config IEEE802154_NRF5_DELAY_TRX_ACC
|
|
|
|
int "Clock accuracy for delayed operations"
|
2022-03-31 21:10:39 +08:00
|
|
|
default CLOCK_CONTROL_NRF_ACCURACY if CLOCK_CONTROL_NRF_ACCURACY < 255
|
|
|
|
default 255
|
2022-03-30 14:16:42 +08:00
|
|
|
help
|
|
|
|
Accuracy of the clock used for scheduling radio delayed operations (delayed transmission
|
|
|
|
or delayed reception), in ppm.
|
|
|
|
|
2022-02-22 21:55:26 +08:00
|
|
|
config IEEE802154_NRF5_LOG_RX_FAILURES
|
|
|
|
bool "Frame reception failures logging"
|
|
|
|
help
|
|
|
|
There are few cases where the frame reception failure can happen because of
|
|
|
|
internal cause. These cases are reported forward by general code error.
|
|
|
|
|
|
|
|
This options enables logging the reason of frame reception failure.
|
|
|
|
It can be helpful for the network traffic analyze but it generates also
|
|
|
|
a lot of log records in a stress environment.
|
|
|
|
|
2017-02-06 19:42:34 +08:00
|
|
|
endif
|