Commit Graph
55035 Commits
Author SHA1 Message Date
morris d6fee00af6 Merge branch 'feat/atomic-internal' into 'master'
fix(driver): allocate driver objects containing atomic variables from internal SRAM

See merge request espressif/esp-idf!52211
2026-09-02 15:28:16 +08:00
Roland Dobai f546b83585 Merge branch 'doc/fix_eol_links' into 'master'
docs: Fix EOL advisory links in the READMEs

Closes IDFGH-18149

See merge request espressif/esp-idf!52304
2026-09-02 09:11:59 +02:00
Roland Dobai 2e0ed5bc5e docs: Fix EOL advisory links in the READMEs
Closes https://github.com/espressif/esp-idf/issues/18979
2026-09-02 08:28:40 +02:00
Roland Dobai fbb0518b1a Merge branch 'fix/windows_tests' into 'master'
ci(tools): Fix Windows pytest_build_system idf_copy gitlinks and log_cli hang

See merge request espressif/esp-idf!52181
2026-09-02 07:07:18 +02:00
morris 77c1190d52 Merge branch 'feat/add_timeout_return_for_dsi_panel' into 'master'
feat(dsi): add timeout check for lp cmd rx

See merge request espressif/esp-idf!50439
2026-09-02 10:44:04 +08:00
Jakub Kocka 2a07ad46e7 ci(tools): Clip idf.py failure logs so Windows log_cli cannot stall
pytest.ini enables log_cli, so logging the full ninja stdout after a
failed first-time build is one multi-MB ERROR. That hung shard 3/6 for
hours after the hints test. Log the last 80 lines; keep the full output
on the exception and at DEBUG.
2026-09-01 09:18:32 +02:00
Jakub Kocka 02a689149c ci(tools): Don't abort idf_copy when a worktree submodule is a gitlink
git worktree add materializes submodules as gitlink files. rmtree() cannot
remove those, and exists()+iterdir() on a source gitlink raises and falls
back to shutil.copytree, which leaves mbedtls/include as a file. Unlink
dest gitlinks and only copy populated source directories.
2026-09-01 09:18:31 +02:00
Marius Vikhammer dce5812654 Merge branch 'test/idf-additions-pinned-create' into 'master'
test(freertos): cover xTaskCreatePinnedToCore pinning semantics

Closes IDF-8553

See merge request espressif/esp-idf!52013
2026-09-01 14:59:49 +08:00
Island 08a66ea273 Merge branch 'refactor/ble-log-esp-timer-rt-migration' into 'master'
refactor: BLE Log Runtime Migration

See merge request espressif/esp-idf!52002
2026-09-01 11:28:59 +08:00
Jiang Jiang Jian f66095d7be Merge branch 'feat/support_disable_dfs_channel_in_apsta' into 'master'
feat(wifi): support disable dfs channels in apsta

See merge request espressif/esp-idf!51774
2026-09-01 10:14:25 +08:00
Martin Vychodil c505f399a3 Merge branch 'fix/reenable_sdmmc_tests_p4' into 'master'
fix(storage): Re-enable SDMMC related tests for P4

Closes IDF-8970

See merge request espressif/esp-idf!51766
2026-08-31 21:08:27 +08:00
Mahavir Jain a3192567d5 Merge branch 'feat/cpu_region_protection_h4' into 'master'
Memory region protection for ESP32-H4

Closes IDF-12588

See merge request espressif/esp-idf!47070
2026-08-31 17:41:52 +05:30
Mahavir Jain 8224536f91 Merge branch 'fix/heap_align_hw_test' into 'master'
test(heap): DMA alignment test silently passed on every target

See merge request espressif/esp-idf!52131
2026-08-31 17:28:43 +05:30
Mahavir Jain d3fe62cee4 Merge branch 'feat/tee_sec_stg_non_det_sign' into 'master'
change(esp_tee): Force non-deterministic ECDSA signing for TEE secure storage keys

Closes IDF-15937 and IDF-15939

See merge request espressif/esp-idf!50355
2026-08-31 16:07:52 +05:30
morris 14c4306e9d Merge branch 'feat/update_h4_eco2_rom_ld' into 'master'
feat(esp32h4): update rom.ld files for esp32h4 eco2

See merge request espressif/esp-idf!51977
2026-08-31 15:52:34 +08:00
morris 83d2634859 Merge branch 'fix/cpp-linkage-mcpwm-example' into 'master'
fix(examples): add C++ linkage guards to MCPWM FOC SVPWM headers

Closes IDFGH-18214

See merge request espressif/esp-idf!52215
2026-08-31 15:51:07 +08:00
suda-morris bbf852a6a9 fix(examples): add C++ linkage guards to mcpwm foc svpwm example headers
Closes https://github.com/espressif/esp-idf/issues/19031
2026-08-31 14:12:45 +08:00
morris c96d9d0380 fix(driver): allocate driver objects containing atomic variables from internal SRAM
Objects with atomic members must not be allocated to PSRAM, otherwise
the ordering guarantee of atomic accesses is weakened due to a hardware
behavior on ESP32 chips. Explicitly request MALLOC_CAP_INTERNAL |
MALLOC_CAP_8BIT for:

