Commit Graph

23793 Commits

Author SHA1 Message Date
Jin Cheng
4734fb0044 fix(bt/controller): Fixed 3 esp32 bt controller bugs
update esp32 bt-lib (952debf4)

1. Increased the length of queue for coexist requestions
2. fix(bt/controller): Cleared BT SNIFF when no connections exists
3. fix(bt/controller): Corrected a typo in coex module
2024-03-07 14:18:13 +08:00
chenjianhua
e249971122 fix(bt): Update bt lib for ESP32(2de69f3)
- Fixed HCI command status event send when LLCP busy
2024-03-07 14:18:07 +08:00
Rahul Tank
407795da51 Merge branch 'bugfix/addr_resol_for_esp32_v4.4' into 'release/v4.4'
fix(nimble): Added the check to prevent address resolution in case of identity addr for esp32(v4.4)

See merge request espressif/esp-idf!29347
2024-03-06 20:17:55 +08:00
Abhinav Kudnar
4e73d06135 fix(nimble): Added the check to prevent address resolution in case of identity addr for esp32 2024-03-06 15:16:50 +05:30
Island
29efc9650d Merge branch 'bugfix/struct_init_order_blemesh_v4.4' into 'release/v4.4'
ble_mesh: example: fix the structure init order to meet C++ requirements(backport v4.4)

See merge request espressif/esp-idf!28929
2024-03-06 14:09:28 +08:00
Rahul Tank
0eb7ad2032 Merge branch 'feat/ble_gap_dev_auth_v4.4' into 'release/v4.4'
feat(nimble): Authorize or deauthorize a BLE device for a connection (v4.4)

See merge request espressif/esp-idf!29244
2024-03-05 20:50:29 +08:00
Darshan Dobariya
e79e35219e feat(nimble): Authorize or deauthorize a BLE device for a connection (v4.4) 2024-03-05 10:02:37 +05:30
Michael (XIAO Xufeng)
e374f8fd6a Merge branch 'feature/add_new_pkg_and_flash_psram_efuses_v4.4' into 'release/v4.4'
feat(efuse): Add flash&psram efuses for S3 (v4.4)

See merge request espressif/esp-idf!29145
2024-03-05 10:54:38 +08:00
Rahul Tank
7a00499cc9 Merge branch 'bugfix/move_count_v4.4' into 'release/v4.4'
fix(nimble): Fix compilation issue in nimble for -O2 flag (v4.4)

See merge request espressif/esp-idf!29076
2024-03-04 22:05:56 +08:00
Rahul Tank
29f92595bf Merge branch 'bugfix/increase_reattempt_conn_count_v4.4' into 'release/v4.4'
fix(nimble): Increase range of reattempt connection count (v4.4)

See merge request espressif/esp-idf!29343
2024-03-04 19:44:21 +08:00
Darshan Dobariya
0e9b28f7fb fix(nimble): Fix compilation issue in nimble for -O2 flag (v4.4) 2024-03-04 15:19:52 +05:30
Guillaume Souchere
f47d9432a0 console: Fix building issue when serial JTAG is set
Closes https://github.com/espressif/esp-idf/issues/10707
2024-03-04 14:29:39 +08:00
morris
0241b95b71 Merge branch 'bugfix/usb_host_usbh_callback_misses_action_v4.4' into 'release/v4.4'
fix(usb): Fix bug where usbh_process() misses an event (v4.4)

See merge request espressif/esp-idf!29367
2024-03-04 11:38:12 +08:00
Jiang Jiang Jian
6ec1935ccb Merge branch 'bugfix/fix_issues_in_mesh_and_scan_v4.4' into 'release/v4.4'
fix(wifi): fixed scan and mesh deinit issues (v4.4)

See merge request espressif/esp-idf!29203
2024-03-04 10:56:29 +08:00
Jiang Jiang Jian
093f04510f Merge branch 'bugfix/ip101_reset_timing_v4.4' into 'release/v4.4'
fix(esp_eth): ip101-specific reset_hw to match reset timings from datasheet (v4.4)

See merge request espressif/esp-idf!29015
2024-03-04 10:40:47 +08:00
Jiang Jiang Jian
fdfe99cdb2 Merge branch 'bugfix/improve_find_by_addr' into 'release/v4.4'
fix(nimble): Improve find conn by ble_addr_t (v4.4)

