-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprj.conf
More file actions
27 lines (22 loc) · 921 Bytes
/
Copy pathprj.conf
File metadata and controls
27 lines (22 loc) · 921 Bytes
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
# ZoneDash DK reference peripheral — Zephyr config.
#
# BLE peripheral role, one connection, and a large ATT MTU so the app's
# requestMTU (185) is honoured and a Results reply chunks into few frames. The
# app reassembles Results across notifications regardless, but a bigger MTU makes
# the bench flow snappier and closer to a real S3.
CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME="ZoneDash-DK"
CONFIG_BT_MAX_CONN=1
# Data-length / MTU headroom (247 = a comfortable superset of the app's 185).
CONFIG_BT_L2CAP_TX_MTU=247
CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_BUF_ACL_RX_SIZE=251
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
# Notifications need a couple of TX buffers in flight for the chunked dump.
CONFIG_BT_ATT_TX_COUNT=6
# Logs over the DK's on-board J-Link RTT / UART so the bench can watch the flow.
CONFIG_LOG=y
CONFIG_BT_DEVICE_APPEARANCE=0
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_HEAP_MEM_POOL_SIZE=2048