generated from IRNAS/irnas-zephyr-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
prj.conf
50 lines (38 loc) · 1.01 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
CONFIG_ASSERT=y
CONFIG_DEBUG=y
CONFIG_HEAP_MEM_POOL_SIZE=4096
CONFIG_SHELL_STACK_SIZE=4096
CONFIG_BT_RX_STACK_SIZE=4096
# log
CONFIG_LOG=y
# reboot
CONFIG_REBOOT=y
# shell
CONFIG_SHELL=y
CONFIG_SHELL_LOG_BACKEND=y # pass logs into the shell
# enable internal flash driver and flash map for NVS
CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
# SETTINGS
CONFIG_SETTINGS=y
CONFIG_SETTINGS_RUNTIME=y
# NOTE: settings NVS is not required by the library.
# Any settings backend will do. So you could use FCB, FS, ...,
# but NVS is recommended by Zephyr for the settings module.
CONFIG_SETTINGS_NVS=y
# disable the settings shell to not confuse the user with
# 2 similar top level commands
CONFIG_SETTINGS_SHELL=y
# enable BT
CONFIG_BT=y
CONFIG_BT_CTLR=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_BROADCASTER=y
# enable user settings
CONFIG_USER_SETTINGS=y
CONFIG_USER_SETTINGS_BT_SERVICE=y
CONFIG_USER_SETTINGS_LOG_LEVEL_DBG=y
CONFIG_USER_SETTINGS_SHELL=y
CONFIG_USER_SETTINGS_BT_SERVICE_LOG_LEVEL_DBG=y
CONFIG_USER_SETTINGS_HEAP_SIZE=8192