Commit Graph

37309 Commits

Author SHA1 Message Date
Jiang Jiang Jian
7661fce5f2 Merge branch 'fix/set_errno_if_usj_not_connect_in_vfs_v6.1' into 'release/v6.1'
fix(esp_driver_usb): set errno if usj not connect in vfs read/write (v6.1)

See merge request espressif/esp-idf!51198
2026-07-31 19:33:56 +08:00
Jiang Jiang Jian
14784e6054 Merge branch 'fix/fix_esp32s31_secureboot_fastwake_v6.1' into 'release/v6.1'
fix(esp_system): support rom secure boot fast wake feature for esp32s31 (v6.1)

See merge request espressif/esp-idf!51266
2026-07-31 18:00:06 +08:00
Wang Mengyang
481b244fe8 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

This MR also provide with some optimizations and fixes
2026-07-31 14:06:02 +08:00
Jiang Jiang Jian
41e3a0ef34 Merge branch 'feat/update_phylib_on_s31_c6_for_track_v6.1' into 'release/v6.1'
feat(phy): update phy lib for esp32s31 & esp32c6 for track (v6.1)

See merge request espressif/esp-idf!50790
2026-07-31 11:59:15 +08:00
Jiang Jiang Jian
d7e4df3493 Merge branch 'fix/regdma_work_timeout_v6.1' into 'release/v6.1'
Workaround: add a write node to avoid the APB access timeout during REGDMA operations backport  v6.1

See merge request espressif/esp-idf!51383
2026-07-31 11:33:23 +08:00
Jiang Jiang Jian
fdf5ee1e93 Merge branch 'feat/optimize_for_esp32h4_light_sleep_ble_current_v6.1_new_chip_only' into 'release/v6.1'
Feat/optimize for esp32h4 light sleep ble current v6.1 new chip only

See merge request espressif/esp-idf!51302
2026-07-31 11:32:41 +08:00
harshal.patil
db7147f15a refactor(esp_system): deduplicate ROM fast wake RTC digest reservation
The digest length and the condition that reserves it at the end of RTC RAM were
duplicated in seven places. Hold the reservation in a hidden Kconfig value that
is zero when the feature does not apply, so every consumer subtracts it
unconditionally, and derive ESP_SECURE_BOOT_DIGEST_LEN from it.
2026-07-31 10:52:52 +08:00
morris
9263a089c2 Merge branch 'ci/fix_the_parlio_rx_spi_test_case_v6.1' into 'release/v6.1'
ci(parlio_rx): fixed the parlio rx spi test case (v6.1)

See merge request espressif/esp-idf!51116
2026-07-31 10:17:42 +08:00
morris
d5ea68d6e3 Merge branch 'change/remove_lcd_restart_for_p4_s31_v6.1' into 'release/v6.1'
remove(lcd): remove restart support for p4 and s31 (v6.1)

See merge request espressif/esp-idf!51351
2026-07-31 10:12:49 +08:00
morris
be34aba0cb Merge branch 'feature/add_mcpwm_rc_fast_clk_source_v6.1' into 'release/v6.1'
feat(mcpwm): support RC_FAST group clock source (backport v6.1)

See merge request espressif/esp-idf!51322
2026-07-31 10:05:25 +08:00
muhaidong
f5cc6235fd fix(phy): removed all librfate logic from cmake 2026-07-30 20:12:22 +08:00
zhuanghang
02c1878f58 feat(phy): update phy lib for esp32s31 & esp32c6 for track 2026-07-30 20:12:22 +08:00
sibeibei
0627c301f4 fix(esp_hw_support): use symbolic reg and document modem syscon workaround 2026-07-30 19:46:30 +08:00
sibeibei
c15ce5ae4a fix(esp_hw_support): use N_REGS_SYSCON() for modem syscon retention count 2026-07-30 19:46:30 +08:00
sibeibei
7144df0c3c feat(wifi): sel pll clk when sleep to modem 2026-07-30 19:46:30 +08:00
sibeibei
c86e76dffe Revert "feat(wifi): enable pll clk in modem state"
This reverts commit e238c5bdc6.
2026-07-30 19:46:30 +08:00
Jiang Jiang Jian
24718710ad Merge branch 'ci/enable_s31_ulp_multi_dev_v6.1' into 'release/v6.1'
ci(ulp): re-enable multi dev tests for S31 ULP (v6.1)

