-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathKconfig
43 lines (33 loc) · 1.26 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# Copyright (c) 2022 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
mainmenu "Matter nRF Connect Template Example Application"
# Sample configuration used for Thread networking
if NET_L2_OPENTHREAD
choice OPENTHREAD_NORDIC_LIBRARY_CONFIGURATION
default OPENTHREAD_NORDIC_LIBRARY_MTD
endchoice
choice OPENTHREAD_DEVICE_TYPE
default OPENTHREAD_MTD
endchoice
endif # NET_L2_OPENTHREAD
if MPSL_FEM
config OPENTHREAD_DEFAULT_TX_POWER
int "Set the default 802.15.4 output power (dBm) for device with FEM"
range -40 20
default 20
help
Use this setting to set the default Thread (802.15.4) output power for device that
uses FEM. This value has a unit in dBm and represents the Tx power at Antenna port of FEM device.
# override FEM GAIN to 20 dB as a default
# see subsys/mpsl/fem/Kconfig
# Leave MPSL_FEM_NRF21540_TX_GAIN_DB unchanged when OPENTHREAD_DEFAULT_TX_POWER=0
# to set the output power to a similar value as for nRF52840DK.
config MPSL_FEM_NRF21540_TX_GAIN_DB
default 20 if OPENTHREAD_DEFAULT_TX_POWER != 0
endif # MPSL_FEM
source "${ZEPHYR_BASE}/../modules/lib/matter/config/nrfconnect/chip-module/Kconfig.features"
source "${ZEPHYR_BASE}/../modules/lib/matter/config/nrfconnect/chip-module/Kconfig.defaults"
source "Kconfig.zephyr"