Commit Graph

51321 Commits

Author SHA1 Message Date
Aditya Patwardhan
9dc64a7402 fix(protocomm): pass current session id when closing existing session
sec1_new_session()/sec2_new_session() were calling sec*_close_session()
with the *new* session_id parameter instead of the existing
cur_session->id. The close handler validates `cur_session->id ==
session_id` before performing teardown, so the call always failed with
ESP_ERR_INVALID_STATE.

Effect: when a peer started a new provisioning session while another was
already active, the previous session's PSA keys, AES context, SRP handle
and username buffer were leaked instead of being destroyed. The cleared
session struct was overwritten by the new session, leaking the previous
key handles inside PSA Crypto and (for security2) leaking heap memory
for the username and SRP context.

Fix: pass cur_session->id so the close path actually executes the
teardown (psa_destroy_key/psa_cipher_abort/esp_srp_free/free) before the
new session takes over.
2026-04-14 11:05:51 +05:30
Alexey Lapshin
1735ec860d Merge branch 'feat/refactor_bootloade_linker_scripts' into 'master'
feat(bootloader): split linker scripts into memory and sections

Closes IDF-14119

See merge request espressif/esp-idf!47250
2026-04-08 16:47:14 +04:00
morris
2994fca5ba Merge branch 'feat/esp32s31-rmt-support' into 'master'
feat(rmt): enable RMT support on esp32s31

Closes IDF-14794

See merge request espressif/esp-idf!47152
2026-04-08 18:46:54 +08:00
Fu Hanxi
bb2b0ada18 Merge branch 'revert-18c5cab8' into 'master'
Revert "Merge branch 'ci/filter_non_test_related_apps_by_modified_files' into 'master'"

See merge request espressif/esp-idf!47369
2026-04-08 12:40:44 +02:00
Igor Udot
1d6e673283 Revert "Merge branch 'ci/filter_non_test_related_apps_by_modified_files' into 'master'"
This reverts merge request !47321
2026-04-08 18:13:01 +08:00
Marius Vikhammer
051a116979 Merge branch 'feature/esp_cpu_testcoverage' into 'master'
Add esp_cpu API test coverage

Closes IDF-4920

See merge request espressif/esp-idf!46945
2026-04-08 17:19:49 +08:00
morris
d630f83f7d Merge branch 'fix/fix_lcd_cmd_bypassd_unexpectedly' into 'master'
fix(lcd): fix lcd cmd be bypassd unexpectedly

See merge request espressif/esp-idf!46960
2026-04-08 16:28:39 +08:00
Mahavir Jain
c99e4d34e9 Merge branch 'fix/esp_tee_bbp' into 'master'
fix(esp_tee): Add missing input validation checks for TEE service calls

See merge request espressif/esp-idf!47149
2026-04-08 13:41:39 +05:30
Marius Vikhammer
f2f80f3aa8 Merge branch 'feature/wdt_rom_patch_slim' into 'master'
fix(esp_hal_wdt): reduce IRAM usage of WDT init ROM patch

See merge request espressif/esp-idf!47340
2026-04-08 16:10:53 +08:00
Marius Vikhammer
edb0e8dba9 Merge branch 'ci/fix_freertos_s31_perf_limits' into 'master'
test: align esp32s31 freertos perf limits

Closes IDFCI-10315 and IDFCI-10316

See merge request espressif/esp-idf!47355
2026-04-08 16:00:13 +08:00
Igor Udot
18c5cab899 Merge branch 'ci/filter_non_test_related_apps_by_modified_files' into 'master'
Ci/filter non test related apps by modified files

See merge request espressif/esp-idf!47321
2026-04-08 15:15:44 +08:00
Marius Vikhammer
54c6851bf1 test: align esp32s31 freertos perf limits
ESP32-S31 scheduling and spinlock benchmarks match the relaxed P4 thresholds
better than the generic limits, so use those limits to keep the
FreeRTOS perf cases stable.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-08 14:46:25 +08:00
Rahul Tank
25d8f3c269 Merge branch 'bugfix/fix_dtm_end_test' into 'master'
fix(nimble): Fix DTM test end packet count parsing

Closes BLERP-2687

See merge request espressif/esp-idf!47327
2026-04-08 12:14:06 +05:30
Marius Vikhammer
c65908a719 Merge branch 'feature/s31_core_ci_enable' into 'master'
test: enable pthread tests on esp32s31 and esp32p4

