24105 Commits

Author SHA1 Message Date
liqigan
4459865257 feat(bt/bluedroid): Added definition of minor class of COD for peripheral major class
Closes https://github.com/espressif/esp-idf/issues/13622
2024-09-26 09:57:21 +08:00
liqigan
10762295c4 fix(bt/bluedroid): Fixed not deep copy service_name and user1_ptr in RAW SDP search event 2024-09-26 09:55:28 +08:00
liqigan
ec88dc9881 change(bt/bluedroid): Limited SDP service discovery operation 2024-09-26 09:55:28 +08:00
liqigan
9a0f3619e8 change(bt/bluedroid): Release record data after SDP record created 2024-09-26 09:55:28 +08:00
linruihao
d13e0419f0 fix(bt/bluedroid): Fixed some bugs in AVRCP 2024-09-26 09:31:06 +08:00
Wang Meng Yang
c467c8ed65 Merge branch 'bugfix/exit_sniff_immed_enter_sniff_v5.2' into 'release/v5.2'
fix(bt/bluedroid): Fix the protocol stack to exit sniff mode(v5.2)

See merge request espressif/esp-idf!33398
2024-09-26 09:30:10 +08:00
Rahul Tank
3827dd0bee Merge branch 'bugfix/add_dummy_cb_during_deinit_v5.2' into 'release/v5.2'
fix(nimble): De-register host cb in stack deinit (v5.2)

See merge request espressif/esp-idf!33374
2024-09-26 01:30:38 +08:00
zwl
3da56074c9 fix(ble): fixed occasional crash issue in multi-connect scenarios on ESP32-C6 2024-09-26 00:04:27 +08:00
Zhao Wei Liang
981e6f93a4 fix(ble): fixed memory leak issue when using uart hci
(cherry picked from commit 4d2c44f511ee00f6e491790e2bc9fbdc6726dbd6)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-09-26 00:04:27 +08:00
Zhao Wei Liang
0974ae10dd fix(ble): fixed occasional assertion issue when enabling logging on ESP32-C2
(cherry picked from commit 0ef9ecb715f93bd0c4c4785357cabcaa36b31273)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-09-26 00:04:27 +08:00
Zhao Wei Liang
8835ba03a6 fix(ble): fixed occasional acl data packet loss issue when using UHCI on ESP32-H2
(cherry picked from commit c929a019318472d0faf80f1b2e9b88066e36b71a)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-09-26 00:04:27 +08:00
morris
466acf6571 Merge branch 'bugfix/fix_batch_of_i2c_issue_v5.2' into 'release/v5.2'
fix(i2c_master): Fix an I2C issue that slave streth happen but master timeout...etc.4MR (backport v5.2)

See merge request espressif/esp-idf!33480
2024-09-25 23:29:50 +08:00
Marius Vikhammer
1c346ddf35 Merge branch 'contrib/github_pr_14469_v5.2' into 'release/v5.2'
fix(spinlock): comparison of integer expressions of different signedness (GitHub PR) (v5.2)

See merge request espressif/esp-idf!33544
2024-09-25 20:33:01 +08:00
luoxu
856988110b feat(ble_mesh): ble mesh lib flash size optimized 2024-09-25 18:04:29 +08:00
Island
34e8a4c7bd Merge branch 'docs/optimized_ble_gattc_multi_connect_example_v5.2' into 'release/v5.2'
docs(ble/bluedroid): Optimize BLE example documentation for getting characteristic (v5.2)

See merge request espressif/esp-idf!33195
2024-09-25 17:44:54 +08:00
Island
087adbe844 Merge branch 'bugfix/fix_ble_scan_assert_1728_v5.2' into 'release/v5.2'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(e9ae856) (v5.2)

See merge request espressif/esp-idf!33721
2024-09-25 17:44:44 +08:00
Rahul Tank
b5af26ca63 Merge branch 'bugfix/fix_blufi_deinit_fail_v5.2' into 'release/v5.2'
fix(nimble): Fixed deinit sequence in blufi (v5.2)

