Skip to content

Commit 176077b

Browse files
author
me-no-dev
committed
IDF release/v4.0 b6bec84c6
1 parent 60f20a7 commit 176077b

Some content is hidden

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

79 files changed

+26
-16
lines changed

platform.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ compiler.S.flags=-c -g3 -x assembler-with-cpp -MMD -mlongcalls
3535

3636
compiler.c.elf.cmd=xtensa-esp32-elf-gcc
3737
compiler.c.elf.flags=-nostdlib "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" -T esp32_out.ld -T esp32.project.ld -T esp32.peripherals.ld -T esp32.rom.ld -T esp32.rom.libgcc.ld -T esp32.rom.syscalls.ld -T esp32.rom.newlib-data.ld -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -u call_user_start_cpu0 -u __cxa_guard_dummy -u ld_include_panic_highint_hdl -u newlib_include_locks_impl -u newlib_include_heap_impl -u newlib_include_syscalls_impl -u pthread_include_pthread_impl -u pthread_include_pthread_cond_impl -u pthread_include_pthread_local_storage_impl -fno-rtti -mfix-esp32-psram-cache-issue
38-
compiler.c.elf.libs=-lgcc -lfr -lprotocomm -lcore -lface_recognition -lphy -lpthread -lexpat -lmesh -lesp_common -lopenssl -lnewlib -lapp_update -lulp -lesp32 -lcxx -ltcpip_adapter -ldriver -lespnow -lesp_ringbuf -lconsole -lapp_trace -llog -llwip -ltcp_transport -lesp_gdbstub -lespcoredump -lesp_https_ota -lnghttp -ljsmn -lfd -ljson -limage_util -llibsodium -lspiffs -lm -lsoc -lnet80211 -lmqtt -lwear_levelling -lesp_wifi -lmbedtls -lbootloader_support -lesp_adc_cal -lesp_http_server -lfb_gfx -lface_detection -lesp_http_client -lesp_eth -lpp -lvfs -lsmartconfig -lwpa_supplicant -lprotobuf-c -lbt -lnvs_flash -lunity -lasio -lefuse -lesp_rom -lmdns -lesp_event -ldl_lib -lfreemodbus -lfatfs -lcoap -lrtc -lesp_local_ctrl -lbtdm_app -lsdmmc -lesp_websocket_client -lxtensa -lcoexist -lesp-tls -lspi_flash -lod -lheap -lwifi_provisioning -lfreertos -lesp32-camera -lhal -lc -lstdc++
38+
compiler.c.elf.libs=-lgcc -lfr -lspi_flash -lesp_eth -lesp32 -lesp_event -lpp -lsmartconfig -limage_util -lmesh -lwpa_supplicant -lesp_wifi -ltcp_transport -lesp_websocket_client -lphy -lesp_ringbuf -lrtc -lunity -llibsodium -lcxx -lfatfs -lbootloader_support -lapp_trace -ljsmn -lcoexist -lm -lesp-tls -lnvs_flash -lfb_gfx -lbt -lfd -lcoap -lmbedtls -lod -llog -lesp_http_server -lface_detection -lheap -lmqtt -lvfs -lesp_adc_cal -lesp_rom -lhal -ljson -lefuse -lesp_http_client -lbtdm_app -lprotocomm -lcore -lsdmmc -lopenssl -lfreemodbus -lsoc -lspiffs -lexpat -lesp_https_ota -lesp32-camera -lpthread -lespnow -lasio -lesp_common -lmdns -lapp_update -lwifi_provisioning -lfreertos -lnewlib -lnet80211 -lface_recognition -lprotobuf-c -lconsole -lxtensa -lesp_local_ctrl -lnghttp -lulp -lesp_gdbstub -lespcoredump -ldriver -llwip -lwear_levelling -ldl_lib -ltcpip_adapter -lc -lstdc++
3939

4040
compiler.as.cmd=xtensa-esp32-elf-as
4141

tools/platformio-build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
],
187187

