-
Notifications
You must be signed in to change notification settings - Fork 1
/
prj.conf
63 lines (52 loc) · 1.6 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
CONFIG_GPIO=y
# Enable the I2C driver
CONFIG_I2C=y
# Incresed stack due to settings API usage
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
# Avoid BT RX stack overflow
CONFIG_BT_RX_STACK_SIZE=2048
# Maximum of queued outgoing packets
CONFIG_BT_BUF_ACL_TX_COUNT=7
CONFIG_BT=y
CONFIG_BT_DEBUG_LOG=y
# Security manager protocol support for pairing
CONFIG_BT_SMP=y
# used to sign authenticated data
CONFIG_BT_SIGNING=y
# select peripheral role
CONFIG_BT_PERIPHERAL=y
# enable GATT device information service
CONFIG_BT_DIS=n
# number of buffers available for GATT writing
CONFIG_BT_ATT_PREPARE_COUNT=5
# enables local privacy feature support ?
CONFIG_BT_PRIVACY=y
# name that appears when browsing
CONFIG_BT_DEVICE_NAME="Mortar drive"
# https://specificationrefs.bluetooth.com/assigned-values/Appearance%20Values.pdf
# 0x4c0 = generic control device = 1216
CONFIG_BT_DEVICE_APPEARANCE=1216
# disable updating of device name to prevent use of generic name
# enable run-time changing of device name
CONFIG_BT_DEVICE_NAME_DYNAMIC=y
CONFIG_BT_DEVICE_NAME_MAX=65
# n: allow sending notification messages without having notifications enabled
CONFIG_BT_GATT_ENFORCE_SUBSCRIPTION=n #TODO fix on server side
# When 32k XTAL is unavailable
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
CONFIG_CLOCK_CONTROL_NRF_K32SRC_250PPM=y
# USB CDC
# CONFIG_USB_DEVICE_STACK=y
# CONFIG_USB_DEVICE_PRODUCT="Mortar Drive"
# CONFIG_UART_LINE_CTRL=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# NVS storage
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
# GPS UART
CONFIG_UART_INTERRUPT_DRIVEN=y