Commit Graph
54868 Commits
Author SHA1 Message Date
Pranav Sonawane 5d760b7a4a change(mbedtls/crt_bundle): Unify gen_crt_bundle output with esp-pylib
gen_crt_bundle.py now uses the shared esp-pylib library instead of its own
logging and argument parsing, so its messages look the same as the rest of
the ESP-IDF Python tools.
2026-08-19 16:22:57 +05:30
Mahavir Jain 30e851857c Merge branch 'fix/mbedtls_gcm_multipart_and_ecp_pubkey' into 'master'
Fix/mbedTLS port layer security fixes (394, 1214, 1206)

Closes SEC-1214, SEC-394, and SEC-1206

See merge request espressif/esp-idf!51096
2026-08-19 16:21:43 +05:30
Rahul Tank 42e02b7d02 Merge branch 'bugfix/irk_smp_bond_issue' into 'master'
fix(nimble): Fix unpair_oldest_peer deleting wrong device

Closes BCI-603

See merge request espressif/esp-idf!46230
2026-08-19 16:17:25 +05:30
morris 09a65392d4 Merge branch 'feat/support_rgb888_to_rgb565' into 'master'
feat(rgb_lcd): support convert rgb2rgb

Closes IDF-14142

See merge request espressif/esp-idf!49359
2026-08-19 18:13:53 +08:00
Martin VychodilandCursor ac76f19285 fix(fatfs): preserve access mode in VFS F_SETFL
F_SETFL was replacing the whole flags word, so fcntl(fd, F_SETFL, O_APPEND)
made F_GETFL report O_RDONLY|O_APPEND. Keep O_ACCMODE and apply only POSIX
status flags.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:41:24 +02:00
wanckl a9ce9e4abf feat(driver_spi): master driver support DDR(DTR) clock mode 2026-08-19 17:22:45 +08:00
Jiang Jiang Jian f1cbff98e3 Merge branch 'bugfix/dpp_stray_auth_confirm' into 'master'
fix(esp_wifi): Harden dpp Auth confirm and drop mismatched auth confirms

Closes WIFIBUG-2032 and WIFIBUG-2075

See merge request espressif/esp-idf!51554
2026-08-19 17:15:35 +08:00
Mahavir Jain 200cae8317 Merge branch 'feat/ws-control-frame-handler' into 'master'
feat(esp_http_server): separate control frame handler for WS server

Closes IDFGH-17509

See merge request espressif/esp-idf!50616
2026-08-19 14:20:16 +05:30
Chen Chen 79c3ec77d0 fix(spi_flash): keep program and erase paths in IRAM 2026-08-19 16:50:08 +08:00
wuzhenghui 4b34a6b250 feat(bootloader): use CPLL/4 as flash default 80M clock source 2026-08-19 16:16:05 +08:00
Mahavir Jain d1fc1ed6b9 Merge branch 'contrib/github_pr_18922' into 'master'
fix(esp_https_server): restore use_secure_element initializer in HTTPD_SSL_CONFIG_DEFAULT() (GitHub PR)

Closes IDFGH-18077

See merge request espressif/esp-idf!51540
2026-08-19 13:45:15 +05:30
Jiang Jiang Jian 8c301616f8 Merge branch 'fix/fix_esp32p4_missing_pvt_clock' into 'master'
fix(esp_hw_support): fix esp32p4 PVT clock lost

See merge request espressif/esp-idf!51756
2026-08-19 16:12:21 +08:00
wanckl 8889acc3d1 fix(ci): reduce peripheral multi dev test timeout time 2026-08-19 15:30:55 +08:00
Sergei Silnov 76a34b3f85 Merge branch 'feat/consume_root_managed_components_from_component_manager' into 'master'
feat: Consume root-managed components from IDF Component Manager

Closes PACMAN-1262, PACMAN-1266, IDFCI-10131, and IDF-14259

See merge request espressif/esp-idf!48609
2026-08-19 09:30:32 +02:00
Jin Cheng 347b2461ae fix(bt/bluedroid): fixed BTA event dispatch race during module disable
- Gate bta_sys_event() on both 'is_reg' and 'reg[id]' to prevent
  stale event delivery.
