Skip to content

Commit 8032231

Browse files
committed
Update IDF
1 parent 7e45310 commit 8032231

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+702
-296
lines changed

platform.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ compiler.warning_flags.all=-Wall -Werror=all -Wextra
2020

2121
compiler.path={runtime.tools.xtensa-esp32-elf-gcc.path}/bin/
2222
compiler.sdk.path={runtime.platform.path}/tools/sdk
23-
compiler.cpreprocessor.flags=-DESP_PLATFORM -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DHAVE_CONFIG_H "-I{compiler.sdk.path}/include/config" "-I{compiler.sdk.path}/include/bluedroid" "-I{compiler.sdk.path}/include/bootloader_support" "-I{compiler.sdk.path}/include/bt" "-I{compiler.sdk.path}/include/driver" "-I{compiler.sdk.path}/include/esp32" "-I{compiler.sdk.path}/include/ethernet" "-I{compiler.sdk.path}/include/fatfs" "-I{compiler.sdk.path}/include/freertos" "-I{compiler.sdk.path}/include/log" "-I{compiler.sdk.path}/include/mdns" "-I{compiler.sdk.path}/include/mbedtls" "-I{compiler.sdk.path}/include/mbedtls_port" "-I{compiler.sdk.path}/include/vfs" "-I{compiler.sdk.path}/include/ulp" "-I{compiler.sdk.path}/include/newlib" "-I{compiler.sdk.path}/include/nvs_flash" "-I{compiler.sdk.path}/include/spi_flash" "-I{compiler.sdk.path}/include/sdmmc" "-I{compiler.sdk.path}/include/openssl" "-I{compiler.sdk.path}/include/app_update" "-I{compiler.sdk.path}/include/tcpip_adapter" "-I{compiler.sdk.path}/include/xtensa-debug-module" "-I{compiler.sdk.path}/include/newlib" "-I{compiler.sdk.path}/include/coap" "-I{compiler.sdk.path}/include/wpa_supplicant" "-I{compiler.sdk.path}/include/expat" "-I{compiler.sdk.path}/include/json" "-I{compiler.sdk.path}/include/nghttp" "-I{compiler.sdk.path}/include/lwip"
23+
compiler.cpreprocessor.flags=-DESP_PLATFORM -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DHAVE_CONFIG_H "-I{compiler.sdk.path}/include/config" "-I{compiler.sdk.path}/include/bluedroid" "-I{compiler.sdk.path}/include/app_update" "-I{compiler.sdk.path}/include/bootloader_support" "-I{compiler.sdk.path}/include/bt" "-I{compiler.sdk.path}/include/driver" "-I{compiler.sdk.path}/include/esp32" "-I{compiler.sdk.path}/include/ethernet" "-I{compiler.sdk.path}/include/fatfs" "-I{compiler.sdk.path}/include/freertos" "-I{compiler.sdk.path}/include/jsmn" "-I{compiler.sdk.path}/include/log" "-I{compiler.sdk.path}/include/mdns" "-I{compiler.sdk.path}/include/mbedtls" "-I{compiler.sdk.path}/include/mbedtls_port" "-I{compiler.sdk.path}/include/newlib" "-I{compiler.sdk.path}/include/nvs_flash" "-I{compiler.sdk.path}/include/openssl" "-I{compiler.sdk.path}/include/spi_flash" "-I{compiler.sdk.path}/include/sdmmc" "-I{compiler.sdk.path}/include/tcpip_adapter" "-I{compiler.sdk.path}/include/ulp" "-I{compiler.sdk.path}/include/vfs" "-I{compiler.sdk.path}/include/xtensa-debug-module" "-I{compiler.sdk.path}/include/newlib" "-I{compiler.sdk.path}/include/coap" "-I{compiler.sdk.path}/include/wpa_supplicant" "-I{compiler.sdk.path}/include/expat" "-I{compiler.sdk.path}/include/json" "-I{compiler.sdk.path}/include/nghttp" "-I{compiler.sdk.path}/include/lwip"
2424

2525
compiler.c.cmd=xtensa-esp32-elf-gcc
2626
compiler.c.flags=-std=gnu99 -Os -g3 -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -Wpointer-arith {compiler.warning_flags} -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -Wno-old-style-declaration -MMD -c
@@ -33,7 +33,7 @@ compiler.S.flags=-c -g3 -x assembler-with-cpp -MMD -mlongcalls
3333