See merge request espressif/esp-idf!51143
2026-07-30 17:56:34 +08:00
Steven Yang
b597024afc feat(mcpwm): support RC_FAST group clock source
Expose RC_FAST as a shared MCPWM group clock source for timers,
capture timers, and carriers on ESP32-C5, ESP32-C6, ESP32-H2,
and ESP32-P4. Fix the ESP32-S31 MCPWM clock selector mapping.

Add a hardware runtime test that verifies MCPWM Timer counting
resolution for every supported clock source.

(cherry picked from commit 8a982614a2)
2026-07-30 16:38:14 +08:00
Chen Jichang
6a13d7cbe4 test(dma): add psram ecc test for supported targets 2026-07-30 16:38:00 +08:00
Chen Jichang
b97f4c9092 remove(lcd): remove restart support for p4 and s31 2026-07-30 16:38:00 +08:00
morris
b6a182a0d9 Merge branch 'fix/uhci_rx_size_check_v6.1' into 'release/v6.1'
fix(uhci): rx fsm race condition and buffer size check (v6.1)

See merge request espressif/esp-idf!51228
2026-07-30 11:43:13 +08:00
Chen Jichang
2dd14289c3 ci(parlio_rx): fixed the parlio rx spi test case 2026-07-30 11:35:35 +08:00
morris
6c0c836148 Merge branch 'feat/i2s_tx_sync_esp31s31_v6.1' into 'release/v6.1'
feat(i2s): support TX FIFO sync (v6.1)

See merge request espressif/esp-idf!50338
2026-07-30 10:20:49 +08:00
morris
f760f4fd21 Merge branch 'bugfix/dma2d_dequeue_mechanism_v6.1' into 'release/v6.1'
fix(dma2d): add a dequeue mechanism for dma2d driver (v6.1)

See merge request espressif/esp-idf!50512
2026-07-30 10:19:09 +08:00
morris
d73a6ca57c Merge branch 'fix/mcpwm_clk_init_fail_v6.1' into 'release/v6.1'
fix(mcpwm): fix mcpwm clock init failure (v6.1)

See merge request espressif/esp-idf!51222
2026-07-30 10:13:47 +08:00
cjin
bfb9a07dbb feat(ble): supported placing bt function in iram on esp32-h4 and esp32-s31 2026-07-30 08:17:26 +08:00
cjin
01f29a9356 feat(modem_clock): separete btmac module to btmac and bt peripheral 2026-07-30 08:17:26 +08:00
cjin
b17d81882c feat(modem_clock): separate bt sec apb clock and add to bt apb module 2026-07-30 08:17:26 +08:00
cjin
466097d370 feat(modem_clock): added bt_apb module and separete bt_apb from bt_mac module 2026-07-30 08:17:20 +08:00
Hu Rui
c3a62f97b3 fix(uhci): rx fsm race condition and buffer size check
Closes https://github.com/espressif/esp-idf/issues/18819
Closes https://github.com/espressif/esp-idf/issues/18820
2026-07-29 19:31:30 +08:00
morris
a74daf64c8 Merge branch 'feat/i2s_duplex_update_v6.1' into 'release/v6.1'
feat(i2s): allow full duplex mode in less strict condition (v6.1)

See merge request espressif/esp-idf!50865
2026-07-29 19:12:34 +08:00
morris
c57c5d0f3e Merge branch 'fix/legacy_twai_rx_non_iso_dlc_oob_v6.1' into 'release/v6.1'
fix(driver_twai): fixed legacy twai OOB issue when rx dlc larger than 8 (v6.1)

See merge request espressif/esp-idf!50749
2026-07-29 19:08:02 +08:00
morris
330a93fc47 Merge branch 'feat/uhci_send_multi_buffer_v6.1' into 'release/v6.1'
feat(uhci): support transmit multi buffer (v6.1)

See merge request espressif/esp-idf!50776
2026-07-29 19:04:49 +08:00
morris
5a48938355 Merge branch 'fix/fix_i2s_i80_color_size_check_v6.1' into 'release/v6.1'
fix(lcd): add color size check for i80 and boundary check for rgb (v6.1)