- Defer bta_sys_deregister() to the end of profile disable handlers
  to ensure pending DISABLE events are processed.
- Add disabling flag to HFP AG for tracking asynchronous teardown.
2026-08-19 15:04:37 +08:00
harshal.patil 95f1582f4b test(mbedtls): add partial-block PSRAM coverage for AES and AES-GCM
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), and add AES-GCM PSRAM tests verified
against internal RAM references.
2026-08-19 11:27:52 +05:30
harshal.patil 6fe4f4f174 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-08-19 11:27:42 +05:30
Ashish Sharma 5bd8050985 test(esp_http_server): cover WebSocket control-frame handler 2026-08-19 12:45:08 +08:00
Ashish Sharma 0d664083d0 docs(esp_http_server): document the WebSocket control-frame handler 2026-08-19 12:45:08 +08:00
Ashish Sharma cfad6727fe feat(esp_http_server): add dedicated WebSocket control-frame handler
Closes https://github.com/espressif/esp-idf/issues/18448
2026-08-19 12:45:08 +08:00
Ashish Sharma 0a765b93e7 fix(mbedtls): use pointer-width types for dynamic buffer msg offsets 2026-08-19 12:25:12 +08:00
Ashish Sharma 732f7ca983 test(mbedtls): add test for unaligned multipart AES-GCM streaming 2026-08-19 12:25:12 +08:00
Ashish Sharma e6ac065424 fix(mbedtls): preserve AES-GCM stream state across multipart updates 2026-08-19 12:25:12 +08:00
Ashish Sharma 23393e49bd fix(mbedtls): bound public-key coordinate copy in esp ecp_check_pubkey 2026-08-19 12:25:12 +08:00
harshal.patil 01b86f1269 change(esp_hw_support): harden the ESP32-S31 PSRAM region permissions
Both PSRAM layouts were mapped as a single RWX window, so everything in external
RAM - the heap included - was executable.

PSRAM used as data only is now RW, and under XIP-from-PSRAM it is split per
section as ESP32-P4 does: .text RX, .rodata read-only, and the MMU-page
alignment gaps and the reclaimed heap RW, so neither is executable.

Both describe the layout that esp_psram_init() produces, and the entries are
locked, so - again as on ESP32-P4 - they are only narrowed when
CONFIG_SPIRAM_PRE_CONFIGURE_MEMORY_PROTECTION says that layout applies. Without
it the application owns the region and PSRAM stays RWX.

The per-section entries cost one PMP entry more than the 16 available, so the CPU
subsystem and peripheral windows are chained as TOR entries, taking one entry
instead of three.

soc.h is corrected against the S31 bus address map: the peripheral window base
was 1 MB too low, and the LP peripheral top, derived from a register base plus a
size rather than from the map, was 16 KB short. SOC_NON_CACHEABLE_OFFSET_FLASH
is added.
2026-08-19 09:39:52 +05:30
Shen Weilong 91b4fdca8f fix(ble): fixed occasional sched assertion for scan scenario 2026-08-19 12:08:02 +08:00
Rahul Tank 6311559fe6 fix(nimble): Fix unpair_oldest_peer deleting wrong device
Sort bond entries by bond_count after in-place updates to maintain correct
eviction order, and log IRK resolving-list failures instead of failing the bond.
2026-08-18 22:06:27 +05:30
Rahul Tank d9a5f9ee1c Merge branch 'bugfix/fix_2_connect_status' into 'master'
fix(nimble): route PAwR connection failures to sync callback

See merge request espressif/esp-idf!51841
2026-08-18 22:01:58 +05:30
morris 9ec8d9aa8f Merge branch 'refactor/dac_common_lock_and_log' into 'master'
refactor(dac): split spinlock, update logging and memory management

See merge request espressif/esp-idf!51826
2026-08-18 22:11:22 +08:00
Daniel Paul 7e6fc433cc chore: Pin the testing versions of components 2026-08-18 20:51:54 +08:00
Daniel Paul 39de6e1429 fix: Kconfig test - Make assertion whitespace-insensitive 2026-08-18 20:51:54 +08:00
Daniel Paul b764f073ac feat: Consume root-managed components from IDF Component Manager 2026-08-18 20:51:54 +08:00
Fu Hanxi ab6a455b1a Merge branch 'ci/check_submodule_sync_deps' into 'master'
ci: don't download artifacts in check_submodule_sync

