Commit Graph

31799 Commits

Author SHA1 Message Date
Rahul Tank
11a5032184 fix(nimble): Avoid NULL proc dereference in GATT client procedures 2026-09-09 10:27:24 +05:30
Rahul Tank
a211efe6f2 fix(nimble): fix crash on disconnect due to stale per-connection CCCD pool 2026-09-08 17:37:08 +05:30
Rahul Tank
3f17d0b73d Merge branch 'bugfix/fixed_ble_deinit_crash_issue_5.4' into 'release/v5.4'
fix(bt): fixed mempool deinit crash issue

See merge request espressif/esp-idf!52140
2026-09-08 17:23:20 +05:30
morris
51714344a4 Merge branch 'bugfix/uart_extra_current_consumption_in_sleep_v5.4' into 'release/v5.4'
fix(uart): reduce current consumption in sleep mode (v5.4)

See merge request espressif/esp-idf!52349
2026-09-08 15:08:01 +08:00
morris
d29f165015 Merge branch 'feat/add_timeout_return_for_dsi_panel_v5.4' into 'release/v5.4'
feat(dsi): add timeout check for lp cmd rx (v5.4)

See merge request espressif/esp-idf!52315
2026-09-08 14:46:07 +08:00
ShenWeilong
e5acf5d5d7 fix(bt): fixed mempool deinit crash issue 2026-09-08 13:05:28 +08:00
Jin Cheng
de599da80d fix(bt/controller): update ESP32 libbtdm_app.a to fix missing QoS_Setup_Cmpl event 2026-09-07 12:23:16 +08:00
Jiang Jiang Jian
f63cfa51bf Merge branch 'contrib/github_pr_19038_v5.4' into 'release/v5.4'
fix(esp_lcd): yield from SPI ISR when color trans done callback wakes a task (GitHub PR) (v5.4)

See merge request espressif/esp-idf!52456
2026-09-07 11:29:50 +08:00
Jiang Jiang Jian
e99753622a Merge branch 'debug/idf-15875-fix_v5.4' into 'release/v5.4'
fix(psram): suspend external cache during CPU freq switch on esp32p4 (v5.4)

See merge request espressif/esp-idf!52036
2026-09-07 11:29:36 +08:00
Jiang Jiang Jian
9b4eb22857 Merge branch 'fix/mmap_cache_flash_wr_v5.4' into 'release/v5.4'
fix(mmap): Fixed rodata phys2cache mapping under XIP mode (v5.4)

See merge request espressif/esp-idf!50138
2026-09-07 11:29:17 +08:00
Jiang Jiang Jian
87bdb4fca9 Merge branch 'fix/esp32s2_aes_dma_psram_partial_block_hang_v5.4' into 'release/v5.4'
Avoid ESP32-S2 Crypto DMA stall on PSRAM output with partial blocks (v5.4)

See merge request espressif/esp-idf!52404
2026-09-07 10:45:18 +08:00
Wang Meng Yang
3e775da476 Merge branch 'bugfix/qos_div_zero_v5.4' into 'release/v5.4'
fix(bt): update ESP32 libbtdm_app.a to fix several issues (v5.4)

See merge request espressif/esp-idf!52055
2026-09-06 12:08:55 +08:00
Wang Meng Yang
ef79f8e26d Merge branch 'bugfix/delete_unused_avrcp_rcb_v5.4' into 'release/v5.4'
fix(bt/bluedroid): delete the unused AVRCP acceptor RCB when A2DP open fails (v5.4)

See merge request espressif/esp-idf!52415
2026-09-06 12:08:32 +08:00
Alexey Gerenkov
62c1a66eba Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20260831_v5.4' into 'release/v5.4'
feat(tools): update openocd version to v0.12.0-esp32-20260831 (v5.4)

