Commit Graph
54374 Commits
Author SHA1 Message Date
Wu Zheng Hui 61b2022e72 Merge branch 'fix/fix_deepsleep_deadlock_if_threadsafe_claim_is_not_enabled' into 'master'
fix(esp_hw_support): fix deepsleep deadlock if threadsafe claim is not enabled

Closes PM-820

See merge request espressif/esp-idf!51016
2026-07-24 20:18:14 +08:00
Wu Zheng Hui aac7f7ea47 Merge branch 'feat/support_esp32s31_clock_tree_management' into 'master'
feat: support esp32s31 clock tree management

Closes PM-630

See merge request espressif/esp-idf!48934
2026-07-24 20:11:45 +08:00
Chen Ji Chang 652aa320c1 Merge branch 'feat/support_link_switch_for_parlio_tx' into 'master'
feat(parlio_tx): apply the gdma link switch event to parlio_tx

Closes IDF-15783

See merge request espressif/esp-idf!49705
2026-07-24 19:48:16 +08:00
Aditya Patwardhan ac220f7497 fix(regi2c): skip regi2c operations when running on FPGA
regi2c (the analog i2c master) is not implemented on FPGA: the
REGI2C_RTC_BUSY poll in the regi2c helpers never completes, so the
2nd-stage bootloader hangs until the WDT resets the chip (observed on
the ESP32-S31 FPGA, bitstream v5.0.0-most-ip).

Stub out the regi2c_impl_* macros in hal/regi2c_impl.h when
HAL_CONFIG(ENV_FPGA) is set, so every regi2c call site is skipped on
FPGA for all current and future targets.
2026-07-24 16:52:05 +05:30
Astha Verma b360477e77 fix(nimble): Restore throughput after switching from LE Coded PHY 2026-07-24 16:36:44 +05:30
Rahul Tank 256a6adf71 Merge branch 'bugfix/fix_ai_example_review' into 'master'
fix(nimble): Fix nimble examples review issues

See merge request espressif/esp-idf!50752
2026-07-24 16:12:49 +05:30
Rahul Tank 46f3837611 fix(nimble): Fix issues found in review for nimble examples 2026-07-24 15:19:38 +05:30
Akshat Agrawal c268031acd fix(nan): Fix bug bounty reported and discovered vulnerabilities in NAN Rx 2026-07-24 15:11:58 +05:30
luoxu 56f78da32c feat(ble_mesh): supported get lib version 2026-07-24 17:10:22 +08:00
Wang Meng Yang 0185451ed1 Merge branch 'fix/bluedroid_aireview' into 'master'
Fix/bluedroid aireview

See merge request espressif/esp-idf!49972
2026-07-24 16:58:20 +08:00
Rahul Tank d78d57c394 Merge branch 'bugfix/red_rem_feat_evt' into 'master'
Handle Read Remote Supported Feature failure

See merge request espressif/esp-idf!50243
2026-07-24 14:24:18 +05:30
morris 2a9d1ee20e refactor(uhci): rename set_eof_mode to enable_eof_modes with bool en param
Rename uhci_ll_rx_set_eof_mode → uhci_ll_rx_enable_eof_modes and its
parameter eof_mode → eof_modes to reflect that multiple EOF modes can
be enabled simultaneously via bitmask. Add bool en parameter so callers
can enable or disable without an outer if-check.
2026-07-24 16:21:09 +08:00
morris f7c46393b2 refactor(lcd): rename delay_ticks to delay_mode to match register semantics
The LCD delay registers configure a delay mode (0=no delay, 1=delay on
rising edge, 2=delay on falling edge), not a tick count. Rename the LL
layer functions and parameters to reflect this, and add
lcd_ll_set_data_delay_mode for esp32s31 and esp32p4.
2026-07-24 16:21:09 +08:00
C.S.M b6333dfd49 Merge branch 'test/flash_cve_issue' into 'master'
fix(spi_flash): Fix spi_flash leaks release aes-xts in error path

Closes SEC-249

See merge request espressif/esp-idf!51108
2026-07-24 12:57:04 +08:00
Shu Chen d556c729ef Merge branch 'feat/update_phylib_on_s31_c6_for_track' into 'master'
feat(phy): update phy lib for esp32s31 & esp32c6 for track

See merge request espressif/esp-idf!50774
2026-07-24 04:52:35 +00:00
morris 5dc8b98dea Merge branch 'fix/set_errno_if_usj_not_connect_in_vfs' into 'master'
fix(esp_driver_usb): set errno if usj not connect in vfs read/write

Closes IDF-14303

See merge request espressif/esp-idf!51113
2026-07-24 11:45:44 +08:00
wuzhenghui 4336d78592 fix(esp_driver_tsens): bind lp_periph domain sleep pd with tsens power 2026-07-24 11:30:35 +08:00
Mahavir Jain 08948ee390 Merge branch 'fix/esp_tee_stk_ptr_bug' into 'master'
fix(esp_tee): Validate the stack pointer at the privilege switch boundary

