Commit Graph

41273 Commits

Author SHA1 Message Date
Song Ruo Jing
9dd31295a0 fix(uart): correct uart_get_tx_buffer_free_size calculation
Modified a bit on the TX ring buffer push size logic

 Closes https://github.com/espressif/esp-idf/issues/15859
2025-12-08 22:13:05 +08:00
Song Ruo Jing
a230e10d5f fix(light_sleep/example): fix potential compilation error in light_sleep example
If ESP_CONSOLE_NONE is selected in menuconfig, compilation fails with
undefined CONFIG_ESP_CONSOLE_UART_BAUDRATE macro.
2025-12-08 22:13:05 +08:00
Song Ruo Jing
59abd9fd51 fix(uart): fix release pin logic if switching only one pin 2025-12-08 22:13:05 +08:00
Shu Chen
61724aebe6 Merge branch 'fix/ieee802154_energy_detect_result_v5.3' into 'release/v5.3'
fix(802.15.4): fixed energy detection result (v5.3)

See merge request espressif/esp-idf!43527
2025-12-08 12:11:32 +00:00
Aditya Patwardhan
15eb433df9 Merge branch 'fix/fix_bootloader_skip_validate_in_deep_sleep_v5.3' into 'release/v5.3'
fix(bootloader): fix signature verification skip in deep sleep scenarios (v5.3)

See merge request espressif/esp-idf!43698
2025-12-08 15:33:45 +05:30
Aditya Patwardhan
df76e82ee7 Merge branch 'bugfix/protocomm_sec1_validation_v5.3' into 'release/v5.3'
fix(protocomm): add validation for Security1 client verifier data (v5.3)

See merge request espressif/esp-idf!43781
2025-12-08 15:32:03 +05:30
Jiang Jiang Jian
7024ea1034 Merge branch 'bugfix/ftm_last_dial_tok_v5.3' into 'release/v5.3'
bugfix(wifi): Set the dialog token of last FTM resp to Zero (Backport v5.3)

See merge request espressif/esp-idf!43847
2025-12-08 15:22:42 +08:00
Akshat Agrawal
39b6c1051a bugfix(wifi): Set the dialog token of last FTM resp to Zero 2025-12-05 15:35:28 +05:30
Jiang Jiang Jian
59be1d6b07 Merge branch 'bugfix/fix_some_wifi_bugs_261201_v5.3' into 'release/v5.3'
fix(wifi): fix issue that disarm send wake null timer donot take effect , fix(wifi): fix some esp-now issues and lightsleep issues , add scan stop when smartconfig stop V5.3

See merge request espressif/esp-idf!43904
2025-12-05 15:56:44 +08:00
Rahul Tank
f7b3ce9959 Merge branch 'bugfix/fix_reattempt_sync_estab_v5.3' into 'release/v5.3'
fix(nimble): Add change to cancel sync in case of reattempt (v5.3)

See merge request espressif/esp-idf!43951
2025-12-05 13:02:50 +05:30
Jiang Jiang Jian
b7258f8897 Merge branch 'fix/esp32p4_sleep_fixes_v5.3' into 'release/v5.3'
fix(esp_hw_support): esp32p4 lowpower issues fixes (v5.3)

See merge request espressif/esp-idf!43091
2025-12-05 14:55:13 +08:00
Jiang Jiang Jian
b18d2d5c90 Merge branch 'feat/set_pull_mode_of_coex_input_pin_v5.3' into 'release/v5.3'
feat(esp_coex): set the pull mode of the external coex input pin (v5.3)

See merge request espressif/esp-idf!43313
2025-12-05 14:52:18 +08:00
Jiang Jiang Jian
1e75eb999c Merge branch 'feat/esp_idf_feat_gpioworkaround_v5.3' into 'release/v5.3'
feat(esp_hw_support): add gpio reset workaround except esp32 & esp32s2 (v5.3)

See merge request espressif/esp-idf!43467
2025-12-05 14:51:30 +08:00
Jiang Jiang Jian
fde720737b Merge branch 'bugfix/esp_idf_h2_flash_cs_hold_v5.3' into 'release/v5.3'
fix(esp_hw_support): fix flash cs unhold during sleep when pd top in esp32h2 (v5.3)

