-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsdkconfig.defaults
59 lines (48 loc) · 2.05 KB
/
sdkconfig.defaults
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
#
# Some useful defaults for the demo app configuration.
#
# Enable BLE
CONFIG_BT_ENABLED=y
CONFIG_GATTS_ENABLE=y
CONFIG_GATTC_ENABLE=
CONFIG_BLE_SMP_ENABLE=
CONFIG_BT_ACL_CONNECTIONS=2
# Use a custom partition table
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET=0x10000
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
CONFIG_APP_OFFSET=0x10000
# Bump the stack size of the Weave task to accommodate extra stack useage due to
# debugging. When using ESP-IDF3.3, there exists a callpath that when reached
# DataManagement_Current::PrettyPrintWDM, ~4400B stack space is used (default
# stack size is 4608B). And then vsnprintf called by PerttyPrintWDM will cost
# another 1KB, a 5120B stack space in previous versions will overflow.
CONFIG_WEAVE_TASK_STACK_SIZE=6144
# Default to 921600 baud when flashing and monitoring device
CONFIG_ESPTOOLPY_BAUD_921600B=y
CONFIG_ESPTOOLPY_BAUD=921600
CONFIG_ESPTOOLPY_COMPRESSED=y
CONFIG_MONITOR_BAUD_115200B=y
CONFIG_MONITOR_BAUD=115200
# Enable various features that make it easier to debug secure Weave communication.
# WARNING: This option SHOULD NEVER BE ENABLED IN PRODUCTION BUILDS.
CONFIG_SECURITY_TEST_MODE=y
# Disable authentication checks for various device provisioning operations.
# WARNING: This option SHOULD NEVER BE ENABLED IN PRODUCTION BUILDS.
CONFIG_DISABLE_PROVISIONING_AUTH=y
# Print debug information related to certificate validation.
CONFIG_DEBUG_CERT_VALIDATION=y
# Log the device's provisioning hash at boot.
CONFIG_LOG_PROVISIONING_HASH=y
# Disable automatic closing of idle incoming connections. This makes it possible
# to maintain an idle Weave Device Manager connection with the device for testing
# purposes.
CONFIG_DEFAULT_INCOMING_CONNECTION_IDLE_TIMEOUT=0
# According to partitions.csv, we need 4MB or larger flash
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
# Enable Thread & Thread BR
CONFIG_THREAD_TASK_STACK_SIZE=8192
CONFIG_WEAVE_DEVICE_CONFIG_ENABLE_THREAD=y
CONFIG_WARM_CONFIG_SUPPORT_THREAD_ROUTING=y