See merge request espressif/esp-idf!51846
2026-08-18 14:50:17 +02:00
Fu Hanxi 399b92e15c Merge branch 'fix/worktree-submodule-copy' into 'master'
Fix worktree submodule copy of gitlink files

See merge request espressif/esp-idf!51815
2026-08-18 14:45:55 +02:00
Rahul Tank 20afd9de88 fix(nimble): route PAwR connection failures to sync callback 2026-08-18 18:10:05 +05:30
Rahul Tank 2de16b9a52 Merge branch 'bugfix/pytest_throughput_failure' into 'master'
fix(nimble): Update throughput app to stop notify flood before CCCD clear.

Closes BLERP-3038

See merge request espressif/esp-idf!51764
2026-08-18 18:08:44 +05:30
Ivan Grokhotkov e0b60fcf06 ci: don't download artifacts in check_submodule_sync 2026-08-18 13:56:26 +02:00
Rahul Tank 8710fd7125 fix(nimble): Fix for pytest throughput failure
In example, central clears CCCD while peripheral is still sending
notify. This causes ATT write response to starve resulting in
disconnect.
2026-08-18 16:45:54 +05:30
morris d3d0cbc594 feat(ppa): add PPA FreeType font compositing example 2026-08-18 19:00:26 +08:00
Hu Rui a6c0989472 refactor(dac): split spinlock, update logging and memory management 2026-08-18 18:56:12 +08:00
Wang Meng Yang 9150d065a3 Merge branch 'feat/support_pan_bnep' into 'master'
feat(bt/bluedroid): support Classic Bluetooth PAN profile

See merge request espressif/esp-idf!50641
2026-08-18 17:38:59 +08:00
wanckl 21c1c30db5 feat(driver_twai): add api to get onchip hardware timing limit 2026-08-18 16:50:19 +08:00
Fu Hanxi 44fe4ac658 Merge branch 'ci/wait_for_target_branch_pipeline_job' into 'master'
ci: add description for new MR label

See merge request espressif/esp-idf!51821
2026-08-18 10:39:00 +02:00
Fu Hanxi 3d74dcead1 Merge branch 'feat/build_size_metrics_apps_on_master_branch' into 'master'
ci: move app-size-metrics job to ci/actions/common repo

See merge request espressif/esp-idf!51793
2026-08-18 10:26:55 +02:00
Evgeny Torbin e7644aaa62 ci: add description for app_size_metrics_full_report label to readme 2026-08-18 10:24:26 +02:00
morris 0d5bd19841 Merge branch 'feat/gdma_tx_done_teof' into 'master'
feat(gdma): add tx done and total_eof callbacks

See merge request espressif/esp-idf!51818
2026-08-18 15:32:16 +08:00
Jiang Jiang Jian 2247886aef Merge branch 'fix/fix_esp32s31_stuck_in_phy_disable' into 'master'
fix(esp_hw_support): fix esp32s31 stuck in phy_disable if mdoem module is not initialized

Closes PM-839

See merge request espressif/esp-idf!51773
2026-08-18 15:10:51 +08:00
Euripedes Rocha b9d2ca004a Merge branch 'contrib/github_pr_18648' into 'master'
esp_eth: make OpenETH ISR logging DRAM-safe (GitHub PR)

Closes IDFGH-17708, IDFGH-17704, and IDFGH-17705

See merge request espressif/esp-idf!51795
2026-08-18 08:35:59 +02:00
Rahul Tank fe3b225773 Merge branch 'feat/add_register_notif_indic' into 'master'
fix(nimble): Add separate helper functions to register indication

Closes BLERP-3041

See merge request espressif/esp-idf!51784
2026-08-18 11:47:33 +05:30
Jiang Jiang Jian c6b3a7e6ef Merge branch 'bugfix/wpa_supplicant_upstream_security_issues' into 'master'
esp_wifi: Port security issues from upstream supplicant

See merge request espressif/esp-idf!50807
2026-08-18 12:19:53 +08:00