See merge request espressif/esp-idf!43560
2025-12-05 14:49:30 +08:00
Jiang Jiang Jian
d408bf422f Merge branch 'ci/fix_wifi_cases_5.3' into 'release/v5.3'
Ci: fix wifi cases 5.3

See merge request espressif/esp-idf!43940
2025-12-05 12:29:02 +08:00
Zhao Wei Liang
ba94852d59 fix(ble): fixed the assert issue when using tinycrypt on ESP32-C2
(cherry picked from commit ac5d14d954)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-12-05 09:51:34 +08:00
Zhao Wei Liang
125c6bac81 feat(ble): add CONFIG_BT_LE_CTRL_DL_ITVL_PHY_SYNC_EN config on ESP32-C6
(cherry picked from commit 6c4f33798f)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-12-05 09:51:34 +08:00
Zhao Wei Liang
7b7434429b feat(ble): add CONFIG_BT_LE_CTRL_DL_ITVL_PHY_SYNC_EN config on ESP32-H2
(cherry picked from commit 5f2825ff37)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-12-05 09:51:33 +08:00
Zhao Wei Liang
04490b46c2 change(ble): [AUTO_MR] Update lib_esp32c6 to faf10639
(cherry picked from commit 91810d94b0)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-12-05 09:51:33 +08:00
Zhao Wei Liang
d6dde3d436 change(ble): [AUTO_MR] Update lib_esp32h2 to faf10639
(cherry picked from commit 1980d51477)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-12-05 09:51:32 +08:00
Xu Si Yu
a211407355 fix(openthread): fix an error in Kconfig 2025-12-04 18:32:35 +08:00
Shu Chen
3c8a6d367a Merge branch 'fix/fix_an_ot_trel_risk_v5.3' into 'release/v5.3'
fix(openthread): fix a potential stack overflow in TREL (v5.3)