3434
compiler.c.elf.cmd=xtensa-esp32-elf-gcc
3535
compiler.c.elf.flags=-nostdlib "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" -T esp32_out.ld -T esp32.common.ld -T esp32.rom.ld -T esp32.peripherals.ld -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority
36-
compiler.c.elf.libs=-lgcc -lstdc++ -lapp_update -lbootloader_support -lbt -lbtdm_app -lc -lc_nano -lcoap -lcoexist -lcore -lcxx -ldriver -lesp32 -lethernet -lexpat -lfatfs -lfreertos -lhal -ljson -llog -llwip -lm -lmbedtls -lmdns -lmicro-ecc -lnet80211 -lnewlib -lnghttp -lnvs_flash -lopenssl -lphy -lpp -lrtc -lrtc_clk -lsdmmc -lsmartconfig -lspi_flash -ltcpip_adapter -lulp -lvfs -lwpa -lwpa2 -lwpa_supplicant -lwps -lxtensa-debug-module
36+
compiler.c.elf.libs=-lgcc -lstdc++ -lapp_update -lbootloader_support -lbt -lbtdm_app -lc -lc_nano -lcoap -lcoexist -lcore -lcxx -ldriver -lesp32 -lethernet -lexpat -lfatfs -lfreertos -lhal -ljsmn -ljson -llog -llwip -lm -lmbedtls -lmdns -lmicro-ecc -lnet80211 -lnewlib -lnghttp -lnvs_flash -lopenssl -lphy -lpp -lrtc -lrtc_clk -lrtc_pm -lsdmmc -lsmartconfig -lspi_flash -ltcpip_adapter -lulp -lvfs -lwpa -lwpa2 -lwpa_supplicant -lwps -lxtensa-debug-module
3737

3838
compiler.as.cmd=xtensa-esp32-elf-as
3939

tools/platformio-build.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -51,26 +51,27 @@
5151
CPPPATH=[
5252
join(FRAMEWORK_DIR, "tools", "sdk", "include", "config"),
5353
join(FRAMEWORK_DIR, "tools", "sdk", "include", "bluedroid"),
54+
join(FRAMEWORK_DIR, "tools", "sdk", "include", "app_update"),
5455
join(FRAMEWORK_DIR, "tools", "sdk", "include", "bootloader_support"),
5556
join(FRAMEWORK_DIR, "tools", "sdk", "include", "bt"),
5657
join(FRAMEWORK_DIR, "tools", "sdk", "include", "driver"),
5758
join(FRAMEWORK_DIR, "tools", "sdk", "include", "esp32"),
5859
join(FRAMEWORK_DIR, "tools", "sdk", "include", "ethernet"),
5960
join(FRAMEWORK_DIR, "tools", "sdk", "include", "fatfs"),
6061
join(FRAMEWORK_DIR, "tools", "sdk", "include", "freertos"),
62+
join(FRAMEWORK_DIR, "tools", "sdk", "include", "jsmn"),
6163
join(FRAMEWORK_DIR, "tools", "sdk", "include", "log"),
6264
join(FRAMEWORK_DIR, "tools", "sdk", "include", "mdns"),
6365
join(FRAMEWORK_DIR, "tools", "sdk", "include", "mbedtls"),
6466
join(FRAMEWORK_DIR, "tools", "sdk", "include", "mbedtls_port"),
65-
join(FRAMEWORK_DIR, "tools", "sdk", "include", "vfs"),
66-
join(FRAMEWORK_DIR, "tools", "sdk", "include", "ulp"),
6767
join(FRAMEWORK_DIR, "tools", "sdk", "include", "newlib"),
6868
join(FRAMEWORK_DIR, "tools", "sdk", "include", "nvs_flash"),
69+
join(FRAMEWORK_DIR, "tools", "sdk", "include", "openssl"),
6970
join(FRAMEWORK_DIR, "tools", "sdk", "include", "spi_flash"),
7071
join(FRAMEWORK_DIR, "tools", "sdk", "include", "sdmmc"),
71-
join(FRAMEWORK_DIR, "tools", "sdk", "include", "openssl"),
72-
join(FRAMEWORK_DIR, "tools", "sdk", "include", "app_update"),
7372
join(FRAMEWORK_DIR, "tools", "sdk", "include", "tcpip_adapter"),
73+
join(FRAMEWORK_DIR, "tools", "sdk", "include", "ulp"),
74+
join(FRAMEWORK_DIR, "tools", "sdk", "include", "vfs"),
7475
join(FRAMEWORK_DIR, "tools", "sdk", "include", "xtensa-debug-module"),
7576
join(FRAMEWORK_DIR, "tools", "sdk", "include", "newlib"),
7677
join(FRAMEWORK_DIR, "tools", "sdk", "include", "coap"),
@@ -88,7 +89,7 @@
8889
],
8990