See merge request espressif/esp-idf!29134
2024-03-04 10:40:27 +08:00
Jiang Jiang Jian
6cb955e8e6 Merge branch 'bugfix/update_spp_doc_v4.4' into 'release/v4.4'
docs(bt/bluedroid): update API documents of SPP (v4.4)

See merge request espressif/esp-idf!29173
2024-03-04 10:40:05 +08:00
Jiang Jiang Jian
8247e0b058 Merge branch 'bugfix/fix_ble_max_reconnect_v4.4' into 'release/v4.4'
fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration(backport v4.4)

See merge request espressif/esp-idf!29221
2024-03-04 10:38:03 +08:00
Jiang Jiang Jian
303ad716b6 Merge branch 'bugfix/bootloader_custom_rtc_data_crc' into 'release/v4.4'
fix(bootloader): add legacy retained memory CRC calculation (backport v4.4)

See merge request espressif/esp-idf!28142
2024-03-04 10:36:39 +08:00
Jiang Jiang Jian
5c5ab4b0c9 Merge branch 'change/reduce_usage_of_iram_when_bt_in_single_mode_v4.4' into 'release/v4.4'
change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode(backport v4.4)

See merge request espressif/esp-idf!29227
2024-03-04 10:35:29 +08:00
Jiang Jiang Jian
fac1a07248 Merge branch 'bugfix/fix_coex_lib_circular_dependency_v4.4' into 'release/v4.4'
fix(esp_coex): fix circular dependency issue on esp32 (v4.4)

See merge request espressif/esp-idf!29175
2024-03-04 10:34:18 +08:00
Roland Dobai
611a3735b5 Merge branch 'feature/add_esp_idf_version_env_var' into 'release/v4.4'
feat(tools): add ESP_IDF_VERSION env var to v4.4

See merge request espressif/esp-idf!29230
2024-03-01 21:55:19 +08:00
Roland Dobai
23ddb21992 Merge branch 'feat/bump_up_pre_commit_hook_v4.4' into 'release/v4.4'
fix: Bump up pre-commit hooks version (v4.4)

See merge request espressif/esp-idf!29255
2024-03-01 21:55:05 +08:00
Ivan Grokhotkov
6383fd550a
fix(sdmmc): extend the maximum number of retries of ACMD41
According to the application note in SD Card Physical Specification:

> The host shall set ACMD41 timeout more than 1 second to abort repeat
of issuing ACMD41 when the card does not indicate ready. The timeout
count starts from the first ACMD41 which is set voltage window
in the argument.

Previously, the timeout was exactly one second, and this caused
certain larger-capacity cards to "time out", because they couldn't
finish initialization process in time.
2024-03-01 10:50:29 +01:00
Ivan Grokhotkov
dceec3fac0
fix(sdmmc): use correct argument for ACMD41 in SPI mode
ACMD41 argument is different between SD mode and SPI mode.
In SPI mode, the only non-zero bit may be the HCS bit. Unlike the SD
mode, the bits reflecting the host's OCR should be zero.
Previously, we used to set these bits the same way as for the SD mode.
This has caused certain cards to fail initializing, apparently their
controllers have checked the ACMD41 argument more strictly and refused
to finish initialization, resulting in an error such as

    sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107

(Note that this error may have other causes than the one fixed in
this commit. For example, if the card doesn't have a sufficient and
stable power supply, it may also fail to complete the internal
initialization process, and will never clear the busy flag in R1
response.)

Closes https://github.com/espressif/esp-idf/issues/6686
Closes https://github.com/espressif/esp-idf/issues/10542
2024-03-01 10:50:29 +01:00
Darian Leung
8f208fd0c0
fix(usb): Fix bug where usbh_process() misses an event
This commit fixes a bug where if multiple concurrent USBH API calls trigger
multiple events on the same device, some events will be lost. As a result,
those lost events don't get processed by the subsequent usbh_process() call.
2024-03-01 14:34:28 +08:00
Rahul Tank
1b249261f3 fix(nimble): Increase range of reattempt connection count 2024-02-29 15:58:33 +05:30
Roland Dobai
d9b9b76785 Merge branch 'fix/reachable_tag_v4.4' into 'release/v4.4'
CI: Make the v4.4.7 tag be reachable from release/v4.4

