12#ifndef TUYA_IOT_CONFIG_H
13#define TUYA_IOT_CONFIG_H
21#define SYSTEM_SMALL_MEMORY_BEGIN 0
22#define SYSTEM_REALTEK8710_1M 1
23#define SYSTEM_REALTEK8710_2M 2
24#define SYSTEM_NON_OS 3
25#define SYSTEM_FREERTOS 98
26#define SYSTEM_SMALL_MEMORY_END 99
27#define SYSTEM_LINUX 100
28#define SYSTEM_LITEOS 120
31#define TLS_TUYA_PSK_ONLY 2
32#define TLS_TUYA_ECC_PSK 3
33#define TLS_TUYA_ECC_ONLY 4
34#define TLS_TUYA_ECC_ONLY_NOSTRIP 5
35#define TLS_TUYA_ECC_CLIENT_AUTH 6
38#define TUYA_OPERATOR_DISABLE 0x0
39#define TUYA_OPERATOR_CUCC 0x01
40#define TUYA_OPERATOR_CTCC 0x02
41#define TUYA_OPERATOR_CMCC 0x04
42#define TUYA_OPERATOR_CMCC_ANDLINK 0x08
43#define TUYA_OPERATOR_ALL (TUYA_OPERATOR_CUCC | TUYA_OPERATOR_CTCC | TUYA_OPERATOR_CMCC)
46#define TUYA_LAN_V31 0x1
47#define TUYA_LAN_V32 0x2
48#define TUYA_LAN_V33 0x4
49#define TUYA_LAN_V35 0x8
50#define TUYA_LAN_ALL (TUYA_LAN_V31 | TUYA_LAN_V32 | TUYA_LAN_V33 | TUYA_LAN_V35)
52#define TUYA_MQ_V21 0x1
53#define TUYA_MQ_V22 0x2
54#define TUYA_MQ_V23 0x4
55#define TUYA_MQ_ALL (TUYA_MQ_V21 | TUYA_MQ_V22 | TUYA_MQ_V23)
59#define BUILD_DATE "2022_06_09"
60#define BUILD_TIME "15_34_28"
61#define GIT_USER "ci_manage"
62#define IOT_SDK_VER "3.3.1"
63#define SDK_BETA_VER ""
64#define TARGET_PLATFORM "rtl8720cf_ameba"
65#define PROJECT_NAME "tuyaos-iot"
66#define SDK_ID "tuyaos-iot_3.3.1_rtl8720cf_ameba_rtl8720cm_wifi-ble-com_2.3.11"
67#define KERNEL_VER "0.0.1"
72#define ENABLE_COMPATIBLE 1
76#define TUYA_IOT_DEBUG 1
78#define TUYA_REDUCE_BIN 0
84#define STACK_SIZE_HEALTH_MONITOR 1536
87#define KV_PROTECTED_ENABLE 1
89#define ENABLE_KV_PROTECTED 1
91#define ENABLE_KV_KEY_SEED 1
93#define KV_KEY_SEED "8710_2M"
99#define EVENT_NAME_MAX_LEN 16
101#define ENABLE_TUYA_LAN 1
103#define ENABLE_LAN_ENCRYPTION 1
107#define STACK_SIZE_LAN 4096
114#define ENABLE_BT_SERVICE 1
116#define ENABLE_BT_NETCFG 1
118#define ENABLE_BT_ACTIVE 1
120#define ENABLE_BT_CTRL 1
122#define ENABLE_BT_REMOTE_CTRL 1
124#define ENABLE_BT_TIMER 1
126#define ENABLE_BT_MF 1
130#define TUYA_BLE_VER 3
132#define ENABLE_TAL_BLUETOOTH 1
134#define TAL_BLUETOOTH 1
136#define TAL_BLE_SERVICE_VERSION 1
138#define ENABLE_TUYA_BLE_STACK 1
140#define TARGET_BT_PLATFORM 1
150#define BT_REMOTE_CTRL 1
162#define ENABLE_WIFI_SERVICE 1
168#define ENABLE_WIFI_PROTECT 1
176#define ENABLE_TUYA_CLOUD 1
182#define ENABLE_ASTRO_TIMER 1
184#define ENABLE_CALENDAR_TIMER 1
194#define ENABLE_COMMUNICATE_PRIORITY 1
196#define STACK_SIZE_MQTT_CLIENT 4096
199#define STACK_SIZE_WORK_QUEUE 5120
201#define MAX_NODE_NUM_WORK_QUEUE 100
203#define STACK_SIZE_MSG_QUEUE 4096
205#define MAX_NODE_NUM_MSG_QUEUE 100
210#define OPERATING_SYSTEM 98
224#define ENABLE_WATCHDOG 1
226#define ENABLE_FLASH 1
228#define TUYA_FLASH_TYPE_MAX_PARTITION_NUM 10
244#define ENABLE_TIMER 1
290#define ENABLE_RTL8720CF_PLATFORM_CONFIG 1
292#define ENABLE_WIFI_WPA3 1
294#define ENABLE_PLATFORM_CLT_TEST 0
301#ifndef TUYA_LAN_VERSION
302#define TUYA_LAN_VERSION TUYA_LAN_V35
305#ifndef TUYA_MQ_VERSION
306#define TUYA_MQ_VERSION TUYA_MQ_V23
309#ifndef ENABLE_DEVICE_DATA_COLLECT
310#define ENABLE_DEVICE_DATA_COLLECT 0
313#ifndef TUYA_WEAK_ATTRIBUTE
314#define TUYA_WEAK_ATTRIBUTE __attribute__ ((weak))