Closes IDF-15974, IDF-15977, and IDF-15994

See merge request espressif/esp-idf!50647
2026-07-23 19:44:47 +05:30
wuzhenghui 7fd91c00dd fix(esp_driver_usb): set errno if usj not connect in vfs read/write 2026-07-23 21:47:16 +08:00
Jiang Jiang Jian 102122904a Merge branch 'bugfix/fix_assignment_error_in_esptouch_v2' into 'master'
fix(wifi): fixed the assignment error in esptouch v2

See merge request espressif/esp-idf!51094
2026-07-23 21:06:47 +08:00
C.S.M 305c5869ee fix(spi_flash): Fix spi_flash leaks release aes-xts in error path 2026-07-23 19:28:13 +08:00
morris ee2cfdb3f3 Merge branch 'feature/isp-flash-dma-input' into 'master'
feat(isp): add aligned flash DMA input example

See merge request espressif/esp-idf!50959
2026-07-23 19:13:55 +08:00
Chen Ji Chang 5abb8ab351 Merge branch 'test/enable_c61_h4_flash_enc_test' into 'master'
test(flash_enc): enable c61 and h4 flash_enc test

Closes IDF-15964

See merge request espressif/esp-idf!50872
2026-07-23 16:51:51 +08:00
Meet Patel cd876edf5c Merge branch 'test/idf-additions-withcaps' into 'master'
test(freertos): strengthen IDF additions WithCaps coverage

See merge request espressif/esp-idf!50804
2026-07-23 13:48:18 +05:30
hejiaxin 54cd579d3b fix(bt_stack): Fix some critical bugs in classic_bt stack
related: obex, smp, pbap, sdp, rfcomm, stack_dm

- Deinit function doesn't delete connection when OBEX_DYNAMIC_MEMORY is on
- Union tGOEPC_DATA sometimes is free by osi_free in some cases when it contains mtu_id
- Add correct free and return solution after fail
- Fix symbol mistake in mod calculation
- Fix pointer-related UAF problems and memory free problems
- Fix buffer overflows and out-of-bounds access
- Fix infinite loops triggered by integer overflow wraparound
- Fix double free
- Change layer_specific usage to avoid heap overflow
- Add some NULL check for pointers
- Fix sdp_db free function
- Fix state table mismatch
2026-07-23 15:46:38 +08:00
Erhan Kurubas d1609d3cb1 Merge branch 'add_trace_doc_section' into 'master'
docs(esp_trace): restructure tracing docs with esp_trace as master

Closes DOC-13669

See merge request espressif/esp-idf!50215
2026-07-23 09:31:57 +02:00
Zhang Shuxian 35deba1bd7 docs: Update CN translation for tracing 2026-07-23 09:34:16 +03:00
Konstantin Kondrashov 1ad9da3241 Merge branch 'contrib/github_pr_18825' into 'master'
fix(log): fix out-of-bounds reads in binary log mode's output_pointer() (GitHub PR)

Closes IDFGH-17956

See merge request espressif/esp-idf!50869
2026-07-23 09:21:23 +03:00
Laukik Hase b77016e350 fix(esp_tee): Validate REE-supplied memory bounds (esp_tee_app_config) before use 2026-07-23 11:29:57 +05:30
Laukik Hase acb7d996b0 fix(esp_tee): Validate the stack pointer at the privilege switch boundary 2026-07-23 11:29:55 +05:30
Erhan Kurubas 6c6490d54c docs(esp_trace): restructure tracing docs with esp_trace as master
Reorganize the tracing documentation so esp_trace is the master
component, with app_trace, SystemView, and Gcov referenced from it.
2026-07-23 08:58:30 +03:00
Chen Chen 65f0b76eb0 Merge branch 'ci/i2s_enable_flash_enc_test' into 'master'
ci(i2s): test I2S driver on encrypted runner

Closes IDF-15062

See merge request espressif/esp-idf!49232
2026-07-23 12:01:18 +08:00
Island 9211373354 Merge branch 'idf/ble_audio_pts' into 'master'
feat(ble_audio): Miscellaneous update for verifying with PTS cases

See merge request espressif/esp-idf!50156
2026-07-23 11:14:35 +08:00
hejiaxin 1553b0ce67 fix(bt): Fix some bug in stm_sco.c
- Memory safety
- State machine & logic integrity
- Resource leaks
- Edge cases check
2026-07-23 10:56:32 +08:00
Wang Meng Yang a151bc553a Merge branch 'bugfix/low_spp_throughput' into 'master'
change(bt/bluedroid): increased port low watermark of RFCOMM

Closes BTQABR2023-815

See merge request espressif/esp-idf!51031
2026-07-23 10:50:57 +08:00
Wang Meng Yang e61ef3e4a4 Merge branch 'change/refactor_hidh_datapath' into 'master'
Change/refactor hidh datapath

