1# Nordic Semiconductor nRF5 802.15.4 configuration options
2
3# Copyright (c) 2017 Nordic Semiconductor ASA
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig IEEE802154_NRF5
7	bool "nRF52 series IEEE 802.15.4 Driver"
8	depends on NETWORKING
9	select NRF_802154_RADIO_DRIVER if HAS_HW_NRF_RADIO_IEEE802154
10	select NRF_802154_SER_HOST if !HAS_HW_NRF_RADIO_IEEE802154
11
12if IEEE802154_NRF5
13
14config IEEE802154_NRF5_DRV_NAME
15	string "nRF52 IEEE 802.15.4 Driver's name"
16	default "IEEE802154_nrf5"
17	help
18	  This option sets the driver name
19
20config IEEE802154_NRF5_RX_STACK_SIZE
21	int "Driver's internal RX thread stack size"
22	default 800
23	help
24	  This option sets the driver's stack size for its internal RX thread.
25	  The default value should be sufficient, but in case it proves to be
26	  a too little one, this option makes it easy to play with the size.
27
28config IEEE802154_NRF5_INIT_PRIO
29	int "nRF52 IEEE 802.15.4 initialization priority"
30	default 80
31	help
32	  Set the initialization priority number. Do not mess with it unless
33	  you know what you are doing.
34
35config IEEE802154_NRF5_EXT_IRQ_MGMT
36	bool
37	help
38	  The driver may manage radio IRQs by itself, or use an external
39	  radio IRQ provider. When radio IRQs are managed by an external
40	  provider, the driver shall not configure radio IRQs.
41
42	  Enable this option when external radio IRQ provider is enabled in
43	  the system. One example of external radio IRQ provider could be
44	  a radio arbiter used in dynamic multiprotocol applications.
45
46config IEEE802154_NRF5_UICR_EUI64_ENABLE
47	bool "Enables using EUI64 value stored in UICR registers"
48	depends on !IEEE802154_VENDOR_OUI_ENABLE
49	depends on SOC_SERIES_NRF52X || SOC_SERIES_NRF53X
50	help
51	  This option enables setting custom vendor EUI64 value
52	  stored in User information configuration registers (UICR).
53	  Notice that this disables the default setting of EUI64
54	  value from Factory information configuration registers
55	  (FICR).
56
57if IEEE802154_NRF5_UICR_EUI64_ENABLE
58
59config IEEE802154_NRF5_UICR_EUI64_REG
60	int "UICR base register for the EUI64 value"
61	range 0 30 if SOC_SERIES_NRF52X
62	range 0 190 if SOC_SERIES_NRF53X
63	default 0
64	help
65	  Base of the two consecutive registers from the UICR customer
66	  section in which custom EUI64 is stored.
67
68endif # IEEE802154_NRF5_UICR_EUI64_ENABLE
69
70endif
71