Commit Graph
44751 Commits
Author SHA1 Message Date
Jiang Jiang Jian 2ceca64af3 Merge branch 'fix/fix_i2c_modem_clock_ref_count_mismatch_v5.4' into 'release/v5.4'
fix: add reference count control for modem clock devices (v5.4)

See merge request espressif/esp-idf!45535
2026-02-28 11:46:11 +08:00
Jiang Jiang Jian b6cd80f2f2 Merge branch 'bugfix/wps_disable_at_timeout_v5.4' into 'release/v5.4'
fix(wifi): Disable wps in eloop context during wps abort (v5.4)

See merge request espressif/esp-idf!45842
2026-02-28 11:45:45 +08:00
Jiang Jiang Jian 7fcb97ff35 Merge branch 'fix/fix_io_wakeup_issues_v5.4' into 'release/v5.4'
fix(esp_hw_support): make esp_deep_sleep_enable_gpio_wakeup available to PD_TOP lightsleep (v5.4)

See merge request espressif/esp-idf!45872
2026-02-28 11:45:23 +08:00
Jiang Jiang Jian c241dbbaca Merge branch 'bugfix/eloop_mem_leak_v5.4' into 'release/v5.4'
fix(esp_wifi): Fix memory leak caused due to eloop (v5.4)

See merge request espressif/esp-idf!45904
2026-02-28 11:44:55 +08:00
morris 4c559da828 Merge branch 'feat/lcd_example_add_rd_v5.4' into 'release/v5.4'
docs(lcd): update rd pin description for i80_controller example (v5.4)

See merge request espressif/esp-idf!46109
2026-02-28 11:27:40 +08:00
Luo Xu 327bd13fa0 fix(ble_mesh):fixed nimble connection failed
(cherry picked from commit 2af193dac4)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-02-27 17:43:21 +08:00
Chen Chen 93fde65311 docs(lcd): update rd pin description for i80_controller example
Closes https://github.com/espressif/esp-idf/issues/18277
2026-02-27 16:24:04 +08:00
Island 5d83bd2106 Merge branch 'change/ble_update_lib_20260127_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20260127 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!45676
2026-02-27 15:30:05 +08:00
Mahavir Jain d780a2e946 Merge branch 'bugfix/esp_local_ctrl_arg_check_v5.4' into 'release/v5.4'
fix(esp_local_ctrl): validate payload_case matches msg_type in command dispatcher (v5.4)

See merge request espressif/esp-idf!45926
2026-02-27 09:43:23 +05:30
Xu Si Yu 1930e527f4 fix(openthread): fix a macro error 2026-02-26 18:17:01 +08:00
Rahul Tank c4010662c9 Merge branch 'bugfix/improve_nimble_examples_v5.4' into 'release/v5.4'
fix(nimble): Improve safety, fix bugs, and update docs across NimBLE examples (v5.4)

See merge request espressif/esp-idf!45975
2026-02-25 17:29:36 +05:30
morris 591dfac895 Merge branch 'bugfix/uart_tx_fifo_empty_threshold_v5.4' into 'release/v5.4'
fix(uart): tx write bytes fails to use non-default tx fifo empty threshold (v5.4)

See merge request espressif/esp-idf!45891
2026-02-25 16:11:06 +08:00
Rahul Tank 649740afe2 fix(nimble): Improve safety, fix bugs, and update docs across NimBLE examples
- Remove unused headers from examples
- Improve periodic adv/sync example functionality and readability
- Use ble_hs_id_infer_auto() instead of hardcoded BLE_OWN_ADDR_PUBLIC/RANDOM
- Add ble_hs_util_ensure_addr() calls in on_sync for proper address setup
- Use correct ext adv instance (0 instead of 1) in phy_prph, l2cap_coc, multi_conn
- Fix struct name: ble_gap_periodic_adv_enable_params -> ble_gap_periodic_adv_start_params
- Add CONFIG_BT_NIMBLE_GAP_SERVICE guards around ble_svc_gap_device_name_set
- Fix unsafe AD data parsing with bounds checks in central examples
- Fix UUID matching bugs (off-by-one loop condition and byte order) in
  phy_cent, htp_cent, and proximity_sensor_cent
- Fix ble_multi_conn_cent address type to use dynamic inference
- Remove contradictory sm_sc=0 after sm_sc=1 in ble_multi_adv
- Add CONFIG_BT_NIMBLE_EXT_ADV=y to ble_multi_adv sdkconfig defaults
- Check return values for ble_gap_set_host_feat, nimble_port_init
- Update tutorials and READMEs to match code changes
2026-02-25 13:02:58 +05:30
Rahul Tank 6e3a739678 Merge branch 'bugfix/fix_host_nimble_fixes_v5.4' into 'release/v5.4'
fix(nimble): Fix various issues for security/vulnerability in host (v5.4)

