Commit Graph
54739 Commits
Author SHA1 Message Date
Mahavir Jain a03ec273f0 fix(esp_hw_support): fix ESP32-S31 CPU lockup with flash encryption during PMA setup
Run esp_cpu_configure_invalid_regions() from IRAM: it reprograms the PMA
entry that keeps the flash aperture cacheable, so an instruction fetched
from flash inside the reprogramming window bypasses the cache and, with
flash encryption enabled, executes ciphertext (illegal instruction ->
CPU lockup).

Also move the PSRAM PMA entry to index 7 so that the application layout
matches the entry earlier bootloaders programmed and locked, keeping the
full layout effective under such bootloaders.
2026-08-17 19:23:58 +05:30
Mahavir Jain 3ee34cdac5 change(esp_hw_support): drop the frozen PMP entry layout for ESP32-S31
Freezing PMP entry indices as a bootloader<->application ABI (pmp_layout.h)
is only needed on targets where an already-shipped bootloader locks PMP
entries (C5, C6, C61, H2, P4). No such bootloader has ever shipped for
ESP32-S31 and, per the v6.2 PMP ownership policy, the bootloader never
configures or locks any PMP entry on this target - so there is no ABI to
freeze. Program all entries by plain index (as on ESP32-H4/H21) and state
that the application-owned layout is not an ABI.
2026-08-17 19:23:58 +05:30
nilesh.kale b5891edb9b feat: enable cpu region protection for esp32s31 2026-08-17 19:23:58 +05:30
Shu Chen d60155a174 Merge branch 'fix/fix_some_issues_found_in_ot_sdk' into 'master'
fix(openthread): fix configuration-related issues

See merge request espressif/esp-idf!51617
2026-08-17 08:39:40 +00:00
Island ce33f48e01 Merge branch 'idf/ble_audio_ccc_fix' into 'master'
fix(ble_audio): Fix CCCD not found during GATTC auto discovery

See merge request espressif/esp-idf!51541
2026-08-17 16:13:22 +08:00
Martin Vychodil efde3482d1 Merge branch 'bugfix/nvs-cxx-handle-docs' into 'master'
docs(nvs_flash): add C++ NVS handle API documentation

Closes IDFGH-8859

See merge request espressif/esp-idf!51066
2026-08-17 15:16:34 +08:00
Island ac6504cab6 Merge branch 'fix/use_conflict_cb_for_regi2c_when_regdma_rf_is_used' into 'master'
feat(sleep): applied regi2c conflict process at regdma rf

See merge request espressif/esp-idf!51770
2026-08-17 14:43:56 +08:00
morris 3438867a73 Merge branch 'lld_orphan' into 'master'
esp_system: enable linking with LLD on RISC-V targets

Closes LLVM-216

See merge request espressif/esp-idf!48712
2026-08-17 14:40:36 +08:00
Xu Si Yu 33fbf82bdd fix(openthread): fix configuration-related issues 2026-08-17 14:12:40 +08:00
Shu Chen a25d1a419f Merge branch 'feat/support_multipan_feature_rcp_20260603' into 'master'
feat(openthread): support multipan feature for RCP

See merge request espressif/esp-idf!49222
2026-08-17 06:04:08 +00:00
Island 93d5482e41 Merge branch 'feat/ble-log-test-app-support' into 'master'
feat(ble_log): add BLE log perf test app with test transport

See merge request espressif/esp-idf!51767
2026-08-17 11:16:14 +08:00
Liu Linyan 3aaad018dd fix(ble_audio): Recover ISO HCI cmd from a dropped hciT wakeup 2026-08-17 10:08:07 +08:00
Liu Linyan 338093c59a fix(ble_audio): Fix CCCD not found during GATTC auto discovery 2026-08-17 10:08:01 +08:00
morris c07cec57ca Merge branch 'refactor/i2s_gdma_link' into 'master'
refactor(i2s): uses GDMA link to mount DMA descriptors

Closes IDF-15890

See merge request espressif/esp-idf!51510
2026-08-17 10:04:16 +08:00
Wei Yu Han 55afb36110 Merge branch 'feat/update_ble_feature_support_status_0813' into 'master'
feat(docs): update BLE feature support status for ISO and Core 6.1-6.3

See merge request espressif/esp-idf!51719
2026-08-17 08:30:58 +08:00
Rahul Tank 74f5d7823b Merge branch 'bugfix/fix_restart_gatt_svr' into 'master'
fix(nimble): Add fix to handle service reset during server start

Closes BLERP-3015 and BLERP-3040

