-
Notifications
You must be signed in to change notification settings - Fork 0
/
prj.conf
69 lines (57 loc) · 1.65 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
# Enable bare minimum of BT stack to establish a connection.
CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_GATT_CLIENT=n
CONFIG_BT_GATT_DM=n
CONFIG_BT_SMP=n
# No scan needed, we connect to fixed (defined by gateway)
CONFIG_BT_SCAN=n
CONFIG_BT_FILTER_ACCEPT_LIST=y
# Enable up to 3 connections (dir/left/right)
CONFIG_BT_MAX_CONN=3
# Workarounds for connection
CONFIG_BT_AUTO_DATA_LEN_UPDATE=n
CONFIG_BT_BUF_ACL_RX_SIZE=251
CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
CONFIG_BT_USER_DATA_LEN_UPDATE=n
CONFIG_BT_PHY_UPDATE=n
CONFIG_BT_REMOTE_VERSION=n
CONFIG_BT_REMOTE_INFO=y
CONFIG_BT_CTLR=y
CONFIG_BT_CONN_PARAM_ANY=y
CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT=2000
#CONFIG_BT_LL_SW_SPLIT=n
#CONFIG_MPSL=n
# Enable the UART driver
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_MANUFACTURER="datacompboy"
CONFIG_USB_DEVICE_HID=y
CONFIG_USB_HID_DEVICE_COUNT=1
CONFIG_HID_INTERRUPT_EP_MPS=64
CONFIG_ENABLE_HID_INT_OUT_EP=y
CONFIG_USB_HID_POLL_INTERVAL_MS=1
CONFIG_USB_COMPOSITE_DEVICE=y
# C2
CONFIG_USB_DEVICE_PRODUCT="nRF KAT-VR Receiver"
CONFIG_USB_DEVICE_VID=0xC4F4
CONFIG_USB_DEVICE_PID=0x2F37
# Kat libraries support SN length up to 12 chars with 11 being used now.
CONFIG_USB_DEVICE_SN="ITWILLCHANGE"
# Enable settings
CONFIG_NVS=y
CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_SETTINGS=y
CONFIG_SETTINGS_NVS=y
# Application settings. xiao_ble board forces console & serial, so force-off them for release
CONFIG_APP_DEBUG=n
CONFIG_CONSOLE=n
CONFIG_SERIAL=n
# CONFIG_APP_KEEP_CONNECTIONS=n
# CONFIG_APP_DEBUG_BOOT_CONNECTIONS=n
CONFIG_APP_KAT_FREQ_PARAM=y
# CONFIG_APP_KAT_FREQ_133=y
# CONFIG_APP_KAT_FREQ_114=y
# CONFIG_APP_KAT_FREQ_100=y
CONFIG_APP_FEET_ROTATION=y