188188
LIBS=[
189-
"-lgcc", "-lfr", "-lprotocomm", "-lcore", "-lface_recognition", "-lphy", "-lpthread", "-lexpat", "-lmesh", "-lesp_common", "-lopenssl", "-lnewlib", "-lapp_update", "-lulp", "-lesp32", "-lcxx", "-ltcpip_adapter", "-ldriver", "-lespnow", "-lesp_ringbuf", "-lconsole", "-lapp_trace", "-llog", "-llwip", "-ltcp_transport", "-lesp_gdbstub", "-lespcoredump", "-lesp_https_ota", "-lnghttp", "-ljsmn", "-lfd", "-ljson", "-limage_util", "-llibsodium", "-lspiffs", "-lm", "-lsoc", "-lnet80211", "-lmqtt", "-lwear_levelling", "-lesp_wifi", "-lmbedtls", "-lbootloader_support", "-lesp_adc_cal", "-lesp_http_server", "-lfb_gfx", "-lface_detection", "-lesp_http_client", "-lesp_eth", "-lpp", "-lvfs", "-lsmartconfig", "-lwpa_supplicant", "-lprotobuf-c", "-lbt", "-lnvs_flash", "-lunity", "-lasio", "-lefuse", "-lesp_rom", "-lmdns", "-lesp_event", "-ldl_lib", "-lfreemodbus", "-lfatfs", "-lcoap", "-lrtc", "-lesp_local_ctrl", "-lbtdm_app", "-lsdmmc", "-lesp_websocket_client", "-lxtensa", "-lcoexist", "-lesp-tls", "-lspi_flash", "-lod", "-lheap", "-lwifi_provisioning", "-lfreertos", "-lesp32-camera", "-lhal", "-lc", "-lstdc++"
189+
"-lgcc", "-lfr", "-lspi_flash", "-lesp_eth", "-lesp32", "-lesp_event", "-lpp", "-lsmartconfig", "-limage_util", "-lmesh", "-lwpa_supplicant", "-lesp_wifi", "-ltcp_transport", "-lesp_websocket_client", "-lphy", "-lesp_ringbuf", "-lrtc", "-lunity", "-llibsodium", "-lcxx", "-lfatfs", "-lbootloader_support", "-lapp_trace", "-ljsmn", "-lcoexist", "-lm", "-lesp-tls", "-lnvs_flash", "-lfb_gfx", "-lbt", "-lfd", "-lcoap", "-lmbedtls", "-lod", "-llog", "-lesp_http_server", "-lface_detection", "-lheap", "-lmqtt", "-lvfs", "-lesp_adc_cal", "-lesp_rom", "-lhal", "-ljson", "-lefuse", "-lesp_http_client", "-lbtdm_app", "-lprotocomm", "-lcore", "-lsdmmc", "-lopenssl", "-lfreemodbus", "-lsoc", "-lspiffs", "-lexpat", "-lesp_https_ota", "-lesp32-camera", "-lpthread", "-lespnow", "-lasio", "-lesp_common", "-lmdns", "-lapp_update", "-lwifi_provisioning", "-lfreertos", "-lnewlib", "-lnet80211", "-lface_recognition", "-lprotobuf-c", "-lconsole", "-lxtensa", "-lesp_local_ctrl", "-lnghttp", "-lulp", "-lesp_gdbstub", "-lespcoredump", "-ldriver", "-llwip", "-lwear_levelling", "-ldl_lib", "-ltcpip_adapter", "-lc", "-lstdc++"
190190
],
191191

192192
LIBSOURCE_DIRS=[

tools/sdk/bin/bootloader_dio_40m.bin

0 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_dio_80m.bin

0 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_dout_40m.bin

0 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_dout_80m.bin

0 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qio_40m.bin

0 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qio_80m.bin

0 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qout_40m.bin

0 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qout_80m.bin

0 Bytes
Binary file not shown.

tools/sdk/include/bt/esp_bt.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
extern "C" {
2626
#endif
2727

28-
#define ESP_BT_CONTROLLER_CONFIG_MAGIC_VAL 0x20190506
28+
#define ESP_BT_CONTROLLER_CONFIG_MAGIC_VAL 0x20200106
2929

3030
/**
3131
* @brief Bluetooth mode for controller enable/disable
@@ -111,6 +111,12 @@ the adv packet will be discarded until the memory is restored. */
111111
#define BTDM_CONTROLLER_MODE_EFF ESP_BT_MODE_BTDM
112112
#endif
113113

114+
#ifdef CONFIG_BTDM_CTRL_AUTO_LATENCY_EFF
115+
#define BTDM_CTRL_AUTO_LATENCY_EFF CONFIG_BTDM_CTRL_AUTO_LATENCY_EFF
116+
#else
117+
#define BTDM_CTRL_AUTO_LATENCY_EFF false
118+
#endif
119+
114120
#define BTDM_CONTROLLER_BLE_MAX_CONN_LIMIT 9 //Maximum BLE connection limitation
115121
#define BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN_LIMIT 7 //Maximum ACL connection limitation
116122
#define BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN_LIMIT 3 //Maximum SCO/eSCO connection limitation
@@ -133,6 +139,7 @@ the adv packet will be discarded until the memory is restored. */
133139
.ble_max_conn = CONFIG_BTDM_CTRL_BLE_MAX_CONN_EFF, \
134140
.bt_max_acl_conn = CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN_EFF, \
135141
.bt_sco_datapath = CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_EFF, \
142+
.auto_latency = BTDM_CTRL_AUTO_LATENCY_EFF, \
136143
.bt_max_sync_conn = CONFIG_BTDM_CTRL_BR_EDR_MAX_SYNC_CONN_EFF, \
137144
.ble_sca = CONFIG_BTDM_BLE_SLEEP_CLOCK_ACCURACY_INDEX_EFF, \
138145
.magic = ESP_BT_CONTROLLER_CONFIG_MAGIC_VAL, \
@@ -165,6 +172,7 @@ typedef struct {
165172
uint8_t ble_max_conn; /*!< BLE maximum connection numbers */
166173
uint8_t bt_max_acl_conn; /*!< BR/EDR maximum ACL connection numbers */
167174
uint8_t bt_sco_datapath; /*!< SCO data path, i.e. HCI or PCM module */
175+
bool auto_latency; /*!< BLE auto latency, used to enhance classic BT performance */
168176
/*
169177
* Following parameters can not be configured runtime when call esp_bt_controller_init()
170178
* It will be overwrite with a constant value which in menuconfig or from a macro.

tools/sdk/include/config/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2005,5 +2005,5 @@
20052005
#define CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP
20062006
#endif
20072007

2008-
#define CONFIG_ARDUINO_IDF_COMMIT "230931310"
2008+
#define CONFIG_ARDUINO_IDF_COMMIT "b6bec84c6"
20092009
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.0"

0 commit comments

Comments
 (0)