See merge request espressif/esp-idf!51546
2026-08-16 09:55:02 +05:30
Euripedes Rocha 2bb7d92b5e Merge branch 'contrib/github_pr_18972' into 'master'
docs(esp_eth): drop unreachable return code from esp_eth_phy_802_3_reset_hw (GitHub PR)

Closes IDFGH-18139

See merge request espressif/esp-idf!51776
2026-08-14 15:43:21 +02:00
Zhou Xiao a855a19e53 feat(ble_log): add BLE log perf test app with test transport
Add a Unity-based perf test app under ble_log/test_apps with two
separate measurement purposes:

- throughput: multi-task (write_hex x3) + LL task/HCI + ISR + compressed
  writers under 2 Mbps / 20 Mbps link caps, measuring system-wide
  throughput only
- cycle: single-writer write_hex / write_hex_ll / compressed writes at
  link=0, measuring per-frame cycles; the compressed path is split into
  the encode phase and the write_hex phase via test-only counters in
  ble_log_compression.c

Add the test-only transport (CONFIG_BLE_LOG_PRPH_TEST) that models DMA
ownership transfer and link-rate backpressure.
2026-08-14 18:34:47 +08:00
Wang Meng Yang 062a6949ad Merge branch 'bugfix/fix_bredr_example_build_warning' into 'master'
fix(bt): fix unused-variable build warnings for BR/EDR examples on  ESP32-S31

See merge request espressif/esp-idf!51771
2026-08-14 17:03:54 +08:00
Fu Hanxi 807adb6ca6 Merge branch 'ci/use-latest-common-repo' into 'master'
ci: use latest ci/actions/common repo

See merge request espressif/esp-idf!51759
2026-08-14 10:37:49 +02:00
cjin 5533d153f5 feat(sleep): applied regi2c conflict process at regdma rf 2026-08-14 16:29:55 +08:00
Rahul Tank b229e4d3d5 fix(nimble): Add fix to handle service reset during server start 2026-08-14 13:47:34 +05:30
Island b639f688c2 Merge branch 'fix/fix_btdm_lp_clock_config' into 'master'
fix(ble): fix bt_apb module clock config on esp32h4 and esp32s31

See merge request espressif/esp-idf!51772
2026-08-14 16:12:30 +08:00
renpeiying 0a3f2d7ff2 docs(nvs_flash): update CN translation 2026-08-14 09:25:24 +02:00
Chen Chen ef96740d14 refactor(i2s): uses GDMA link to mount DMA descriptors 2026-08-14 15:19:56 +08:00
Marius Vikhammer e10e7e867f Merge branch 'ci/fix_precommit_ota_size' into 'master'
ci(precommit): fixed readme issue found by precommit in ota size metric

See merge request espressif/esp-idf!51775
2026-08-14 14:26:03 +08:00
Marius Vikhammer aaad158b85 ci(precommit): fixed readme issue found by precommit in ota size metric 2026-08-14 08:19:23 +02:00
morris e6d5bc6c57 Merge branch 'feat/support_rgb_lcd_dma2d' into 'master'
feat(rgb_lcd): support draw bitmap using dma2d

Closes IDF-15652 and IDFGH-11807

See merge request espressif/esp-idf!48510
2026-08-14 14:03:36 +08:00
Rahul Tank ee4e8fd9c3 Merge branch 'bugfix/fix_add_resolve_after_connect_master' into 'master'
fix(nimble): Fix adding device to resolving list when defer connection

Closes BLERP-3007

See merge request espressif/esp-idf!51314
2026-08-14 10:39:56 +05:30
cjin 7552394de8 fix(ble): fix bt_apb module clock config on esp32h4 and esp32s31 2026-08-14 12:02:26 +08:00
cjin 76bad285fa fix(ci): updated wifi ota readme supported chips 2026-08-14 11:38:40 +08:00
Wang Mengyang 160c84f688 fix(bt): fix unused-variable build warnings for BR/EDR examples on ESP32-S31 2026-08-14 11:27:41 +08:00
Stefan Stipanovic d0ae774d59 fix(esp_system): enable linking with LLD on RISC-V targets 2026-08-13 21:23:36 +02:00
Euripedes Rocha b2672c7937 Merge branch 'feat/eth_netif_sub' into 'master'
Feat/eth netif sub

Closes IDF-16068 and IDFCI-8665

See merge request espressif/esp-idf!48823
2026-08-13 15:48:39 +02:00
Fu Hanxi cfca633f01 ci: use main branch of ci/actions/common 2026-08-13 15:26:02 +02:00
Wang Meng Yang eb95e67ce3 Merge branch 'feature/refactor_with_broker' into 'master'
feat(bt): refactor bt sdk with broker for esp32h4 and esp32s31