See merge request espressif/esp-idf!52394
2026-09-04 20:23:42 +08:00
YoungsunLi
0624c4b4db fix(esp_lcd): yield from SPI ISR when color trans done callback wakes a task
The return value of on_color_trans_done ("whether a high priority task
has been waken up by this function", see esp_lcd_types.h) was discarded
by the SPI backend. A task unblocked from inside the callback (e.g. via
xSemaphoreGiveFromISR) therefore did not get scheduled until the next
FreeRTOS tick, adding up to 10 ms of latency per color transfer with the
default CONFIG_FREERTOS_HZ=100. The i80 backend already honors the
contract (need_yield -> portYIELD_FROM_ISR); do the same here.
2026-09-04 17:50:32 +08:00
morris
80b1f8b428 Merge branch 'feat/soc_usb_fsls_phy_num_backport_v5.4' into 'release/v5.4'
feat(soc): add SOC_USB_FSLS_PHY_NUM for USB-OTG targets (backport v5.4)

See merge request espressif/esp-idf!47944
2026-09-04 14:12:38 +08:00
Shu Chen
11de5b25ee Merge branch 'fix/fix_openthread_netif_glue_deinit_issue_v5.4' into 'release/v5.4'
fix(openthread): fix stack deinit by reversing netif glue teardown and hardening workflow cleanup (v5.4)

See merge request espressif/esp-idf!52400
2026-09-04 02:44:15 +00:00
Matteo Sandrin
440c2fa393 fix(bt/bluedroid): delete the unused AVRCP acceptor RCB when A2DP open fails 2026-09-04 10:08:12 +08:00
Shu Chen
10343c8db9 Merge branch 'feat/support_multipan_feature_host_20260813_v5.4' into 'release/v5.4'
feat(openthread): add support for the multipan feature on host devices (v5.4)

See merge request espressif/esp-idf!52378
2026-09-04 02:06:58 +00:00
igor.masar
ee4f1deb85 feat(soc): add SOC_USB_FSLS_PHY_NUM for USB-OTG targets
Introduce SOC_USB_FSLS_PHY_NUM on ESP32-S2, ESP32-S3 and ESP32-P4 to
expose the number of FSLS USB_WRAP PHYs available on each target. This
separates FSLS USB_WRAP support from OTG/UTMI support so that downstream
code can gate FSLS PHY handling independently.
2026-09-04 09:38:35 +08:00
Wang Meng Yang
52540e376d Merge branch 'fix/aireview_obex_v5.4' into 'release/v5.4'
fix(bt_obex): fix some bugs in bluedroid obex (v5.4)

See merge request espressif/esp-idf!52305
2026-09-04 07:54:20 +08:00
harshal.patil
990cc666a6 test(mbedtls): add partial-block PSRAM coverage for AES
Extend the CTR test data length to 6433 bytes so the trailing partial
block is exercised with external RAM buffers (which stalls the ESP32-S2
Crypto DMA on an unfixed driver).
2026-09-03 19:31:22 +05:30
harshal.patil
b3f80a1614 fix(mbedtls/aes): fix ESP32-S2 Crypto DMA stall on PSRAM output with partial blocks
The ESP32-S2 Crypto DMA in-channel stalls silently when a receive
descriptor list transitions from external to internal RAM. The AES
driver hits this when a PSRAM-output operation has a trailing partial
block, as the internal stream descriptor is linked after the external
RAM data descriptors.

- esp_aes_process_dma(): process the block-aligned part and the partial
  block as two separate DMA operations, keeping each descriptor list
  uniform
- crypto_dma_ll_reset(): also reset the in-channel (per the TRM receive
  reset sequence), otherwise stale state from a preceding external-RAM
  operation corrupts the next operation's output

The GCM DMA path is unaffected; it never operates on PSRAM buffers.
2026-09-03 19:28:56 +05:30
Xu Si Yu
f62a168307 fix(openthread): fix stack deinit by reversing netif glue teardown and hardening workflow cleanup 2026-09-03 20:04:11 +08:00
Jin Cheng
aaeb144583 fix(bt): update ESP32 libbtdm_app.a to fix several issues
- fixed IntegerDividedByZero during Qos negotiation.
  Closes https://github.com/espressif/esp-idf/issues/18951
- ignored the check for bandwidth and retransmission effort when Host
  accepts the SCO connection request.
2026-09-03 19:43:26 +08:00
Erhan Kurubas
29b7fb858f change(system): increase OCD stub memory reservation from 8K to 12K 2026-09-03 13:12:49 +02:00
Xu Si Yu
0400dc279a feat(openthread): support multipan feature for host device 2026-09-03 17:49:20 +08:00
Song Ruo Jing
d17948c05d fix(uart): reduce current consumption in sleep mode 2026-09-03 14:47:37 +08:00
liqigan
ed836fa70b change(bt/bluedroid): Used dynamic osi event to reduce lock cost 2026-09-02 19:18:45 +08:00
Chen Jichang
b71727e085 fix(dsi): add missing analog circuity config for SI issue 2026-09-02 16:27:02 +08:00
Chen Jichang
8683725b99 feat(dsi): add timeout check for lp cmd rx 2026-09-02 16:27:02 +08:00
hejiaxin
395f5d9404 fix(bt_obex): fix some bugs in bluedroid obex
- fix goepc wait state switch
- fix psm unbind's mismatch
- fix some resources leak
- fix goep connection's incorrect ternimation when congesting
- Add some NULL ptr check
2026-09-02 14:30:43 +08:00
Wang Meng Yang
37a2600154 Merge branch 'fix/bt_memory_v5.4' into 'release/v5.4'
fix(bt_memory): Reduce memory usage in transfer (v5.4)

See merge request espressif/esp-idf!52278
2026-09-02 14:11:41 +08:00
Michael.B
d2765dfcc3 spi_flash: fix PSRAM rodata phys2cache mapping
Use the full rodata page range when converting flash physical addresses back to cache addresses for XIP PSRAM. RISC-V extram stack coredump tests are temporarily skipped in CI until coredump supports PSRAM task stacks (IDF-15623).
2026-09-02 02:40:20 +08:00
Xiao Xufeng
41b0ce7bff bootloader_utils: fixed missing unmap in load_partition_table when table verify failed 2026-09-02 02:40:20 +08:00
morris
7080d6ce36 Merge branch 'fix/dualcore_branch_predictor_cache_race_v5.4' into 'release/v5.4'
fix(spi_flash): disable branch prediction on the parked core during flash ops (v5.4)

See merge request espressif/esp-idf!52199
2026-09-01 18:22:06 +08:00
hejiaxin
49bac9fbbf fix(bt_avrcp): size some AVRC command buffers 2026-09-01 11:24:18 +08:00
hejiaxin
8ac6aa8aa0 fix(bt_l2cap): size L2CAP ERTM S-frame & RX SDU buffer 2026-09-01 11:24:18 +08:00
hejiaxin
b08f145416 fix(bt_sdp): size SDP TX buffers 2026-09-01 11:24:18 +08:00
hejiaxin
1995bfcb4d fix(bt_rfcomm): size RFCOMM TX buffers by peer MTU 2026-09-01 11:24:18 +08:00
hejiaxin
5036f97cb8 fix(bt_hid): size HID TX buffers to report length 2026-09-01 11:24:17 +08:00
Marius Vikhammer
87c280843a fix(esp_system): delay after light sleep stress cleanup 2026-09-01 10:39:45 +08:00
Marius Vikhammer
2caee3ad9c fix(esp_system): wait for idle after light sleep stress tasks
Self-deleted worker tasks are only freed once idle runs. A 500us
periodic esp_timer can starve that cleanup and trip Unity's leak check.
2026-09-01 10:32:23 +08:00
Euripedes Rocha Filho
b1d6c723f2 fix(esp_netif): harden NULL and OOM handling in netif APIs
Use a temporary pointer for br_glue port-list realloc so a failure does
not clobber the existing array. Reject NULL mac in esp_netif_set_mac and
validate config->base in esp_netif_new_api before use.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 07:49:09 +02:00
wuzhenghui
a76e14afe7 fix(spi_flash): integrate branch prediction control during cache operations 2026-08-31 10:51:05 +08:00
Ashish Sharma
8201d8c607 fix(spi_flash): disable branch prediction on the parked core during flash ops 2026-08-31 10:50:20 +08:00
Mahavir Jain
3330e2460a Merge branch 'fix/fix_psk_hint_key_null_dereference_v5.4' into 'release/v5.4'
Fix/fix psk hint key null dereference (v5.4)

See merge request espressif/esp-idf!52094
2026-08-30 22:23:58 +05:30
Jiang Jiang Jian
42b44c7d9b Merge branch 'fix/revert_dma_pool_default_caps_v5.4' into 'release/v5.4'
fix(heap): revert dma pool default malloc caps (v5.4)

See merge request espressif/esp-idf!52146
2026-08-28 15:50:01 +08:00
Wang Meng Yang
077bb9ec72 Merge branch 'change/refactor_hidh_datapath_v5.4' into 'release/v5.4'
Change/refactor hidh datapath[backport v5.4]

See merge request espressif/esp-idf!51281
2026-08-28 08:55:03 +08:00
Michael.B
16dac308e4 fix(psram): make IDF-15875 backport build clean on v5.4
Guard external-cache suspend for pure-ram apps where esp_cache_utils is
not linked, move esp32p4-only xip_psram sdkconfig options into a
target-specific file, and add from __future__ import annotations so
pytest collection works on CI Python 3.8.
2026-08-28 02:59:44 +08:00