Commit Graph

28752 Commits

Author SHA1 Message Date
Marius Vikhammer
170cfde551 Merge branch 'bugfix/ringbuf_getsize_v5.0' into 'release/v5.0'
fix(esp_ringbuf): fix flash function prvGetFreeSize called from IRAM ISR

See merge request espressif/esp-idf!29699
2024-03-20 11:51:33 +08:00
morris
1cb07eb253 Merge branch 'bugfix/fix_adc_reset_issue_on_legacy_v5.0' into 'release/v5.0'
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy) (v5.0)

See merge request espressif/esp-idf!28334
2024-03-20 10:05:17 +08:00
Tomáš Rohlínek
3404830524
fix(storage/fatfs): make wl_fatfsgen.py safe mode aware 2024-03-19 13:59:33 +01:00
Jiang Jiang Jian
f2d351d75b Merge branch 'fix/fatfs_sdmmc_triming_v5.0' into 'release/v5.0'
fix(storage/fatfs): check whether sdcard supports trimming (v5.0)

See merge request espressif/esp-idf!28337
2024-03-19 14:20:57 +08:00
Jiang Jiang Jian
55adcbf919 Merge branch 'bugfix/struct_init_order_blemesh_v5.0' into 'release/v5.0'
ble_mesh: example: fix the structure init order to meet C++ requirements(backport v5.0)

See merge request espressif/esp-idf!28930
2024-03-19 14:20:22 +08:00
Jiang Jiang Jian
a82f02ae47 Merge branch 'feat/move_ag_cb_malloc_to_btc_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module (v5.0)

See merge request espressif/esp-idf!29633
2024-03-19 14:19:52 +08:00
Jiang Jiang Jian
3b1ec55e7b Merge branch 'doc/update_espnow_doc_v5.0' into 'release/v5.0'
docs(wifi): Updated the LMK description in ESP-NOW (v5.0)

See merge request espressif/esp-idf!29671
2024-03-19 14:19:25 +08:00
Jiang Jiang Jian
94d2ac6a2d Merge branch 'bugfix/cve-2023-52160_v5.0' into 'release/v5.0'
fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements (v5.0)

See merge request espressif/esp-idf!29677
2024-03-19 14:19:04 +08:00
Jiang Jiang Jian
75873b4a21 Merge branch 'bugfix/make_coexist_callback_safe_v5.0' into 'release/v5.0'
fix(bt/controller): Fixed some bugs in esp32 bt controller (v5.0)

See merge request espressif/esp-idf!29684
2024-03-19 14:18:13 +08:00
Omar Chebib
4a22a5b764 fix(esp_ringbuf): fix flash function prvGetFreeSize called from IRAM ISR
* Closes https://github.com/espressif/esp-idf/issues/13378
2024-03-18 13:39:39 +08:00
linruihao
9277a80293 fix(bt/controller): Fixed some bugs in esp32 bt controller
1. fixed crash issue in coexist callback
2. fixed wrong LMP message send when expect peer device increase tx power to max
2024-03-15 19:08:58 +08:00
Roland Dobai
914d893c5c Merge branch 'fix/fix_curses_py312_v5.0' into 'release/v5.0'
Fix Access Violation Error on Windows with Python 3.12 (v5.0)

See merge request espressif/esp-idf!29511
2024-03-15 16:19:57 +08:00
Kapil Gupta
34121bdeac fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements
The previous PEAP client behavior allowed the server to skip Phase 2
authentication with the expectation that the server was authenticated
during Phase 1 through TLS server certificate validation. Various PEAP
specifications are not exactly clear on what the behavior on this front
is supposed to be and as such, this ended up being more flexible than
the TTLS/FAST/TEAP cases. However, this is not really ideal when
unfortunately common misconfiguration of PEAP is used in deployed
devices where the server trust root (ca_cert) is not configured or the
user has an easy option for allowing this validation step to be skipped.

Change the default PEAP client behavior to be to require Phase 2
authentication to be successfully completed for cases where TLS session
resumption is not used and the client certificate has not been
configured. Those two exceptions are the main cases where a deployed
authentication server might skip Phase 2 and as such, where a more
strict default behavior could result in undesired interoperability
issues. Requiring Phase 2 authentication will end up disabling TLS
session resumption automatically to avoid interoperability issues.

Allow Phase 2 authentication behavior to be configured with a new phase1
configuration parameter option:
'phase2_auth' option can be used to control Phase 2 (i.e., within TLS
tunnel) behavior for PEAP:
 * 0 = do not require Phase 2 authentication
 * 1 = require Phase 2 authentication when client certificate
   (private_key/client_cert) is no used and TLS session resumption was
   not used (default)
 * 2 = require Phase 2 authentication in all cases