See merge request espressif/esp-idf!50961
2026-07-29 19:02:09 +08:00
morris
0d4aa7c27b Merge branch 'backport/spi_flash_fixes_v6.1' into 'release/v6.1'
fix(spi_flash): backport aes-xts error-path & mxic fixes (v6.1)

See merge request espressif/esp-idf!51134
2026-07-29 19:00:02 +08:00
morris
135f8052f3 Merge branch 'bugfix/ppa_buffer_oob_v6.1' into 'release/v6.1'
fix(ppa): add checks for input to avoid any OOB access (v6.1)

See merge request espressif/esp-idf!51132
2026-07-29 18:58:57 +08:00
morris
f955f05a43 Merge branch 'bugfix/uart_sw_flow_ctrl_xoff_char_v6.1' into 'release/v6.1'
fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6 (v6.1)

See merge request espressif/esp-idf!50523
2026-07-29 18:57:00 +08:00
morris
967f047b62 Merge branch 'test/peripheral_drivers_on_real_encryption_runner_v6.1' into 'release/v6.1'
test(drivers): run flash encryption apps on real hardware (v6.1)

See merge request espressif/esp-idf!50675
2026-07-29 18:52:19 +08:00
morris
8f2ac25de4 Merge branch 'bugfix/ana_cmpr_macro_v6.1' into 'release/v6.1'
fix(ana_cmpr): Fix swapped POS/NEG cross interrupt masks on ESP32-C5/P4 (v6.1)

See merge request espressif/esp-idf!50798
2026-07-29 18:51:15 +08:00
wuzhenghui
708f34bd16 fix(esp_system): support rom secure boot fast wake feature for esp32s31 2026-07-28 21:46:24 +08:00
Chen Chen
5a3f6eccc5 feat(mcpwm): fix mcpwm clock init failure
Closes https://github.com/espressif/esp-idf/issues/18666
Closes https://github.com/espressif/esp-idf/issues/18777
2026-07-27 18:04:19 +08:00
wuzhenghui
af1b5948be fix(esp_driver_usb): set errno if usj not connect in vfs read/write 2026-07-27 15:29:32 +08:00
Marius Vikhammer
a5dfeca61d ci(ulp): re-enable multi dev tests for S31 ULP 2026-07-24 09:44:58 +02:00
C.S.M
77f4f596aa fix(spi_flash): Fix spi_flash leaks release aes-xts in error path
(cherry picked from commit 305c5869ee)
2026-07-24 14:52:14 +08:00
Shengyu Qu
8b5d316112 fix(spi_flash): add #if check for s_mxic_set_required_regs()
Currently, s_mxic_set_required_regs() lacks checking for
CONFIG_SPI_FLASH_SUPPORT_MXIC_OPI_CHIP. And this causes a defined but not
used warning when MXIC flash driver is disabled in project config. So add
a #if check for this to supress warning.

Signed-off-by: Shengyu Qu <wiagn@4d2.org>
(cherry picked from commit 062c948c18)
2026-07-24 14:52:14 +08:00
Song Ruo Jing
34419ab57d fix(ppa): add checks for input to avoid any OOB access 2026-07-24 14:40:40 +08:00
Zhou Xiao
a3e5f62bd4 fix(bt): keep BLE log ISR state in internal RAM
(cherry picked from commit 2fa434eb50)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-21 19:44:26 +08:00
Chen Jichang
f881e73795 fix(lcd): add color size check for i80 and boundary check for rgb 2026-07-20 16:15:54 +08:00
Jiang Jiang Jian
cadfa9c096 Merge branch 'bugfix/rmac_scan_v6.1' into 'release/v6.1'
fix(esp_wifi): fix issues for scan, and NULL packets tx for random mac

See merge request espressif/esp-idf!50928
2026-07-18 22:12:00 +08:00
Jiang Jiang Jian
c8e90095fc Merge branch 'bugfix/supplicant_crypto_code_correction_v6.1' into 'release/v6.1'
fix(wpa_supplicant): Correct some functions in crypto porting layer (v6.1)

See merge request espressif/esp-idf!50873
2026-07-18 21:04:55 +08:00