Closes BTQABR2023-778, BTQABR2023-873, BTQABR2023-863, BTQABR2023-864, BLERP-3016, BLERP-3020, BLERP-3022, BLERP-3023, BLERP-3024, BLERP-3025, BLERP-3026, BLERP-3027, BLERP-3028, BLERP-3029, BLERP-3030, BLERP-3031, BLERP-3032, BLERP-3033, BLERP-3034, BT-4440, WIFI-7353, IDFGH-17891, BT-4466, and BLERP-3035

See merge request espressif/esp-idf!51381
2026-08-13 20:00:08 +08:00
Ondrej Kosta 05993b5090 feat(examples): add Ethernet sublayer example and update PTP
Add a dedicated sublayer example under examples/ethernet and enable
sublayer usage in the PTP example.
2026-08-13 13:56:57 +02:00
Ondrej Kosta ddaf9c2b79 feat(esp_netif): integrate L2TAP with Ethernet sublayer
Route L2TAP TX/RX through the iodriver provider, support offset RX
buffers in ethernetif, and extend L2TAP tests for sublayer configs.
2026-08-13 13:56:57 +02:00
Ondrej Kosta 2e79c3fd69 feat(esp_eth): add Ethernet sublayer with optional VLAN and switch
Introduce the experimental Ethernet sublayer (parent/child VLAN, optional
switch path, iodriver provider), restructure eth test apps, and document
the new APIs.
2026-08-13 13:56:57 +02:00
Daniel M'BOUYOU 17cca03943 docs(esp_eth): drop unreachable return code from esp_eth_phy_802_3_reset_hw
esp_eth_phy_802_3_reset_hw() documented ESP_ERR_NOT_ALLOWED for the case where
no reset GPIO is configured, but that path returns ESP_OK: ret is set to ESP_OK
at components/esp_eth/src/phy/esp_eth_phy_802_3.c:489 and never reassigned, so
reset_gpio_num < 0 falls through to `return ret` at line 506.

ESP_ERR_NOT_ALLOWED occurred nowhere else under components/esp_eth.

Documentation comment only; no functional change.
2026-08-13 12:45:57 +02:00
Wei Yuhan 7891e0d65a feat(docs): fix PAST and randomized adv channel indexing status
Gate PAST on SOC_ESP_NIMBLE_CONTROLLER, mark randomized advertising
channel indexing host columns as NA, and limit controller experimental
status to NimBLE controllers except ESP32-C2.
2026-08-13 17:26:03 +08:00
Wang Meng Yang 362fa6b483 Merge branch 'bugfix/strncpy_compilation_issue' into 'master'
fix(bluedroid): Fix the compilation issue of BCM_STRNCPY_S

See merge request espressif/esp-idf!51578
2026-08-13 17:23:32 +08:00
Rahul Tank 846ab1ee50 Merge branch 'bugfix/fix_kconfig_warnings' into 'master'
fix(nimble): move BTDM defaults to esp32

See merge request espressif/esp-idf!51682
2026-08-13 14:27:15 +05:30
Alexey Gerenkov a987eb6589 Merge branch 'tracing_test_fixes' into 'master'
Tracing test fixes

See merge request espressif/esp-idf!51601
2026-08-13 16:56:07 +08:00
Island 91506ea493 Merge branch 'feat/ble-log-spi-hd-support' into 'master'
feat: Supported SPI HD for BLE Log

See merge request espressif/esp-idf!51714
2026-08-13 16:11:38 +08:00
sonika.rathi 5394a30873 docs(nvs_flash): add C++ NVS handle API documentation
Closes https://github.com/espressif/esp-idf/issues/10283
2026-08-13 15:42:18 +08:00
Wang Meng Yang 462d942b51 Merge branch 'bugfix/a2dp_sink_nego_sbc' into 'master'
fix(bt): do not cap AVDTP Discover results by local SEP count

Closes IDFGH-17987

See merge request espressif/esp-idf!51241
2026-08-13 14:51:08 +08:00
Wang Meng Yang 1685118e15 Merge branch 'bugfix/qos_div_zero' into 'master'
fix(bt): update ESP32 libbtdm_app.a to fix several issues

Closes IDFGH-18110 and BTQABR2023-716

See merge request espressif/esp-idf!51701
2026-08-13 14:42:56 +08:00
Marius Vikhammer 12534d128c Merge branch 'bugfix/h4_blink_io' into 'master'
fix(blink): fixed GPIO used for blink example on H4

See merge request espressif/esp-idf!51718
2026-08-13 14:32:45 +08:00
Chen Jichang 7d6164515c refactor(lcd): add async dma2d copy wrapper 2026-08-13 14:29:43 +08:00