2024-03-15 13:22:22 +05:30
zhangyanjiao
693ceaba3c docs(wifi): Updated the LMK description in ESP-NOW
Closes https://github.com/espressif/esp-idf/issues/12976
2024-03-15 15:14:11 +08:00
Jiang Jiang Jian
1bd6dffbef Merge branch 'bugfix/fix_maximum_value_of_config_rtc_clk_cal_cycles_bug_v5.0' into 'release/v5.0'
ESP All Chip: fixed the maximum value of config RTC_CLK_CAL_SYCLES bug (v5.0)

See merge request espressif/esp-idf!29650
2024-03-15 11:19:14 +08:00
Jiang Jiang Jian
343560e1c5 Merge branch 'bugfix/fix_s3_bbpll_cali_fail_bug_v5.0' into 'release/v5.0'
fix: fix s3 bbpll calibration fail bug (v5.0)

See merge request espressif/esp-idf!29646
2024-03-15 11:18:45 +08:00
Jiang Jiang Jian
155eb11672 Merge branch 'bugfix/fix_fastmem_slowmem_lost_data_bug_v5.0' into 'release/v5.0'
[C3/S3]Fix sleep fast_mem & slow_mem may lost bug (v5.0)

See merge request espressif/esp-idf!29642
2024-03-15 11:18:14 +08:00
hongshuqing
44815d75eb fix: fix_maximum_value_of_config_rtc_clk_cal_cycle_bug 2024-03-14 16:22:39 +08:00
InfiniteYuan
5f11da04b0 ble_mesh: example: fix the structure init order to meet C++ requirements
Closes https://github.com/espressif/esp-idf/issues/8110
2024-03-14 16:20:36 +08:00
InfiniteYuan
d5f11597e6 ble_mesh: stack: fix the structure init order to meet C++ requirements 2024-03-14 16:20:36 +08:00
hongshuqing
64a99ef412 fix: fix s3 bbpll cali fail bug 2024-03-14 15:45:43 +08:00
chaijie@espressif.com
9a3a74463a fix: fix sleep fast_mem & slow_mem may lost bug 2024-03-14 15:18:57 +08:00
Jin Cheng
baf45b004e feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module 2024-03-14 10:53:48 +08:00
Rahul Tank
2769144e64 Merge branch 'contrib/github_pr_13034_v5.0' into 'release/v5.0'
docs(nimble): Fixed typo in examples/bluetooth/nimble/blehr/README (GitHub PR) (v5.0)

See merge request espressif/esp-idf!29617
2024-03-14 03:03:06 +08:00
Martin Vychodil
05a45e9c96 Merge branch 'bugfix/nvs_lock_initi_and_multipage_blob_v5.0' into 'release/v5.0'
Bugfix/nvs Improved handling of BLOB during unreliable power environment and concurrent data access scenarios (v5.0)

See merge request espressif/esp-idf!29322
2024-03-13 23:06:23 +08:00
morris
09d7bb4ffb Merge branch 'bugfix/fix_flash_encryption_rom_c3_v5.0' into 'release/v5.0'
fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled (backport v5.0)

See merge request espressif/esp-idf!29352
2024-03-13 21:32:12 +08:00
Alex Verschoot
c9c10b14d8 Update README.md
Fix typo
2024-03-13 17:09:41 +05:30
Aditya Patwardhan
822399516c Merge branch 'bugfix/update_disabling_hmac_jtag_method_v5.0' into 'release/v5.0'
fix(esp_hw_support): update hmac toggle method due to discrepency in ROM code (v5.0)

See merge request espressif/esp-idf!29532
2024-03-13 19:25:09 +08:00
Rahul Tank
20792606de Merge branch 'bugfix/reconnect_host_based_v5.0' into 'release/v5.0'
fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32 (v5.0)

See merge request espressif/esp-idf!29572
2024-03-13 12:26:24 +08:00
radek.tandler
27f432eb05 fix(nvs): Adopted CMakeLists for nvs_host_test of IDF v5.0 2024-03-12 13:28:02 +01:00
harshal.patil
c84dca6e7d
fix(tcp_transport): Fix coverity report regarding tcp_transport 2024-03-12 13:48:06 +05:30
harshal.patil
f7b3cd6cbd
ci(mbedtls/gcm): Added test to verify software fallback for non-AES cipher GCM operations 2024-03-12 13:47:50 +05:30
harshal.patil
c367de40ba
fix(mbedtls/gcm): Add support for software fallback for non-AES ciphers in a GCM operation
- Even if the config MBEDTLS_HARDWARE_AES is enabled, we now support fallback
to software implementation of GCM operations when non-AES ciphers are used.
2024-03-12 13:47:25 +05:30
Roland Dobai
e334aa0cfa Merge branch 'feature/export_bat_exit_codes_v5.0' into 'release/v5.0'
feat(tools): produce correct err code in install/export .bat scripts (v5.0)