Closes IDF-14683

See merge request espressif/esp-idf!47348
2026-04-08 14:37:05 +08:00
morris
5c55b812be Merge branch 'feat/bitscrambler_esp32s31' into 'master'
feat(bitscrambler): add esp32s31 support

Closes IDF-14714

See merge request espressif/esp-idf!47338
2026-04-08 14:07:56 +08:00
Marius Vikhammer
7b58b459c0 test: enable pthread tests on esp32s31 and esp32p4
Run the pthread functional suite on targets that are ready in CI.
2026-04-08 14:01:09 +08:00
Zhang Wen Xu
710f133604 Merge branch 'bugfix/fix_ot_ci_testcases' into 'master'
ci: improve BR host related test cases

See merge request espressif/esp-idf!47089
2026-04-08 02:35:01 +00:00
morris
ae8acf82e7 feat(rmt): enable RMT support on esp32s31
Enable esp32s31 RMT caps and clock source definitions for
esp_driver_rmt.

Add esp32s31 RMT LL/periph hooks, sleep retention metadata, and RMTMEM
linker symbol.
2026-04-08 10:17:10 +08:00
Marius Vikhammer
ae710978ae Merge branch 'ci/esp32s31_intr_dump_expected_output' into 'master'
ci(esp_intr_dump): add expected output for esp32s31

Closes IDFCI-10298

See merge request espressif/esp-idf!47347
2026-04-08 10:14:23 +08:00
morris
425966f88f Merge branch 'feat/etm_esp32s31' into 'master'
feat(etm): add ETM LL and GPIO ETM support on esp32s31

Closes IDF-14724 and IDF-14786

See merge request espressif/esp-idf!47247
2026-04-08 10:08:24 +08:00
Armando (Dou Yiwen)
f8f5e99cb4 Merge branch 'feat/cache_s31' into 'master'
cache: driver support and panic support on s31

Closes IDF-14650, IDF-14651, and IDFCI-10314

See merge request espressif/esp-idf!47156
2026-04-08 02:06:44 +00:00
morris
11f76780cc feat(bitscrambler): support driver on esp32s31 2026-04-08 09:53:21 +08:00
Marius Vikhammer
82c1f71d96 ci(esp_intr_dump): add expected output for esp32s31 2026-04-08 09:43:21 +08:00
Marius Vikhammer
8e1dba70f6 Merge branch 'ci/disable_flash_suspend_test_s31' into 'master'
ci(esp32s31): skip flash_suspend rtc_clk test until runners available

See merge request espressif/esp-idf!47346
2026-04-08 09:40:36 +08:00
Marius Vikhammer
380dde02d0 ci(esp32s31): skip flash_suspend rtc_clk test until runners available
No esp32s31 boards are registered in the flash_suspend runner pool yet.
The test_rtc_clk_flash test targets all SOC_CLK_TREE_SUPPORTED chips and
creates a flash_suspend CI job for esp32s31 that immediately fails with
no runner assigned. Add a temp_skip_ci matching the existing pattern for
esp32h2.

Tracked in IDF-15531.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 09:12:36 +08:00
Martin Vychodil
7a85a4b89d Merge branch 'fix/fatfs_instance_init' into 'master'
Fix: various FATFS/VFS fixes

Closes IDF-15530

See merge request espressif/esp-idf!47336
2026-04-08 03:29:52 +08:00
Marius Vikhammer
c34049a323 fix(esp_hal_wdt): reduce IRAM usage of WDT init ROM patch
The ROM patch for chips missing clock source configuration in wdt_hal_init
was re-implementing the full function in IRAM. Instead, delegate to the ROM
version and only append the missing clock configuration afterwards, saving
~550 bytes of IRAM.
2026-04-07 20:14:26 +08:00
Ren Peiying
443d4705b7 Merge branch 'docs/add_cn_trans_to_intr_alloc' into 'master'
docs: Update CN translation for intr_alloc

Closes DOC-14112

See merge request espressif/esp-idf!47025
2026-04-07 19:16:48 +08:00
Martin Vychodil
85ead6f5d4 fix(fatfs): Added tests for FATFS re-registration and VFS adapter early returns 2026-04-07 13:12:54 +02:00
Martin Vychodil
8240eea180 fix(fatfs): Fixed VFS adapter early return paths 2026-04-07 13:12:42 +02:00
Martin Vychodil
26ceedb5f8 fix(fatfs): Fixed uninitialized FATFS pointer for already mounted path 2026-04-07 12:08:49 +02:00
Martin Vychodil
23298ce2df Merge branch 'feature/fatfs_bdl' into 'master'
feat(fatfs): Add BDL support to FatFS component