9091
LIBS=[
91-
"gcc", "stdc++", "app_update", "bootloader_support", "bt", "btdm_app", "c", "c_nano", "coap", "coexist", "core", "cxx", "driver", "esp32", "ethernet", "expat", "fatfs", "freertos", "hal", "json", "log", "lwip", "m", "mbedtls", "mdns", "micro-ecc", "net80211", "newlib", "nghttp", "nvs_flash", "openssl", "phy", "pp", "rtc", "rtc_clk", "sdmmc", "smartconfig", "spi_flash", "tcpip_adapter", "ulp", "vfs", "wpa", "wpa2", "wpa_supplicant", "wps", "xtensa-debug-module"
92+
"gcc", "stdc++", "app_update", "bootloader_support", "bt", "btdm_app", "c", "c_nano", "coap", "coexist", "core", "cxx", "driver", "esp32", "ethernet", "expat", "fatfs", "freertos", "hal", "jsmn", "json", "log", "lwip", "m", "mbedtls", "mdns", "micro-ecc", "net80211", "newlib", "nghttp", "nvs_flash", "openssl", "phy", "pp", "rtc", "rtc_clk", "rtc_pm", "sdmmc", "smartconfig", "spi_flash", "tcpip_adapter", "ulp", "vfs", "wpa", "wpa2", "wpa_supplicant", "wps", "xtensa-debug-module"
9293
],
9394