See merge request espressif/esp-idf!45993
2026-02-25 12:48:10 +05:30
Wang Meng Yang 6819bf02cf Merge branch 'bugfix/lc_not_wakeup_v5.4' into 'release/v5.4'
fix(ble): Fix restore write-back error caused by memory allocated in PSRAM(v5.4)

See merge request espressif/esp-idf!46002
2026-02-25 14:06:07 +08:00
Song Ruo Jing e801bde973 fix(uart): Avoid division by zero error when calling uart_get_baudrate
If uart_driver_install is not called before uart_get_baudrate,
the UART port may not be ready. In such cases, the register values
cannot be read out, leading to a division by zero error in uart_ll_get_baudrate.
This commit adds a check to ensure the UART port is enabled before
attempting to read its registers.

Closes https://github.com/espressif/esp-idf/issues/17513
2026-02-25 11:31:44 +08:00
Song Ruo Jing b1bb83df2b fix(uart): tx write bytes fails to use non-default tx fifo empty threshold
Users may see tx write bytes fails to feed data into tx fifo in time
even if the tx fifo empty threshold has been set to a large value.
2026-02-25 11:31:44 +08:00
Rahul Tank 68382f6a1f fix(nimble): Fix various issues for security/vulnerability in host 2026-02-24 15:57:31 +05:30
Mahavir Jain 88aeae0f63 Merge branch 'contrib/github_pr_18241_v5.4' into 'release/v5.4'
fix(esp_https_server): SSL context leak when HTTPS server fails to start (GitHub PR) (v5.4)

See merge request espressif/esp-idf!45990
2026-02-24 13:35:47 +05:30
morris 6ee1f8d69b Merge branch 'fix/fix_i80lcd_stuck_on_high_pckl_v5.4' into 'release/v5.4'
fix(i80_lcd): fix dma stuck with high pclk (v5.4)

See merge request espressif/esp-idf!45855
2026-02-24 11:26:30 +08:00
xiongweichao c9ea57b795 fix(ble): Fix restore write-back error caused by memory allocated in PSRAM 2026-02-24 10:30:34 +08:00
David Slay 2ce0aaf6e1 fix(esp_https_server): SSL context leak when HTTPS server fails to start 2026-02-23 17:17:54 +08:00
sonika.rathi 527b48a145 change(spiffs): upgrade spiffs module to 0.2-265-gad902ca version
Closes https://github.com/espressif/esp-idf/issues/18214
2026-02-20 11:46:53 +01:00
Rahul Tank 223de94067 Merge branch 'bugfix/fix_nimble_issues_11022026_v5.4' into 'release/v5.4'
fix(nimble): Bugfix/fix nimble issues 11022026 (v5.4)

See merge request espressif/esp-idf!45909
2026-02-18 09:23:43 +05:30
Mahavir Jain f0706727a4 docs(protocomm): recommend using security2 scheme for production purpose 2026-02-17 11:47:24 +05:30
Mahavir Jain 6111a7825e fix(esp_local_ctrl): validate payload_case matches msg_type in command dispatcher
The command dispatcher routed handlers based solely on msg_type without
verifying that the protobuf payload_case field matched. A crafted message
with mismatched msg_type and payload_case could cause type confusion,
leading to an out-of-bounds read or NULL pointer dereference.

Add expected_payload_case to the command table and validate it in the
dispatcher before invoking any handler.