Closes IDF-13492

See merge request espressif/esp-idf!46864
2026-04-07 17:49:25 +08:00
Rahul Tank
b1050c5a9e fix(nimble): Fix DTM test end packet count parsing 2026-04-07 14:56:00 +05:30
igor.udot
0e6b16492a ci: enable filter_non_test_related_apps_by_modified_files 2026-04-07 16:38:21 +08:00
armando
61eb179368 feat(cache): support cache msync driver and cache panic driver 2026-04-07 07:48:45 +00:00
morris
43bc8c2fe5 feat(etm): add ETM LL and GPIO ETM support on esp32s31
Enable ETM caps and add S31 ETM/GPIO LL and retention support for
GPTimer ETM builds.
2026-04-07 14:47:36 +08:00
Igor Udot
953c40c9aa Merge branch 'fix/remove_useless_ci_config_mspi' into 'master'
fix(mspi): removed useless ci config

See merge request espressif/esp-idf!47311
2026-04-07 14:36:48 +08:00
Zhang Wen Xu
0ae2a23090 Merge branch 'feat/update_h4_etm_reg_for_154' into 'master'
feat(802.15.4): update h4 etm reg for 154

See merge request espressif/esp-idf!47086
2026-04-07 06:29:44 +00:00
Island
ac588e91b0 Merge branch 'ble_dev/esp32h4eco1_chip_20260403_iso' into 'master'
fix(ble): support ble iso for esp32h4 eco1

Closes IDF-12243 and IDF-12248

See merge request espressif/esp-idf!47260
2026-04-07 14:28:31 +08:00
renpeiying
6a6a25817b docs: Update CN translation for intr_alloc 2026-04-07 14:19:54 +08:00
Armando (Dou Yiwen)
cc3808e3fe fix(mspi): removed useless ci config
Signed-off-by: Armando (Dou Yiwen) <douyiwen@espressif.com>
2026-04-07 13:32:42 +08:00
Martin Vychodil
7043fb0d14 feat(fatfs): Added BDL support to FatFS component 2026-04-07 07:11:21 +02:00
Shen Meng Jing
83a0043735 Merge branch 'docs/update_cn_esp_http_server' into 'master'
docs: Update CN translation for esp_http_server.rst

Closes DOC-14191

See merge request espressif/esp-idf!47266
2026-04-07 13:09:21 +08:00
Laukik Hase
145ba4c42d fix(esp_tee): Add missing input validation checks for TEE service calls
- MULTI_HEAP_ASSERT for TEE now aborts on failure, instead of ignoring the condition
- Prevent potential TEE OTA write bounds overflow
2026-04-07 10:05:06 +05:30
Shen Mengjing
eb3c96b1d0 docs: Update CN translation for esp_http_server.rst 2026-04-07 11:20:21 +08:00
Marius Vikhammer
6ab1721056 Merge branch 'feature/esp_timer_s31' into 'master'
test(esp_timer): enable ESP32-S31 target tests

Closes IDF-14693

See merge request espressif/esp-idf!47270
2026-04-07 11:01:50 +08:00
morris
0b4e08c0a6 Merge branch 'fix/fixed_esp32h4_kconfig_issue' into 'master'
fix(ble): fixed esp32h4 kconfig CI warning

See merge request espressif/esp-idf!47280
2026-04-07 10:38:35 +08:00
Marius Vikhammer
a4b817d0fe fix(cpu): fix CSR_PRV_MODE not defined for S31 2026-04-07 09:37:39 +08:00
Marius Vikhammer
63d18fad59 test(esp_hw_support): add esp_cpu api test app
Add a dedicated esp_cpu test app that covers the supported helper APIs,
interrupt helpers, debug helper validation, and destructive trigger cases.

Made-with: Cursor
2026-04-07 09:37:39 +08:00
Martin Vychodil
4eb97bb84d Merge branch 'feature/bdl_nand_extensions' into 'master'
feat(esp_blockdev): Updated BDL documentation

Closes IDF-15513

See merge request espressif/esp-idf!47192
2026-04-04 19:50:14 +08:00