See merge request espressif/esp-idf!43934
2025-12-04 01:52:39 +00:00
Samuel Obuch
f0a44810a0 fix(bootloader_flash): invalidate FLASH_READ_VADDR before read
Fixed address to match corresponding mmu_hal_map_region call.
MMU_BLOCK0_VADDR was invalidated by mistake in commit
ea38a2e9a4
2025-12-03 10:08:41 +01:00
Chen Yudong
352d84be01 ci: fix sdkconfig.ci.xxx for wifi examples 2025-12-03 12:34:14 +08:00
Chen Yudong
164cfba69d ci: rename wifi_two_dut to two_duts 2025-12-03 12:34:10 +08:00
Rahul Tank
7367a0b8aa fix(nimble): Add change to cancel sync in case of reattempt 2025-12-03 09:27:04 +05:30
Zhang Hai Peng
95c2f0a449 fix(ble/bluedroid): Fix security issues in GATT module
(cherry picked from commit f502b2aab1)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:05 +08:00
Zhang Hai Peng
6f073edcdd fix(ble/bluedroid): Fix security issues in HCI module
(cherry picked from commit b163685c06)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:04 +08:00
Zhang Hai Peng
fb46bd220b fix(ble/bluedroid): Fix security issues in GAP module
(cherry picked from commit 1ed5a4465d)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:04 +08:00
Zhang Hai Peng
f8603177c1 fix(ble/bluedroid): Add length check in prepare write response
(cherry picked from commit b03ff3cf21)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:03 +08:00
Zhang Hai Peng
a73678a637 fix(ble/bluedroid): Add boundary check for adv_handle in btm_ble_adv_set_terminated_evt
(cherry picked from commit d2baf3b0d4)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:03 +08:00
Zhang Hai Peng
a19f21b7ba fix(ble/bluedroid): Fix VLA in a2dp_gatts_coex example
(cherry picked from commit e741f09e0f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:02 +08:00
Zhang Hai Peng
ac1a56f8a3 fix(ble/bluedroid): Add NULL checks in GATT APIs
(cherry picked from commit a6730c7da6)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:02 +08:00
Zhang Hai Peng
d9b5fee6d5 fix(ble/bluedroid): Add NULL checks in esp_gap_ble_api
(cherry picked from commit b71c51564a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:01 +08:00
Zhang Hai Peng
1ac87d9dc2 fix(ble/bluedroid): Add NULL check in esp_ble_gap_add_device_to_resolving_list
(cherry picked from commit 4b44d8e814)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:01 +08:00
Zhang Hai Peng
70e75d7b63 fix(ble/bt): Add NULL check in esp_hid_device example
(cherry picked from commit 8e0f74a2cc)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:00 +08:00
Zhang Hai Peng
667c4769fc fix(ble/bt): Add NULL check in esp_hid_host example
(cherry picked from commit 8b5dd75368)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:00 +08:00
Zhang Hai Peng
0406ad7c7d fix(ble/blufi): Add DH param length validation
(cherry picked from commit 773814c087)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:53:59 +08:00
Zhang Hai Peng
cee1c04124 fix(ble/bluedroid): Fix memory leak in ble_spp_server example
(cherry picked from commit b6b3b81bf6)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:53:59 +08:00
Zhang Hai Peng
580d49365f fix(ble/bluedroid): Use calloc in gatt_server example
(cherry picked from commit e26b60090d)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:53:56 +08:00
Zhang Hai Peng
cb9c6ee858 fix(ble/bluedroid): Use snprintf in ble_eddystone example
(cherry picked from commit 24e023e307)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:53:56 +08:00
Xu Si Yu
1fda4460c1 fix(openthread): fix a potential stack overflow in TREL 2025-12-03 10:36:27 +08:00
Jiang Jiang Jian
d0e7df9e8f Merge branch 'fix/fix_c6_rtc_periph_depends_on_top_v5.3' into 'release/v5.3'
fix(esp_hw_support): add dependency of the TOP domain to the RTC_PERIPH domain for esp32c6 (v5.3)

See merge request espressif/esp-idf!43385
2025-12-03 10:31:45 +08:00
Jiang Jiang Jian
ce002139fd Merge branch 'fix/fix_xtal32k_power_breaks_adc_v5.3' into 'release/v5.3'
fix(esp_system): fix XTAL32K power breaks ADC function on 32k XTAL clock pin (v5.3)

See merge request espressif/esp-idf!43388
2025-12-03 10:31:34 +08:00
Jiang Jiang Jian
a91b56f772 Merge branch 'fix/check_usj_status_before_access_v5.3' into 'release/v5.3'
fix(esp_driver_usb_serial_jtag): check USJ accessibility before read/write (v5.3)

See merge request espressif/esp-idf!43395
2025-12-03 10:29:59 +08:00
Island
563f462986 Merge branch 'feature/extend_h2_conon_num_to_70_v5.3' into 'release/v5.3'
change(ble): Updated the maximum number of concurrent connections to 70 on ESP32-H2 (v5.3)

See merge request espressif/esp-idf!43833
2025-12-02 16:38:16 +08:00
Island
efb1a06cdf Merge branch 'fix/ble_log_v2_cache_error_v5.3' into 'release/v5.3'
BLE Log v2 Function Update 251125 (v5.3)

See merge request espressif/esp-idf!43868
2025-12-02 16:37:39 +08:00
Wang Meng Yang
2288644b6d Merge branch 'bugfix/fix_event_filter_bug_v5.3' into 'release/v5.3'
fix(bt/controller): Fixed hci connection request event filter bug (v5.3)

See merge request espressif/esp-idf!43877
2025-12-02 14:20:11 +08:00
Wang Meng Yang
0b4291ed7f Merge branch 'bugfix/a2dp_deinit_crash_v5.3' into 'release/v5.3'
fix(bt): fixed crash caused by deinit during A2DP connection initiation(v5.3)

See merge request espressif/esp-idf!43789
2025-12-02 10:07:02 +08:00
Zhang Hai Peng
06f18a9fe0 fix(ble/bluedroid): Fix potential out-of-bounds issue
- add length check in hci_hal_h4_hdl_rx_packet to prevent OOB
- add adv data length check in btm_ble_cache_adv_data
- add indicate data length check in BTA_GATTS_HandleValueIndication
- add report length check in bta_hh_parse_keybd_rpt
- add report length check in BTA_HdSendReport
- add descriptor length check in BTA_HdRegisterApp
- prevent buffer overflow in attribute processing


(cherry picked from commit 71efec78c5)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-02 00:04:53 +08:00