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
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
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
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
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
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
Chen Jichang
628221fd8b
fix(i80_lcd): fix dma stuck with high pclk
2026-02-12 17:14:09 +08:00
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
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
xiongweichao
6ae62ea729
fix(bt): Replace 32k_xtal with rtc_slow
2026-02-10 14:52:51 +08:00
于小丘
7d4a4aa1b6
fix(esp-tls): Remove unused MBEDTLS_PK_RSA_ALT_SUPPORT dependency from DS peripheral option
2026-02-10 14:12:39 +08:00
Zhao Wei Liang
909119efcc
feat(ble): add config for reserved controller memory on ESP32C6 and ESP32H2
...
(cherry picked from commit 4418d5da82 )
Co-authored-by: cjin <jinchen@espressif.com >
2026-02-10 00:06:33 +08:00
Zhao Wei Liang
d1eb659666
feat(ble): support adv fast tx feature on ESP32-C6 and ESP32-H2
...
(cherry picked from commit 84924e3980 )
Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com >
2026-02-10 00:06:33 +08:00
Zhao Wei Liang
3d3a5314fe
change(ble): [AUTO_MR] Update lib_esp32c6 to bc223ab7
...
(cherry picked from commit 6ed9fc7d6b )
Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com >
2026-02-10 00:06:33 +08:00
Zhao Wei Liang
c7d5b03283
change(ble): [AUTO_MR] Update lib_esp32h2 to bc223ab7
...
(cherry picked from commit 1e196de967 )
Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com >
2026-02-10 00:06:33 +08:00
Jin Chen
b89eaa814a
feat(ble): apply new method for rom code logic change on ESP32-C2
...
(cherry picked from commit 2a0df334e3 )
Co-authored-by: cjin <jinchen@espressif.com >
2026-02-09 20:13:17 +08:00
Jin Chen
a114208a9b
feat(ble): support for ble module stripping on ESP32-C2
...
(cherry picked from commit b90840a570 )
Co-authored-by: cjin <jinchen@espressif.com >
2026-02-09 20:13:17 +08:00
Sudeep Mohanty
4f981ea920
fix(lp_adc): Update ADC threshold values for LP core LP ADC test
2026-02-09 12:37:58 +01:00
Sudeep Mohanty
aa4fba8818
change(lp_adc): Cleanup LP ADC driver and example
2026-02-09 12:37:57 +01:00
Sudeep Mohanty
cf302a2f3b
feat(lp_adc): Set LP ADC calibration params
...
This commit sets the calibration parameters for a a given LP ADC unit
and channel to improve the raw LP ADC reading when read from the LP
core. The calibration params are set from the HP core.
2026-02-09 12:37:57 +01:00
Luo Xu
8d6fa93c59
feat(ble_mesh): ignored the previous server status to avoid drop target by mistake
...
(cherry picked from commit bc2d56b72a )
Co-authored-by: luoxu <luoxu@espressif.com >
2026-02-09 17:43:26 +08:00
Luo Xu
0b13df2eee
feat(ble_mesh): refuse to suspend dfu client when the last chunk sent
...
(cherry picked from commit e039b33bb1 )
Co-authored-by: luoxu <luoxu@espressif.com >
2026-02-09 17:43:25 +08:00
Luo Xu
23001a291e
fix(ble_mesh): added internal buffer to store dfu targets
...
The protocol may still receive DFU-related packets from the
network (such as forwarded or retransmitted ones) after DFU ends,
while the user might release the targets immediately after DFU completion.
However, since the list head is not empty, the protocol could access
already-freed memory when iterating through the targets.
(cherry picked from commit 8c8b43f564 )
Co-authored-by: luoxu <luoxu@espressif.com >
2026-02-09 17:43:25 +08:00