-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathprj.conf
82 lines (66 loc) · 1.96 KB
/
prj.conf
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#
# Copyright (c) 2022 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
# General
CONFIG_NRF5340_AUDIO=y
CONFIG_REBOOT=y
CONFIG_MAIN_THREAD_PRIORITY=10
CONFIG_MAIN_STACK_SIZE=1940
# Disable Zephyr HCI Vendor-Specific extensions
CONFIG_BT_HCI_VS_EXT=n
# As long as thread names are used, config must be set to "y"
CONFIG_THREAD_NAME=y
# Bluetooth
CONFIG_BT=y
CONFIG_BT_PRIVACY=n
CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_GATT_DYNAMIC_DB=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_BROADCASTER=y
CONFIG_BT_VCS_CLIENT=y
CONFIG_BT_DEVICE_NAME="LE AUDIO DEMO"
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
# Make sure we have enough space to receive one frame of encoded data
# The values set below are extended for higher BLE transmission capability
CONFIG_BT_ISO_RX_MTU=190
CONFIG_BT_ISO_TX_MTU=190
CONFIG_BT_L2CAP_TX_BUF_COUNT=6
CONFIG_BT_RX_STACK_SIZE=2000
CONFIG_BT_BUF_ACL_RX_SIZE=259
# Not supported on Packetcraft controller
CONFIG_BT_ATT_ENFORCE_FLOW=n
# Only do pairing without bonding
CONFIG_BT_BONDABLE=n
CONFIG_BT_AUDIO=y
CONFIG_BT_EXT_ADV=y
CONFIG_BT_PER_ADV=y
CONFIG_BT_ISO_UNICAST=y
CONFIG_BT_ISO_BROADCASTER=y
CONFIG_BT_ISO_SYNC_RECEIVER=y
# Temporary, enable the following to meet BT_ISO dependencies
CONFIG_BT_OBSERVER=y
# Audio sync timer
CONFIG_NRFX_TIMER1=y
CONFIG_NRFX_DPPI=y
# Need to turn on SMP when involving services in LE audio profiles
CONFIG_BT_SMP=y
# Temporarily disabled connetion parameter and PHY update
CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=n
CONFIG_BT_AUTO_PHY_UPDATE=n
CONFIG_BT_AUTO_DATA_LEN_UPDATE=n
# Required for certain DSP functions
CONFIG_NEWLIB_LIBC=y # <math.h>
CONFIG_FPU=y
# Avoid multi-build system build network core firmware
CONFIG_NCS_INCLUDE_RPMSG_CHILD_IMAGE=n
# Dual headsets demo requires gateway to establish two ACL connections
# and two ISO connections
CONFIG_BT_MAX_CONN=2
CONFIG_BT_ISO_MAX_CHAN=2
CONFIG_BT_MAX_PAIRED=2
CONFIG_LC3_ENC_CHAN_MAX=2
# application board spesific
CONFIG_BUTTON_DEBOUNCE_MS=30
CONFIG_MAX_NOTES=5