- i2c master bus object (atomic status/trans_idx)
- i3c master bus object (atomic fsm)
- ISP processor and AE/AF/AWB/HIST controllers (atomic fsm)
- JPEG decoder/encoder dma2d transaction descriptors (atomic started)
- PPA transaction storage embedding dma2d_trans_t
- dma2d m2m test transaction embedding dma2d_trans_t
2026-08-31 13:48:44 +08:00
Wang Meng Yang 48ba121560 Merge branch 'fix/fxied_wrong_h2_ble_lib_issue' into 'master'
fix(ble): Check if there are illegal library files in controller lib path

See merge request espressif/esp-idf!52180
2026-08-31 12:20:10 +08:00
morris 5ad2617de3 Merge branch 'ci/jpeg_test_esp32p4_rev1' into 'master'
test(jpeg): add ESP32-P4 rev1 coverage

Closes IDF-15446

See merge request espressif/esp-idf!52182
2026-08-31 10:49:58 +08:00
Jiang Jiang Jian 0cae1ec820 Merge branch 'fix/blacklist_roam_reason' into 'master'
Added more reason codes for blacklist roam

Closes WIFIBUG-2040

See merge request espressif/esp-idf!50875
2026-08-31 10:48:44 +08:00
Steven (Yang Minghui) 6dd110f2d1 test(jpeg): add ESP32-P4 rev1 coverage 2026-08-28 21:35:50 +08:00
ShenWeilong 40706bf28f fix(ble): Check if there are illegal library files in controller lib path 2026-08-28 19:20:18 +08:00
Jiang Jiang Jian 2067f3ae32 Merge branch 'fix/low_rssi_roam_diff' into 'master'
fix(wifi): Require RSSI gain before low-RSSI roam

Closes WIFIBUG-2042

See merge request espressif/esp-idf!51706
2026-08-28 18:00:14 +08:00
Chen Jichang 3e32f8bb54 feat(esp32h4): update rom.ld files for esp32h4 eco2 2026-08-28 15:31:08 +08:00
Wang Meng Yang 1b937bd648 Merge branch 'bugfix/a2dp_aac_br' into 'master'
fix(bt): Fix some bugs of A2DP AAC

Closes BTQABR2023-876, BTQABR2023-877, BTQABR2023-878, and BTQABR2023-879

See merge request espressif/esp-idf!51819
2026-08-28 15:26:50 +08:00
Mahavir Jain 0a6f7d27af Merge branch 'contrib/github_pr_18983' into 'master'
fix(http_client): default Content-Type for post field (GitHub PR)

Closes IDFGH-18153

See merge request espressif/esp-idf!51956
2026-08-28 12:53:11 +05:30
morris 6d533d8526 Merge branch 'fix/timing_typo' into 'master'
fix(mspi): Fix a mistake reg action to set timing tuning on p4

See merge request espressif/esp-idf!52164
2026-08-28 15:03:24 +08:00
Wang Meng Yang 63076cf266 Merge branch 'fix/bt_memory' into 'master'
fix(bt_memory): Reduce memory usage in transfer

See merge request espressif/esp-idf!51396
2026-08-28 14:52:59 +08:00
Wang Meng Yang 2608853f3f Merge branch 'bugfix/assert_8486' into 'master'
fix(bt/controller): update libbtdm_common_app.a to f60e5b29

Closes BTQABR2023-884

See merge request espressif/esp-idf!52135
2026-08-28 14:46:34 +08:00
Jiang Jiang Jian 8324ba36d4 Merge branch 'fix/update_iperf_default_config_of_esp32s31' into 'master'
fix(wifi): config flash frequency to 80M in iperf sdkconfig

See merge request espressif/esp-idf!52145
2026-08-28 14:09:27 +08:00
Martin Vychodil 4cce27e1cc Merge branch 'fix/sdmmc_dma_aligned_buffer_leak' into 'master'
fix(sdmmc): release aligned buffer on card deinit

Closes IDF-16031 and DOC-15562

See merge request espressif/esp-idf!51530
2026-08-28 13:57:05 +08:00
Laukik Hase 1fbeea3393 fix(esp_tee): Snapshot input arguments in TEE memory before secure service execution 2026-08-28 10:20:55 +05:30
Laukik Hase 427dc875b9 change(esp_tee): Force non-deterministic ECDSA signing for TEE secure storage keys 2026-08-28 10:20:55 +05:30
Laukik Hase 4812dbd2d8 feat(esp_tee): Use CTR-DRBG for assisting random number generation in TEE
- For ESP-TEE, fault-assert in `esp_random()` if the RNG is held in a
  freeze state