Please note that this issue was applicable for authenticated clients
only (with security1/2 scheme) and hence the impact is on lower side.
2026-02-17 11:47:24 +05:30
Astha Verma c877120167 fix(nimble): Fix memory leak when enabling gatt caching 2026-02-16 11:20:39 +05:30
Rahul Tank 873323e242 fix(nimble): Fix tinycrypt compilation issues when enabled 2026-02-16 11:20:01 +05:30
Rahul Tank 9c97056612 fix(nimble): Fix to not send legacy command incorrectly 2026-02-16 11:19:46 +05:30
Rahul Tank bea3933381 fix(nimble): Handle scenario of simultaneous connect 2026-02-16 11:19:25 +05:30
Rahul Tank a759a4b476 fix(nimble): Add support to allow multiple ext adv 2026-02-16 11:18:26 +05:30
Shreeyash 4b0e6c07ee fix(nimble): delete connection after lookup in ble_gap_conn_broken 2026-02-16 11:18:14 +05:30
Rahul Tank d6ce5da7b6 fix(nimble): Bugfixes for various issues 2026-02-16 11:17:56 +05:30
Shreyas Sheth 4e010711f5 fix(esp_wifi): Fix memory leak caused due to eloop
- Fix memory leak when eloop timer is in eloop queue and esp_wifi_deinit is
called
- Return error on long timeout
- Fix memory leak when register timeout returns error
2026-02-16 10:50:21 +05:30
wuzhenghui 737d311807 fix(esp_hw_support): fix esp_sleep_enable_gpio_wakeup_on_hp_periph_powerdown bad logic 2026-02-13 16:27:36 +08:00
wuzhenghui 9997d2e15a fix(esp_hw_support): make esp_deep_sleep_enable_gpio_wakeup available to PD_TOP lightsleep 2026-02-13 16:27:36 +08:00
wuzhenghui bf31d0396e fix(example): fix uninitialized gpio/rtcio in deepsleep example 2026-02-13 16:27:32 +08:00
Wang Meng Yang 17a019ab90 Merge branch 'bugfix/32k_xtal_to_rtc_slow_v5.4' into 'release/v5.4'
fix(bt): Add some debug logs during A2DP sink decoding(v5.4)

See merge request espressif/esp-idf!45786
2026-02-13 08:33:11 +08:00
Rahul Tank d971a2c411 Merge branch 'bugfix/fix_ble_multi_adv_v5.4' into 'release/v5.4'
fix(nimble): Fix ble_multi_adv example to show correct UUIDs information (v5.4)

See merge request espressif/esp-idf!45812
2026-02-12 15:47:39 +05:30
Chen Jichang 628221fd8b fix(i80_lcd): fix dma stuck with high pclk 2026-02-12 17:14:09 +08:00
Sajia de1f13912a fix(wifi): Disable wps in eloop context during wps timeout 2026-02-12 11:24:58 +05:30
Island ecc2e2ca4a Merge branch 'fix/ble_mesh_blob_issue_fix_v5.4' into 'release/v5.4'
fix(ble_mesh): Miscellaneous fixes for blob (v5.4)

See merge request espressif/esp-idf!45759
2026-02-11 19:43:41 +08:00
Mahavir Jain ce51bf9895 Merge branch 'fix/kconfig-mbedtls-pk-rsa-alt-support_v5.4' into 'release/v5.4'
fix(esp-tls): Remove unused MBEDTLS_PK_RSA_ALT_SUPPORT dependency from DS peripheral option (v5.4)

See merge request espressif/esp-idf!45780
2026-02-11 14:40:26 +05:30
Rahul Tank 47aebc48f5 fix(nimble): Fix ble_multi_adv example to show correct UUIDs information 2026-02-11 12:38:06 +05:30
Island 8a196f41f5 Merge branch 'feat/fix_esp32c2_rom_rewrite_issue_rebase_v5.4' into 'release/v5.4'
Feat/fix esp32c2 rom rewrite issue rebase (v5.4)

See merge request espressif/esp-idf!45767
2026-02-11 10:16:13 +08:00
morris 459e2b50bc Merge branch 'fix/i2c_redundant_local_level_v5.4' into 'release/v5.4'
fix(i2c): fix LOG_LOCAL_LEVEL redefinition error when CONFIG_I2C_ENABLE_DEBUG_LOG is enabled (v5.4)

See merge request espressif/esp-idf!45649
2026-02-11 09:38:44 +08:00
morris d304b982c4 Merge branch 'fix/fix_dma_burst_size_regression_v5.4' into 'release/v5.4'
fix(gdma): skip alignment check for AHBDMA version 1 when flash enc (v5.4)

See merge request espressif/esp-idf!45575
2026-02-10 22:17:26 +08:00
Shu Chen f2d310738c Merge branch 'feat/add_phy_cli_debug_v5.4' into 'release/v5.4'
feat(openthread): support 154 debug features on RCP (v5.4)

See merge request espressif/esp-idf!45732
2026-02-10 11:07:39 +00:00
Rahul Tank 407eead4fb Merge branch 'fix/mbedtls-esp-random_v5.4' into 'release/v5.4'
fix(nimble): Replace use of CTR DRBG with mbedtls_esp_random (v5.4)

See merge request espressif/esp-idf!45266
2026-02-10 14:54:39 +05:30
xiongweichao d452e96b3f fix(bt): Add some debug logs during A2DP sink decoding 2026-02-10 14:55:07 +08:00