9495
UPLOADERFLAGS=[

tools/sdk/include/bluedroid/btm_ble_api.h

+35-24
Original file line numberDiff line numberDiff line change
@@ -310,30 +310,41 @@ typedef void (tBTM_RAND_ENC_CB) (tBTM_RAND_ENC *p1);
310310

311311
typedef UINT32 tBTM_BLE_AD_MASK;
312312

313-
#define BTM_BLE_AD_TYPE_FLAG HCI_EIR_FLAGS_TYPE /* 0x01 */
314-
#define BTM_BLE_AD_TYPE_16SRV_PART HCI_EIR_MORE_16BITS_UUID_TYPE /* 0x02 */
315-
#define BTM_BLE_AD_TYPE_16SRV_CMPL HCI_EIR_COMPLETE_16BITS_UUID_TYPE /* 0x03 */
316-
#define BTM_BLE_AD_TYPE_32SRV_PART HCI_EIR_MORE_32BITS_UUID_TYPE /* 0x04 */
317-
#define BTM_BLE_AD_TYPE_32SRV_CMPL HCI_EIR_COMPLETE_32BITS_UUID_TYPE /* 0x05 */
318-
#define BTM_BLE_AD_TYPE_128SRV_PART HCI_EIR_MORE_128BITS_UUID_TYPE /* 0x06 */
319-
#define BTM_BLE_AD_TYPE_128SRV_CMPL HCI_EIR_COMPLETE_128BITS_UUID_TYPE /* 0x07 */
320-
#define BTM_BLE_AD_TYPE_NAME_SHORT HCI_EIR_SHORTENED_LOCAL_NAME_TYPE /* 0x08 */
321-
#define BTM_BLE_AD_TYPE_NAME_CMPL HCI_EIR_COMPLETE_LOCAL_NAME_TYPE /* 0x09 */
322-
#define BTM_BLE_AD_TYPE_TX_PWR HCI_EIR_TX_POWER_LEVEL_TYPE /* 0x0A */
323-
#define BTM_BLE_AD_TYPE_DEV_CLASS 0x0D
324-
#define BTM_BLE_AD_TYPE_SM_TK 0x10
325-
#define BTM_BLE_AD_TYPE_SM_OOB_FLAG 0x11
326-
#define BTM_BLE_AD_TYPE_INT_RANGE 0x12
327-
#define BTM_BLE_AD_TYPE_SOL_SRV_UUID 0x14
328-
#define BTM_BLE_AD_TYPE_128SOL_SRV_UUID 0x15
329-
#define BTM_BLE_AD_TYPE_SERVICE_DATA 0x16
330-
#define BTM_BLE_AD_TYPE_PUBLIC_TARGET 0x17
331-
#define BTM_BLE_AD_TYPE_RANDOM_TARGET 0x18
332-
#define BTM_BLE_AD_TYPE_APPEARANCE 0x19
333-
#define BTM_BLE_AD_TYPE_ADV_INT 0x1a
334-
#define BTM_BLE_AD_TYPE_32SOL_SRV_UUID 0x1b
335-
#define BTM_BLE_AD_TYPE_32SERVICE_DATA 0x1c
336-
#define BTM_BLE_AD_TYPE_128SERVICE_DATA 0x1d
313+
#define BTM_BLE_AD_TYPE_FLAG HCI_EIR_FLAGS_TYPE /* 0x01 */
314+
#define BTM_BLE_AD_TYPE_16SRV_PART HCI_EIR_MORE_16BITS_UUID_TYPE /* 0x02 */
315+
#define BTM_BLE_AD_TYPE_16SRV_CMPL HCI_EIR_COMPLETE_16BITS_UUID_TYPE /* 0x03 */
316+
#define BTM_BLE_AD_TYPE_32SRV_PART HCI_EIR_MORE_32BITS_UUID_TYPE /* 0x04 */
317+
#define BTM_BLE_AD_TYPE_32SRV_CMPL HCI_EIR_COMPLETE_32BITS_UUID_TYPE /* 0x05 */
318+
#define BTM_BLE_AD_TYPE_128SRV_PART HCI_EIR_MORE_128BITS_UUID_TYPE /* 0x06 */
319+
#define BTM_BLE_AD_TYPE_128SRV_CMPL HCI_EIR_COMPLETE_128BITS_UUID_TYPE /* 0x07 */
320+
#define BTM_BLE_AD_TYPE_NAME_SHORT HCI_EIR_SHORTENED_LOCAL_NAME_TYPE /* 0x08 */
321+
#define BTM_BLE_AD_TYPE_NAME_CMPL HCI_EIR_COMPLETE_LOCAL_NAME_TYPE /* 0x09 */
322+
#define BTM_BLE_AD_TYPE_TX_PWR HCI_EIR_TX_POWER_LEVEL_TYPE /* 0x0A */
323+
#define BTM_BLE_AD_TYPE_DEV_CLASS 0x0D
324+
#define BTM_BLE_AD_TYPE_SM_TK 0x10
325+
#define BTM_BLE_AD_TYPE_SM_OOB_FLAG 0x11
326+
#define BTM_BLE_AD_TYPE_INT_RANGE 0x12
327+
#define BTM_BLE_AD_TYPE_SOL_SRV_UUID 0x14
328+
#define BTM_BLE_AD_TYPE_128SOL_SRV_UUID 0x15
329+
#define BTM_BLE_AD_TYPE_SERVICE_DATA 0x16
330+
#define BTM_BLE_AD_TYPE_PUBLIC_TARGET 0x17
331+
#define BTM_BLE_AD_TYPE_RANDOM_TARGET 0x18
332+
#define BTM_BLE_AD_TYPE_APPEARANCE 0x19
333+
#define BTM_BLE_AD_TYPE_ADV_INT 0x1a
334+
#define BTM_BLE_AD_TYPE_LE_DEV_ADDR 0x1b
335+
#define BTM_BLE_AD_TYPE_LE_ROLE 0x1c
336+
#define BTM_BLE_AD_TYPE_SPAIR_C256 0x1d
337+
#define BTM_BLE_AD_TYPE_SPAIR_R256 0x1e
338+
#define BTM_BLE_AD_TYPE_32SOL_SRV_UUID 0x1f
339+
#define BTM_BLE_AD_TYPE_32SERVICE_DATA 0x20
340+
#define BTM_BLE_AD_TYPE_128SERVICE_DATA 0x21
341+
#define BTM_BLE_AD_TYPE_LE_SECURE_CONFIRM 0x22
342+
#define BTM_BLE_AD_TYPE_LE_SECURE_RANDOM 0x23
343+
#define BTM_BLE_AD_TYPE_URI 0x24
344+
#define BTM_BLE_AD_TYPE_INDOOR_POSITION 0x25
345+
#define BTM_BLE_AD_TYPE_TRANS_DISC_DATA 0x26
346+
#define BTM_BLE_AD_TYPE_LE_SUPPORT_FEATURE 0x27
347+
#define BTM_BLE_AD_TYPE_CHAN_MAP_UPDATE 0x28
337348

338349
#define BTM_BLE_AD_TYPE_MANU HCI_EIR_MANUFACTURER_SPECIFIC_TYPE /* 0xff */
339350
typedef UINT8 tBTM_BLE_AD_TYPE;

tools/sdk/include/bluedroid/gatt_api.h

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565
#define GATT_CONGESTED 0x8f
6666
#define GATT_STACK_RSP 0x90
6767
#define GATT_APP_RSP 0x91
68+
//Error caused by customer application or stack bug
69+
#define GATT_ESP_ERROR 0X9f
6870

6971
/* 0xE0 ~ 0xFC reserved for future use */
7072
#define GATT_CCC_CFG_ERR 0xFD /* Client Characteristic Configuration Descriptor Improperly Configured */

tools/sdk/include/bluedroid/gatt_int.h

+37
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,16 @@ typedef struct {
133133
UINT8 reason;
134134
} tGATT_ERROR;
135135

136+
/* Execute write response structure */
137+
typedef struct {
138+
UINT8 op_code;
139+
}__attribute__((packed)) tGATT_EXEC_WRITE_RSP;
140+
141+
/* Write request response structure */
142+
typedef struct {
143+
UINT8 op_code;
144+
}__attribute__((packed)) tGATT_WRITE_REQ_RSP;
145+
136146
/* server response message to ATT protocol
137147
*/
138148
typedef union {
@@ -329,6 +339,32 @@ typedef struct {
329339
UINT16 count;
330340
} tGATT_SRV_LIST_INFO;
331341

342+
/* prepare write queue data */
343+
typedef struct{
344+
//len: length of value
345+
tGATT_ATTR16 *p_attr;
346+
UINT16 len;
347+
UINT8 op_code;
348+
UINT16 handle;
349+
UINT16 offset;
350+
UINT8 value[2];
351+
}__attribute__((packed)) tGATT_PREPARE_WRITE_QUEUE_DATA;
352+
353+
/* structure to store prepare write packts information */
354+
typedef struct{
355+
//only store prepare write packets which need
356+
//to be responded by stack (not by application)
357+
BUFFER_Q queue;
358+
359+
//store the total number of prepare write packets
360+
//including that should be responded by stack or by application
361+
UINT16 total_num;
362+
363+
//store application error code for prepare write,
364+
//invalid offset && invalid length
365+
UINT8 error_code_app;
366+
}tGATT_PREPARE_WRITE_RECORD;
367+
332368
typedef struct {
333369
BUFFER_Q pending_enc_clcb; /* pending encryption channel q */
334370
tGATT_SEC_ACTION sec_act;
@@ -362,6 +398,7 @@ typedef struct {
362398

363399
BOOLEAN in_use;
364400
UINT8 tcb_idx;
401+
tGATT_PREPARE_WRITE_RECORD prepare_write_record; /* prepare write packets record */
365402
} tGATT_TCB;
366403

367404

tools/sdk/include/bt/bt.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern "C" {
2727
* @brief Bluetooth mode for controller enable/disable
2828
*/
2929
typedef enum {
30-
ESP_BT_MODE_ILDE = 0x00, /*!< Bluetooth is not run */
30+
ESP_BT_MODE_IDLE = 0x00, /*!< Bluetooth is not running */
3131
ESP_BT_MODE_BLE = 0x01, /*!< Run BLE mode */
3232
ESP_BT_MODE_CLASSIC_BT = 0x02, /*!< Run Classic BT mode */
3333
ESP_BT_MODE_BTDM = 0x03, /*!< Run dual mode */

tools/sdk/include/config/sdkconfig.h

+13-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@
88
#define CONFIG_PHY_ENABLED 1
99
#define CONFIG_TRACEMEM_RESERVE_DRAM 0x0
1010
#define CONFIG_FREERTOS_MAX_TASK_NAME_LEN 16
11-
#define CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE 1
1211
#define CONFIG_FOUR_MAC_ADDRESS_FROM_EFUSE 1
12+
#define CONFIG_SW_COEXIST_ENABLE 1
1313
#define CONFIG_ESPTOOLPY_FLASHSIZE_4MB 1
1414
#define CONFIG_ESPTOOLPY_FLASHFREQ "80m"
1515
#define CONFIG_NEWLIB_STDOUT_ADDCR 1
1616
#define CONFIG_TASK_WDT_CHECK_IDLE_TASK 1
1717
#define CONFIG_ESPTOOLPY_FLASHSIZE "4MB"
18+
#define CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER 1
1819
#define CONFIG_ETHERNET 1
1920
#define CONFIG_EMAC_L2_TO_L3_RX_BUF_MODE 1
2021
#define CONFIG_INT_WDT 1
@@ -24,13 +25,16 @@
2425
#define CONFIG_BT_RESERVE_DRAM 0x10000
2526
#define CONFIG_LOG_BOOTLOADER_LEVEL_ERROR 1
2627
#define CONFIG_CONSOLE_UART_BAUDRATE 115200
27-
#define CONFIG_LWIP_MAX_SOCKETS 4
28+
#define CONFIG_LWIP_MAX_SOCKETS 10
2829
#define CONFIG_EMAC_TASK_PRIORITY 20
30+
#define CONFIG_TIMER_TASK_STACK_DEPTH 2048
31+
#define CONFIG_FATFS_CODEPAGE 850
2932
#define CONFIG_ULP_COPROC_RESERVE_MEM 512
3033
#define CONFIG_ESPTOOLPY_BAUD 921600
3134
#define CONFIG_INT_WDT_CHECK_CPU1 1
3235
#define CONFIG_ESPTOOLPY_AFTER_RESET 1
3336
#define CONFIG_TOOLPREFIX "xtensa-esp32-elf-"
37+
#define CONFIG_FATFS_LFN_STACK 1
3438
#define CONFIG_ESP32_WIFI_AMPDU_ENABLED 1
3539
#define CONFIG_CONSOLE_UART_NUM 0
3640
#define CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC 1
@@ -42,14 +46,17 @@
4246
#define CONFIG_LOG_DEFAULT_LEVEL_ERROR 1
4347
#define CONFIG_MBEDTLS_MPI_USE_INTERRUPT 1
4448
#define CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE 1
49+
#define CONFIG_FATFS_CODEPAGE_850 1
4550
#define CONFIG_TASK_WDT 1
4651
#define CONFIG_MAIN_TASK_STACK_SIZE 4096
4752
#define CONFIG_TASK_WDT_TIMEOUT_S 5
4853
#define CONFIG_INT_WDT_TIMEOUT_MS 300
4954
#define CONFIG_ESPTOOLPY_FLASHMODE "dio"
5055
#define CONFIG_BTC_TASK_STACK_SIZE 2048
56+
#define CONFIG_BLUEDROID_ENABLED 1
5157
#define CONFIG_ESPTOOLPY_BEFORE "default_reset"
5258
#define CONFIG_LOG_DEFAULT_LEVEL 1
59+
#define CONFIG_TIMER_QUEUE_LENGTH 10
5360
#define CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM 0
5461
#define CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER 20
5562
#define CONFIG_ESP32_WIFI_NVS_ENABLED 1
@@ -86,16 +93,20 @@
8693
#define CONFIG_ESPTOOLPY_AFTER "hard_reset"
8794
#define CONFIG_LWIP_SO_REUSE 1
8895
#define CONFIG_DMA_TX_BUF_NUM 10
96+
#define CONFIG_TIMER_TASK_PRIORITY 1
8997
#define CONFIG_BT_ENABLED 1
9098
#define CONFIG_MONITOR_BAUD 115200
9199
#define CONFIG_MBEDTLS_HARDWARE_SHA 1
92100
#define CONFIG_FREERTOS_CORETIMER_0 1
93101
#define CONFIG_PARTITION_TABLE_CUSTOM_FILENAME "partitions.csv"
94102
#define CONFIG_MBEDTLS_HAVE_TIME 1
103+
#define CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY 1
95104
#define CONFIG_FREERTOS_ISR_STACKSIZE 1536
96105
#define CONFIG_OPENSSL_ASSERT_DO_NOTHING 1
97106
#define CONFIG_OPTIMIZATION_LEVEL_DEBUG 1
98107
#define CONFIG_SYSTEM_EVENT_QUEUE_SIZE 32
108+
#define CONFIG_FATFS_MAX_LFN 255
109+
#define CONFIG_ESP32_WIFI_TX_BUFFER_TYPE 1
99110
#define CONFIG_ESPTOOLPY_BAUD_921600B 1
100111
#define CONFIG_APP_OFFSET 0x10000
101112
#define CONFIG_MEMMAP_SMP 1

0 commit comments

Comments
 (0)