2026-08-28 10:20:54 +05:30
Laukik Hase 52a6ad71ee feat(hal): Add LL-API to check whether RNG is enabled
- Also add RNG LL-APIs for ESP32-C61
- Add SOC_RNG_CLOCK_IS_INDEPENDENT for ESP32-C61: now that
  rng_ll_disable() actually clears the RNG clock gate, the application
  needs the esp_hw_support startup hook to re-enable the RNG after
  bootloader_random_disable()
2026-08-28 10:20:54 +05:30
C.S.M ac710f6315 fix(mspi): Fix a mistake reg action to set timing tuning on p4 2026-08-28 11:26:12 +08:00
Island 74512f74a4 Merge branch 'feat/adapt_uhci_code_260824' into 'master'
refactor(hci): switch HCI UART DMA transport to UHCI driver APIs

Closes BLERP-2978

See merge request espressif/esp-idf!51986
2026-08-28 11:02:23 +08:00
Adam Múdry 273953fb64 fix(storage): Re-enable SDMMC related tests for P4 2026-08-27 14:33:37 +02:00
Roland Dobai 1ba374b7e6 Merge branch 'fix/lto_function_data_sections' into 'master'
fix(build): keep per-function sections when generating code at LTO link time

See merge request espressif/esp-idf!51629
2026-08-27 13:55:43 +02:00
yinqingzhao 19426a430d fix(wifi): config flash frequency to 80M in iperf sdkconfig 2026-08-27 19:14:45 +08:00
Alexey Gerenkov 8515684acd Merge branch 'esp_trace_optimizations' into 'master'
change(esp_trace): compile hot path at -O2 regardless of project optimization

See merge request espressif/esp-idf!51918
2026-08-27 18:29:02 +08:00
Meet Patel 81155fe014 test(freertos): give pinned-create tests more stack
2048 bytes is tight once Unity asserts and yields run on the created task.
2026-08-27 15:38:04 +05:30
Adam Múdry e0c094da69 fix(sdmmc): release aligned DMA buffer on card deinit 2026-08-27 12:00:24 +02:00
Mahavir Jain 626d7e9bb3 Merge branch 'fix/aes_op_zero_buf_check' into 'master'
fix(mbedtls/aes): reject an all-zero AES block output in the encrypt direction

Closes IDF-15997

See merge request espressif/esp-idf!51603
2026-08-27 14:16:38 +05:30
Fu Hanxi d60b9a5624 Merge branch 'ci/move-check_submodule_sync' into 'master'
ci: move check_submodule_sync to ci/actions/common

See merge request espressif/esp-idf!52085
2026-08-27 10:38:55 +02:00
Zhou Xiao 327016d1a3 test(ble_log): add dedicated runtime dispatch test app
Extend the test peripheral with receipt timestamps and an auto-recycle
hook so runtime tests can observe handoff latency and sustain arrivals from
dispatch completion.

Add a standalone Unity app covering fixed first-submission deadlines,
callback-entry batch drain, shared ESP timer task fairness, periodic
timestamp light-sleep behavior, synchronous flush, dispatch latency,
deinit races, bounded inflight peaks, and timeout conversion at both
supported tick rates. Verify FIFO delivery and reject delayed-consumer and
extra-marker false positives.

Render BLE_LOG_RT_PERF lines in the performance log parser and
cross-reference the runtime and performance apps from their READMEs.
2026-08-27 16:16:38 +08:00
Zhou Xiao 620a3c90a9 refactor(ble_log): move runtime dispatch to esp_timer
Replace the dedicated BLE Log FreeRTOS task with a deferred esp_timer
batch dispatch. The first submission anchors a one-shot 1 ms deadline;
the callback drains the queue depth captured at entry and schedules the
next fixed defer only for arrivals left behind. Later submissions cannot
move the current deadline, and no fixed batch-size cap limits throughput.

Protect queue and timer lifetime with runtime references. Drain queued
submissions before ble_log_lbm_flush_all_trans waits for transport
ownership to return, so synchronous flush does not depend on the deferred
alarm firing.

Keep the defer alarm as a light-sleep wake source and select
ESP_TIMER_IN_IRAM. Timestamp synchronization uses the shared ESP timer task
with skipped unhandled events, so it neither wakes light sleep nor replays
missed periods. Retain legacy task and trigger symbols as hidden no-op
sdkconfig compatibility options.
2026-08-27 16:16:38 +08:00
yangfeng 5a8e9347a5 fix(bt): Build the optimal config when registering A2DP SEP 2026-08-27 15:58:39 +08:00
Jin Cheng 2e9769d270 fix(bt/controller): update libbtdm_common_app.a to f60e5b29
- fixed BT ASSERT ID 8486
- relates to BTQABR2023-884
2026-08-27 15:51:59 +08:00