See merge request espressif/esp-idf!29316
2024-02-29 15:31:31 +08:00
radek.tandler
e6f5608739 fix(nvs): Improved lockig mechanism for initialization phase 2024-02-28 14:18:10 +01:00
radek.tandler
871534b64b fix(nvs): eraseMultiPageBlob to robustly delete all related BLOB_DATA records and respect VER_ANY 2024-02-28 12:44:09 +01:00
radek.tandler
62dc1fdf04 fix(nvs): corrected findItem to return BLOB_DATA when chunkIndex = CHUNK_ANY 2024-02-28 12:44:09 +01:00
radek.tandler
e818c42e1c fix(nvs): added check and erase of mismatched BLOB_DATA on init 2024-02-28 12:44:08 +01:00
Ivan Grokhotkov
5bd115a12e fix(nvs): prevent out of bounds write if blob data is inconsistent 2024-02-28 12:44:08 +01:00
Roland Dobai
2e21cf9cc7 Merge branch 'update/version_4_4_7' into 'release/v4.4'
Update version to 4.4.7

See merge request espressif/esp-idf!29284
2024-02-27 21:50:38 +08:00
Roland Dobai
38eeba213a change(version): Update version to 4.4.7 2024-02-27 09:07:40 +01:00
Roland Dobai
4bd9aae42b change(version): Update version to 4.4.7 2024-02-27 07:28:32 +01:00
Marek Fiala
b5b0b4d150 feat(tools): add ESP_IDF_VERSION env var to v4.4
Closes https://github.com/espressif/esp-idf/issues/10677
2024-02-26 10:59:19 +01:00
Jan Beran
c8ec6573bc fix: Bump up pre-commit hooks version 2024-02-26 10:35:26 +01:00
gongyantao
9fac48f089 change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode 2024-02-23 19:08:50 +08:00
zhanghaipeng
c73823095d fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration 2024-02-23 15:49:30 +08:00
David Čermák
1db39dfea9 Merge branch 'bugfix/w5500_copy_len_v4.4' into 'release/v4.4'
fix(esp_eth): W5500 receive function to return copy_len (v4.4)

See merge request espressif/esp-idf!29022
2024-02-23 15:06:57 +08:00
zhangyanjiao
989eb18f5d fix(wifi): fixed scan and mesh deinit issues
1. update scan ap number when clear scan ap records
2. wait for child disconnect when mesh deinit
2024-02-23 10:55:19 +08:00
Konstantin Kondrashov
d78b2b6af9 feat(efuse): Adds support for alternative efuse names 2024-02-22 11:57:17 +02:00
KonstantinKondrashov
9cb32917a5 feat(efuse): Add flash&psram efuses for S3 2024-02-22 11:49:28 +02:00
linruihao
2c62a152fb fix(esp_coex): fix circular dependency issue on esp32
Closes https://github.com/espressif/esp-idf/issues/13113
2024-02-22 16:54:58 +08:00
Rahul Tank
ead3022f5b fix(nimble): Improve find conn by ble_addr_t 2024-02-22 09:01:42 +05:30
Jin Cheng
5c8190f2ad docs(bt/bluedroid): update API documents of SPP 2024-02-22 10:01:19 +08:00
Mahavir Jain
f327ddf6ad Merge branch 'bugfix/ota_anti_rollback_checks_2_v4.4' into 'release/v4.4'
feat(bootloader_support): Read secure_version under sha256 protection (v4.4)

See merge request espressif/esp-idf!29062
2024-02-21 11:45:51 +08:00
Mahavir Jain
40fe00a65c fix(bootloader_support): check the secure version only for app image
Secure version in the image header is only available for the application
image. However, for certain security workflows, bootloader verifies
itself (own image) and hence the secure version check during that must be
avoided.

Regression introduced in recent commit-id: 3305cb4d

Tested that both secure boot and flash-enc workflows work correctly
with the anti-rollback scenario.
2024-02-20 11:20:03 +02:00
Mahavir Jain
1cf1f4ef9a Merge branch 'fix/build_failure_when_hardware_gcm_is_disabled_v4.4' into 'release/v4.4'
fix(mbedtls/gcm): Fix build failure when config `MBEDTLS_HARDWARE_GCM` is disabled (v4.4)

See merge request espressif/esp-idf!29070
2024-02-20 12:10:11 +08:00