Closes IDFGH-17363

See merge request espressif/esp-idf!49615
2026-07-23 10:47:19 +08:00
zhangyanjiao 6a4fb7e546 fix(wifi): fixed the assignment error in esptouch v2 2026-07-23 10:45:24 +08:00
morris d9a0829c27 Merge branch 'fix/riscv_trace_rcc_atomic' into 'master'
fix(riscv_trace): protect shared RCC register access with PERIPH_RCC_ATOMIC

See merge request espressif/esp-idf!51072
2026-07-23 10:29:54 +08:00
Wang Meng Yang 1860ef6b7f Merge branch 'bugfix/bredr_acl_uflow_deadlock' into 'master'
fix(bt): Fixed blocking during LMP packet_type negotiation on ESP32-S31

Closes IDFGH-17903

See merge request espressif/esp-idf!51067
2026-07-23 10:08:03 +08:00
Mahavir Jain 14b8e87188 Merge branch 'fix/disable-key-mgr' into 'master'
Disable Key Manager support

See merge request espressif/esp-idf!50311
2026-07-22 20:48:35 +05:30
harshal.patil a7b29bfda9 change(security): disable Key Manager support on ESP32-C5/P4/S31
The Key Manager hardware peripheral in its current form needs further
design changes before it can be offered as a production feature.
Until a revised peripheral design is available, withdraw ESP-IDF
support for it on all Key Manager capable targets.
2026-07-22 19:58:23 +05:30
Liu Linyan 4362a3116f feat(ble_audio): Miscellaneous update for verifying with PTS cases 2026-07-22 20:38:57 +08:00
Peter Marcisovsky 811289c6ba Merge branch 'fix/usb_device_light_sleep_example' into 'master'
fix(usb_device_example): Remove non-existing tinyusb reset weak callback

See merge request espressif/esp-idf!49896
2026-07-22 13:48:38 +02:00
peter.marcisovsky 8a9a79468e fix(usb_device_example): Remove non-existing tinyusb reset weak callback 2026-07-22 19:41:02 +08:00
Mahavir Jain c566ace1f6 fix(esp_system): fixes build failure with XIP PSRAM + BSS/NoInit in external memory
Declare ext_ram_xip_seg as a distinct region overlapping drom_seg at the
same origin (the esp32s3/c5/c61/h4 pattern) instead of aliasing drom_seg,
so .ext_ram.dummy has its own location counter and .ext_ram.bss reclaims
the VMA space of NOLOAD rodata (.rodata_wlog_*), saving up to one MMU
page of PSRAM on esp32s31. No layout change on esp32p4.

Closes https://github.com/espressif/esp-idf/issues/18791
Related https://github.com/espressif/esp-idf/issues/14992
2026-07-22 16:39:25 +05:30
morris 49fba58f08 fix(riscv_trace): protect shared RCC register access with PERIPH_RCC_ATOMIC
riscv_trace_ll_enable_bus_clock and riscv_trace_ll_reset_register operate
on shared HP_SYS_CLKRST registers and were called concurrently from both
cores during SECONDARY init, creating RMW race conditions.

Move the clock/reset logic out of the HAL layer into
esp_riscv_trace_early_init, protected by PERIPH_RCC_ATOMIC() spinlock.
Wrap the LL functions with macros that enforce the caller must be inside
a PERIPH_RCC_ATOMIC() critical section at compile time.
2026-07-22 19:02:58 +08:00
Chen Ji Chang 1421a250a2 Merge branch 'doces/add_pcnt_pull_migreation_guide' into 'master'
docs(pcnt): add gpio pull mode migration guide

Closes IDFGH-18004

See merge request espressif/esp-idf!51009
2026-07-22 19:01:23 +08:00
Konstantin Kondrashov 217fc2b7e5 Merge branch 'fix/esp_timer_task_dispatch_wedge' into 'master'
fix(esp_timer): Fix esp_timer task dispatch stall

Closes IDFGH-17935

See merge request espressif/esp-idf!50788
2026-07-22 13:47:58 +03:00
Wang Mengyang 53b357790b fix(bt): Fixed blocking during LMP packet type negotiation on ESP32-S31
In the Bluetooth connections with some smartphones, communication can possibly be blocked
during packet type negotation, when ESP32-S31 attempts to finalize the ACL-U transmission
and waits for the last Tx ACL-U packet to be transmitted, but peer device rejects the
packet with FLOW=STOP in its packet, thus causing a deadlock.

Closes https://github.com/espressif/esp-idf/issues/18797
2026-07-22 16:41:08 +08:00
Roland Dobai 480d5f2559 Merge branch 'chore/remove_old_root_managed_components_tests' into 'master'
chore: Remove old root managed components tests

See merge request espressif/esp-idf!51047
2026-07-22 10:36:58 +02:00