See merge request espressif/esp-idf!33769
2024-09-25 17:40:43 +08:00
Rahul Tank
07f668be14 fix(nimble): De-register host cb in stack deinit 2024-09-25 15:08:46 +05:30
Rahul Tank
afc8010c0a Merge branch 'bugfix/make_cccd_flags_configurable_v5.2' into 'release/v5.2'
fix(nimble): Make CCCD flags configurable (v5.2)

See merge request espressif/esp-idf!33354
2024-09-25 17:37:16 +08:00
Island
02e71cc11c Merge branch 'bugfix/fixed_c5_ble_cache_error_240919_v5.2' into 'release/v5.2'
Bugfix/fixed c5 ble cache error 240919 (v5.2)

See merge request espressif/esp-idf!33760
2024-09-25 17:08:33 +08:00
Island
beda0b5003 Merge branch 'feat/support_blecrt_242_v5.2' into 'release/v5.2'
fix(bt/bluedroid): Fixed access fault when reading BLE controller information fails (v5.2)

See merge request espressif/esp-idf!33633
2024-09-25 17:05:45 +08:00
Island
a5d128b899 Merge branch 'bugfix/fix_ble_max_tx_power_on_esp32c3_v5.2' into 'release/v5.2'
fix(bt/controller): Change the max TX power to +20dBm on ESP32-C3 and ESP32-S3 (v5.2)

See merge request espressif/esp-idf!33616
2024-09-25 17:05:24 +08:00
Island
5dbb1cfc4c Merge branch 'feat/support_ble_scan_and_init_coex_on_esp32_v5.2' into 'release/v5.2'
Support BLE scanning and initiating coexist on ESP32 (v5.2)

See merge request espressif/esp-idf!33386
2024-09-25 17:05:19 +08:00
Mahavir Jain
505625f6f7 Merge branch 'feature/add_api_to_get_last_status_code_logged_during_ota_v5.2' into 'release/v5.2'
feat(esp_https_ota): added API to get last status code logged from http resonse (v5.2)

See merge request espressif/esp-idf!33610
2024-09-25 15:38:22 +08:00
Mahavir Jain
862ae0b8cd Merge branch 'bugfix/check_bootloader_size_with_sign_v5.2' into 'release/v5.2'
fix(esptool_py): Check the size of the bootloader + signature block (v5.2)

See merge request espressif/esp-idf!33591
2024-09-25 15:35:55 +08:00
Mahavir Jain
2b2869aba4 Merge branch 'fix/add_countermeasure_for_ecdsa_peripheral_issue_v5.2' into 'release/v5.2'
feat(hal): Add countermeasure for ECDSA generate signature (v5.2)

See merge request espressif/esp-idf!33747
2024-09-25 15:35:37 +08:00
morris
bed8016f1f Merge branch 'support_psram_noinit_segment_on_s3_v5.2' into 'release/v5.2'
feat(psram): add psram noinit  segment support on s2/s3/p4/c5 and bss segment on c5 (v5.2)

See merge request espressif/esp-idf!33257
2024-09-25 15:27:56 +08:00
morris
f2482e7aed Merge branch 'feat/parlio_tx_support_psram_buffer_v5.2' into 'release/v5.2'
fix(parlio_tx): Fixed errors in the first transfer (v5.2)

See merge request espressif/esp-idf!33358
2024-09-25 15:25:01 +08:00
Jiang Guang Ming
0bed1796af feat(esp_rom): support esp32c2 rev2.0(ECO4) rom systimer hal 2024-09-25 12:02:02 +08:00
Jiang Guang Ming
ab38da2e62 feat(esp_rom): add esp32c2.rom.eco4.ld 2024-09-25 12:01:26 +08:00
Jiang Guang Ming
05caca8cdd feat(esp_hw_support): Support esp32c2 rev2.0 chip 2024-09-25 11:58:22 +08:00
JiangGuangMing
3bfe43fb68 feat(mbedtls): bringup rom mbedtls feature to formal 2024-09-25 11:52:35 +08:00
harshal.patil
52cf97ebd5
feat(mbedtls): Wrap mbedtls_ecdsa_read_signature to use ECDSA hardware when possible 2024-09-24 16:50:38 +05:30
harshal.patil
a14ed03c11
fix(mbedtls/port): Check signature hash length before using ECDSA hardware 2024-09-24 16:50:28 +05:30
Rahul Tank
1b47d34c40 fix(nimble): Fixed deinit sequence in blufi 2024-09-24 12:20:41 +05:30
Zhao Wei Liang
fd7802bae1 fix(ble): unified ble memory allocation method
(cherry picked from commit 8e4cc79a274e97dfbaf8ea50a40377d4dd3df522)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-09-24 12:03:28 +08:00
Aditya Patwardhan
5b6d8812d1
feat(hal): Add countermeasure for ECDSA generate signature
The ECDSA peripheral before ECO5 of esp32h2 does not perform the ECDSA
    sign operation in constant time. This allows an attacker to read the
    power signature of the ECDSA sign operation and then calculate the
    ECDSA key stored inside the eFuse. The commit adds a countermeasure
    for this attack. In this case the real ECDSA sign operation is
    masked under dummy ECDSA sign operations to hide its real power
    signature