See merge request espressif/esp-idf!29546
2024-03-12 15:12:38 +08:00
nilesh.kale
14d7caa921 fix(esp_hw_support): update hmac toggle method due to discrepency in ROM code
Need to update the HMAC enable/disable method due to discrepancy in ROM code
across different targets for the esp_hmac_disable() API.
2024-03-12 12:24:51 +05:30
Darshan Dobariya
a00e268c70 fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32 (v5.0) 2024-03-12 12:20:05 +05:30
Rahul Tank
d39db5ede8 Merge branch 'feat/ble_gap_dev_auth_v5.0' into 'release/v5.0'
feat(nimble): Authorize or deauthorize a BLE device for a connection (v5.0)

See merge request espressif/esp-idf!29241
2024-03-12 12:51:29 +08:00
Jiang Jiang Jian
d388c85fd2 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.0' into 'release/v5.0'
Fixed some BLE bugs 2403 (backport v5.0)

See merge request espressif/esp-idf!29467
2024-03-12 11:01:32 +08:00
Jiang Jiang Jian
ffdd5dc2fa Merge branch 'bugfix/fix_some_ble_bugs_240310_v5.0' into 'release/v5.0'
Bugfix/fix some ble bugs 240310 v5.0(backport v5.0)

See merge request espressif/esp-idf!29519
2024-03-12 11:01:14 +08:00
Jiang Jiang Jian
edaff79b9a Merge branch 'bugfix/fix_smart_config_bssid_set_issue_v5.0' into 'release/v5.0'
fix(wifi): fix smart config bssid set issue(Backport v5.0)

See merge request espressif/esp-idf!29528
2024-03-12 10:59:53 +08:00
Marek Fiala
929ad0ef91 feat(tools): produce correct err code in export/install .bat scripts
Plus unify labels to begin with underscore
2024-03-11 10:03:27 +01:00
Darshan Dobariya
5a0a8a2c82 feat(nimble): Authorize or deauthorize a BLE device for a connection (v5.0) 2024-03-11 10:24:01 +05:30
Rahul Tank
9aaa048dfc Merge branch 'bugfix/handle_callout_free_in_deinit_v5.0' into 'release/v5.0'
fix(nimble): Handle memory leak in callout deinit (v5.0)

See merge request espressif/esp-idf!29461
2024-03-11 12:52:59 +08:00
muhaidong
b2d49b6d00 fix(wifi): fix smart config bssid set issue 2024-03-11 11:40:15 +08:00
Jiang Jiang Jian
c286a416ba Merge branch 'bugfix/fix_esp_wifi_scan_start_memory_leakage_issue_v5.0' into 'release/v5.0'
fix(wifi): fix esp_wifi_scan_start memory leakage issue(Backport v5.0)

See merge request espressif/esp-idf!29477
2024-03-11 11:19:31 +08:00
Omar Chebib
1e8b9f8b9c fix(bootloader): add legacy retained memory CRC calculation
* Closes https://github.com/espressif/esp-idf/issues/12849

In former versions of ESP-IDF, the user custom memory data in the retained memory
was taken into account during the CRC calculation. This was changed in a later
commit, the custom memory was ignored, therefore this can seen as a breaking change.
This commit gives the possibility to choose between the former (legacy) or
new way of calculating the CRC.
2024-03-11 11:03:06 +08:00
zhanghaipeng
af28f8cfb5 fix(ble/bluedroid): Fixed BLE BLE periodic advertising parameter check 2024-03-10 20:04:44 +08:00
zhanghaipeng
3221583d2f fix(ble/bluedroid): Fixed BLE crash when repeatedly initialize and deinitialize host 2024-03-10 20:04:44 +08:00
Rahul Tank
9f47994989 fix(nimble): Handle memory leak in callout deinit 2024-03-08 20:31:46 +05:30
Rahul Tank
2365dd1635 Merge branch 'bugfix/gap_connect_failed_with_0x0d_v5.0' into 'release/v5.0'
fix(nimble): Revise the help section for the Kconfig macro BLE_RPA_TIMEOUT (v5.0)

See merge request espressif/esp-idf!29494
2024-03-08 22:44:07 +08:00