-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.config
executable file
·142 lines (135 loc) · 3.7 KB
/
default.config
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
CONFIG_PROJECT_VERSION="1.0.0"
#
# configure tuyaopen
#
#
# configure tuya cloud service
#
CONFIG_MBEDTLS_CONFIG_FILE="tuya_tls_config.h"
CONFIG_TUYA_SECURITY_LEVEL=1
CONFIG_ENABLE_BT_SERVICE=y
CONFIG_ENABLE_BT_NETCFG=y
CONFIG_ENABLE_BT_CTRL=y
CONFIG_BT_ADV_INTERVAL_MIN=30
CONFIG_BT_ADV_INTERVAL_MAX=60
CONFIG_BT_REMOTE_CTRL_SCAN_INTERVAL=30
CONFIG_BT_REMOTE_CTRL_SCAN_WINDOWS=10
CONFIG_ENABLE_NIMBLE=y
CONFIG_TUYA_HS_BLE_HOST_TASK_PRIORITY=9
CONFIG_TUYA_HS_BLE_HOST_STACK_SIZE=5120
# end of configure tuya cloud service
#
# configure enable/disable liblwip
#
CONFIG_ENABLE_LIBLWIP=y
CONFIG_LWIP_TCP_HEAD_ALLOC_REUSE_POLL=0
CONFIG_LWIP_TUYA_APP_TCPIP_THREAD_SWITCH=1
CONFIG_IPEF_TEST_OPTIMIZE=0
CONFIG_MEM_SIZE=13312
CONFIG_MEMP_NUM_UDP_PCB=6
CONFIG_MEMP_NUM_TCP_PCB=10
CONFIG_MEMP_NUM_TCP_PCB_LISTEN=5
CONFIG_MEMP_NUM_NETCONN=21
CONFIG_MEMP_NUM_PBUF=100
CONFIG_MEMP_NUM_TCP_SEG=20
CONFIG_IP_REASS_MAX_PBUFS=10
CONFIG_PBUF_POOL_SIZE=20
CONFIG_PBUF_LINK_ENCAPSULATION_HLEN=0
CONFIG_TCP_SND_BUF=7300
CONFIG_TCP_SND_QUEUELEN=20
CONFIG_MEMP_NUM_NETBUF=8
CONFIG_TCPIP_MBOX_SIZE=6
CONFIG_DEFAULT_UDP_RECVMBOX_SIZE=6
CONFIG_DEFAULT_TCP_RECVMBOX_SIZE=6
CONFIG_DEFAULT_RAW_RECVMBOX_SIZE=6
CONFIG_DEFAULT_ACCEPTMBOX_SIZE=6
CONFIG_MEMP_NUM_SYS_TIMEOUT=10
CONFIG_LWIP_SO_SNDTIMEO=1
CONFIG_LWIP_SO_RCVTIMEO=1
CONFIG_LWIP_SO_LINGER=1
CONFIG_LWIP_TUYA_SO_LINGER_RST=1
CONFIG_LWIP_PROVIDE_ERRNO=1
CONFIG_LWIP_IPV6=0
CONFIG_LWIP_NETIF_HOSTNAME=1
CONFIG_LWIP_TCPIP_CORE_LOCKING=1
CONFIG_LWIP_EAPOL_SUPPORT=0
CONFIG_TCPIP_THREAD_STACKSIZE=4096
CONFIG_TCPIP_THREAD_PRIO=9
CONFIG_DHCPC_THREAD_STACKSIZE=2048
CONFIG_DHCPC_THREAD_PRIO=5
CONFIG_LWIP_TX_PBUF_ZERO_COPY=0
CONFIG_CONFIG_TUYA_SOCK_SHIM=0
CONFIG_SOCK_API_SYNC=0
CONFIG_LWIP_DHCPC_STATIC_IPADDR_ENABLE=1
CONFIG_LWIP_NETCONN_SEM_PER_THREAD=1
CONFIG_ETHARP_SUPPORT_STATIC_ENTRIES=1
CONFIG_LWIP_NETIF_STATUS_CALLBACK=1
CONFIG_LWIP_COMPAT_MUTEX_ALLOWED=1
CONFIG_LWIP_TIMEVAL_PRIVATE=0
CONFIG_IN_ADDR_T_DEFINED=y
CONFIG_LWIP_NETCONN_FULLDUPLEX=1
# CONFIG_MEM_LIBC_MALLOC is not set
# end of configure enable/disable liblwip
#
# configure enable/disable libtflm
#
# CONFIG_ENABLE_LIBTFLM is not set
# end of configure enable/disable libtflm
#
# configure mbedtls
#
# CONFIG_ENABLE_MBEDTLS_DEBUG is not set
# CONFIG_ENABLE_CUSTOM_CONFIG is not set
# end of configure mbedtls
#
# configure system parameter
#
CONFIG_STACK_SIZE_TIMERQ=4096
CONFIG_STACK_SIZE_WORK_QUEUE=5120
CONFIG_MAX_NODE_NUM_WORK_QUEUE=100
CONFIG_STACK_SIZE_MSG_QUEUE=4096
CONFIG_MAX_NODE_NUM_MSG_QUEUE=100
# end of configure system parameter
# end of configure tuyaopen
#
# configure platform ln882h
#
CONFIG_PLATFORM_LN882H=y
# CONFIG_OPERATING_SYSTEM_LINUX is not set
CONFIG_OPERATING_SYSTEM_RTOS=y
CONFIG_OPERATING_SYSTEM=98
CONFIG_TUYA_LITTLE_ENDIAN=y
# CONFIG_TUYA_BIG_ENDIAN is not set
CONFIG_LITTLE_END=1
# CONFIG_ENABLE_FILE_SYSTEM is not set
CONFIG_ENABLE_WIFI=y
# CONFIG_ENABLE_WIRED is not set
CONFIG_ENABLE_BLUETOOTH=y
CONFIG_ENABLE_HCI=y
CONFIG_ENABLE_RTC=y
CONFIG_ENABLE_WATCHDOG=y
CONFIG_ENABLE_UART=y
CONFIG_ENABLE_FLASH=y
CONFIG_TUYA_FLASH_TYPE_MAX_PARTITION_NUM=10
CONFIG_ENABLE_ADC=y
CONFIG_ENABLE_PWM=y
CONFIG_ENABLE_GPIO=y
CONFIG_ENABLE_I2C=y
CONFIG_ENABLE_SPI=y
CONFIG_ENABLE_TIMER=y
# CONFIG_ENABLE_DISPLAY is not set
# CONFIG_ENABLE_MEDIA is not set
# CONFIG_ENABLE_PM is not set
# CONFIG_ENABLE_STORAGE is not set
# CONFIG_ENABLE_DAC is not set
# CONFIG_ENABLE_I2S is not set
# CONFIG_ENABLE_WAKEUP is not set
# CONFIG_ENABLE_REGISTER is not set
# CONFIG_ENABLE_PINMUX is not set
# CONFIG_ENABLE_PLATFORM_AES is not set
# CONFIG_ENABLE_PLATFORM_SHA256 is not set
# CONFIG_ENABLE_PLATFORM_MD5 is not set
# CONFIG_ENABLE_PLATFORM_SHA1 is not set
# CONFIG_ENABLE_PLATFORM_RSA is not set
# CONFIG_ENABLE_PLATFORM_ECC is not set
# end of configure platform ln882h