2024-09-23 19:28:12 +05:30
Ivan Grokhotkov
c9763f62dd change(version): Update version to 5.2.3 2024-09-23 14:48:14 +02:00
zhanghaipeng
7e31cdd75e fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(63eb54d)
- Fixed issue where RPA is not updated after BLE RPA timeout
2024-09-23 13:32:57 +08:00
chenjianhua
34771563b9 test(bt/bluedroid): Support to disable BLE address resolution 2024-09-23 13:32:57 +08:00
Zhang Hai Peng
1437bb1206 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(e9ae856)
- Fixed BLE scan assert in lld_scan.c 1728


(cherry picked from commit 32c7694f5657938c7b853a234586ff3887424aed)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-09-23 11:13:26 +08:00
Sudeep Mohanty
eedc6d46c0 fix(freertos): Fixed assert failure in vTaskDeleteWithCaps
This commit fixes an assert failure in vTaskDeleteWithCaps() when
multiple un-pinned tasks are created with stack in the external memory
and such tasks delete themselves.

Closes https://github.com/espressif/esp-idf/issues/14222
2024-09-20 10:28:14 +02:00
Sudeep Mohanty
4a5fb3e250 test(freertos): Added a test for vTaskDeleteWithCaps when stack is in ext RAM
This commit adds a stress tests for creating multiple tasks with
xTaskCreateWithCaps such that the stack is allocated in external SPIRAM.
Then the tasks self-delete. This is done iteratively as stress test.
2024-09-20 10:28:14 +02:00
Alexey Lapshin
bb5180f33f fix(newlib): sbom: add CVE-2024-30949 to cve-exclude-list 2024-09-20 14:55:19 +07:00
Sudeep Mohanty
2e454af5e2 fix(esp_ringbuf): Fixed a bug where in a no-split buffer received items prematurely
This commit fixes a bug in the no-split buffer which could receive an
item prematurely if the space on the buffer is acquired until the buffer
is full. The commit also adds a unit test for this scenario.

Closes https://github.com/espressif/esp-idf/issues/14568
2024-09-19 15:59:46 +02:00
Chen Jian Hua
e9484c617d fix(bt/bluedroid): Fixed access fault when reading BLE controller information fails
(cherry picked from commit e4e23087ee4b3e2d86ba44799daccb7a2e5cd781)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-19 09:12:34 +08:00
Chen Jian Hua
2c133cb1bc feat(bt/bluedroid): Add BLE connection id param for ESP_GATTS_RESPONSE_EVT
(cherry picked from commit e4a372ab76d318a5eedb29f41f08fa909744f828)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-19 09:12:32 +08:00
Chen Jian Hua
3a8c97a1c9 fix(bt/controller): Change the max TX power to +20dBm on ESP32-C3 and ESP32-S3
(cherry picked from commit fe43c8f1b5c9dd0761211ca09c980a1cacf35f8c)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-18 17:34:27 +08:00
nilesh.kale
c9f92ef182 feat(esp_https_ota): added API to get last status code logged from http resonse
Closes https://github.com/espressif/esp-idf/issues/14302
2024-09-18 14:58:27 +05:30
wuzhenghui
f617e55e5e
fix(esp_hw_support): add clock retention contents 2024-09-18 17:11:24 +08:00