Commit Graph
36787 Commits
Author SHA1 Message Date
C.S.M 747c1c9555 Merge branch 'fix/s31_suspend' into 'master'
fix(spi_flash): Fix suspend issue on esp32s31, and add trs timing on other target

See merge request espressif/esp-idf!49228
2026-06-08 14:31:35 +08:00
Jiang Jiang Jian 6fc0a63c4e Merge branch 'bugfix/idfci-11637' into 'master'
support emac sleep retention runtime attach and detach

Closes IDFCI-11637 and IDFCI-11638

See merge request espressif/esp-idf!49331
2026-06-08 12:28:10 +08:00
C.S.M 2acd9b9a7c fix(spi_flash): Fix suspend issue on esp32s31, and add trs timing on other target 2026-06-08 11:15:13 +08:00
Marius Vikhammer 4135057bee Merge branch 'feature/esp_sys_event_framework' into 'master'
feat(esp_system): add esp_sys_event framework

Closes IDF-13472

See merge request espressif/esp-idf!48406
2026-06-08 10:58:28 +08:00
Rahul Tank bc6616854e Merge branch 'bugfix/fix_clang_compilation_issue' into 'master'
fix(nimble): Fix for clang compilation issues

See merge request espressif/esp-idf!49277
2026-06-06 09:24:43 +05:30
Guillaume Souchere a010738ec2 Merge branch 'feat/new-freertos-linux-simulator' into 'master'
feat(freertos): Refactor linux simulator

Closes IDF-8339

See merge request espressif/esp-idf!43564
2026-06-05 12:18:44 +02:00
Martin Vychodil d3264c9a11 Merge branch 'bugfix/spiffs-normalize-cli-output' into 'master'
fix(spiffs): normalize spiffsgen CLI output with esp-pylib

Closes IDF-15335

See merge request espressif/esp-idf!49184
2026-06-05 17:58:44 +08:00
Martin Vychodil b6e4438cfb Merge branch 'bugfix/vfs-syscall-argument-checks' into 'master'
fix(vfs): add syscall argument validation in VFS layer

Closes IDF-12760

See merge request espressif/esp-idf!48954
2026-06-05 17:57:15 +08:00
morris ddf8cc3626 Merge branch 'fix/uart_is_enable_check_error_on_s3' into 'master'
Fix ESP32-S3 uart2 is_enabled check error

Closes IDFGH-17769

See merge request espressif/esp-idf!49327
2026-06-05 17:06:27 +08:00
Sonika Rathi 84d4ec0cd9 Merge branch 'bugfix/nvs-flash-gnu-static-analyzer' into 'master'
fix(nvs_flash): fix GNU static analyzer warnings

Closes IDF-10088 and IDF-10089

See merge request espressif/esp-idf!49122
2026-06-05 16:54:03 +08:00
Li Shuai 6ead5cb8a7 fix(esp_eth): emac sleep retention runtime attach and detach 2026-06-05 16:32:34 +08:00
Chen Ji Chang b77a976600 Merge branch 'fix/fix_gdma_crc_stuck_with_large_input' into 'master'
fix(gdma): fix crc stuck with large input

Closes IDF-15738

See merge request espressif/esp-idf!49163
2026-06-05 16:30:34 +08:00
Konstantin Kondrashov 7a573330b8 Merge branch 'feature/efuse_dump' into 'master'
feat(efuse): Support efuse token dump

Closes IDF-14046

See merge request espressif/esp-idf!41754
2026-06-05 11:15:30 +03:00
gaoxu ca35f840ec fix(uart): fix ESP32-S3 uart2 is_ enabled check error
(Closes https://github.com/espressif/esp-idf/issues/18690)
2026-06-05 15:33:45 +08:00
sonika.rathi eda2d97bdb fix(spiffs): normalize spiffsgen CLI output with esp-pylib 2026-06-05 15:09:16 +08:00
Jiang Jiang Jian c73c20a61f Merge branch 'bugfix/update_supplicant_nist_api' into 'master'
fix(wpa_supplicant): migrate aes_wrap to PSA NIST-KW API

Closes IDFGH-17750

See merge request espressif/esp-idf!49091
2026-06-05 14:41:01 +08:00
Wang Meng Yang caa6dac14e Merge branch 'bugfix/acl_conn_state_error' into 'master'
fix: Fix missing handling for HCI_ERR_CONNECTION_EXISTS

Closes IDFGH-17640

See merge request espressif/esp-idf!48661
2026-06-05 13:54:02 +08:00
Island b2cd129ffa Merge branch 'fix/ble_mesh_bug_report_v2' into 'master'
fix(ble_mesh): Miscellaneous bug fixes according to our internal bug report (v2)

See merge request espressif/esp-idf!45999
2026-06-05 11:31:13 +08:00
He Binglin 06f50a4b8d Merge branch 'bugfix/esp_idf_retention_bt_4365' into 'master'
fix(esp_hw_support): fix retention hang when no module in link

Closes BT-4365

See merge request espressif/esp-idf!49291
2026-06-05 11:23:46 +08:00
Marius Vikhammer 1d311a7349 Merge branch 'feature/psram_freertos' into 'master'
feat(freertos): added option for automatically placing task stacks in PSRAM

Closes IDF-15538, IDF-15539, and IDF-15540

See merge request espressif/esp-idf!48953
2026-06-05 09:08:33 +08:00
Alexey Lapshin a532acdb77 Merge branch 'feature/optimize_lp_core_delay' into 'master'
feat(lp_core): optimize ulp_lp_core_delay_X functions

See merge request espressif/esp-idf!49269
2026-06-04 21:41:39 +04:00
Alexey Lapshin 1a01778cfc Merge branch 'fix/esp_tee_buffer_overflow' into 'master'
fix(esp_tee): fix buffer overflow

See merge request espressif/esp-idf!49266
2026-06-04 21:37:12 +04:00
Rahul Tank 804755b4f8 fix(nimble): Fix for clang compilation issues 2026-06-04 21:51:56 +05:30
Mahavir Jain da6dfc30e9 Merge branch 'feat/adds_ds_qemu_test' into 'master'
feat: adds mutual auth example

Closes IDF-2681

See merge request espressif/esp-idf!45641
2026-06-04 20:43:00 +05:30
Mahavir Jain e70b59bc10 Merge branch 'fix/httpd_clang_tidy_missing_close' into 'master'
fix(network/http_server): fix clang-tidy warnings for missing close

See merge request espressif/esp-idf!49203
2026-06-04 20:33:48 +05:30
Jiang Jiang Jian 7ed4c8c1c3 Merge branch 'fix/phy_cal' into 'master'
fix(phy): fix wifi tx failed when sta wake from deepsleep

See merge request espressif/esp-idf!49285
2026-06-04 22:53:28 +08:00
hebinglin 35ebcefc9b fix(esp_hw_support): fix retention hang when no module in link 2026-06-04 22:26:56 +08:00
Island c282fd9e3f Merge branch 'idf/ble_iso_enh' into 'master'
feat(ble_iso): Split ISO task queue into priority tiers & add dispatch monitor

See merge request espressif/esp-idf!49265
2026-06-04 21:11:11 +08:00
sibeibei ec8b578924 fix(phy): fix wifi tx failed when sta wake from deepsleep 2026-06-04 21:01:44 +08:00
Jiang Jiang Jian 2fe6d29478 Merge branch 'bugfix/add_monitor_en_rst_in_pvt_func' into 'master'
feat(pvt): fix monitor en rst error in pvt func on master

See merge request espressif/esp-idf!49027
2026-06-04 20:15:48 +08:00
Island 6406fb719f Merge branch 'fix/fix_conn_recycle_assertion_at_halt' into 'master'
fix(ble): fix conn recycle assertion at halt on ESP32-C2

Closes BLERP-2865

See merge request espressif/esp-idf!49233
2026-06-04 19:21:08 +08:00
yangfeng 6028243598 fix: Fix missing handling for HCI_ERR_CONNECTION_EXISTS
- Closes https://github.com/espressif/esp-idf/issues/18562
2026-06-04 19:13:38 +08:00
Liu Linyan 58063e4b84 feat(ble_iso): Split ISO task queue into priority tiers & add dispatch monitor 2026-06-04 17:41:29 +08:00
Guillaume Souchere 62a28e250f feat(lwip): replace --wrap linker hacks with proper VFS registration on linux builds
The Linux LWIP port was using --wrap linker flags to intercept read,
write, close, fcntl and select, routing socket FDs (>= LWIP_SOCKET_OFFSET)
to lwip_*() functions. This conflicted with the dlsym(RTLD_NEXT)
cooperative syscall interposition used by the new FreeRTOS Linux
simulator.

Replace the --wrap approach with esp_vfs_register_fd_range(), matching
how LWIP already integrates with VFS on bare-metal ESP32 targets.
The cooperative read()/write() wrappers in vfs_coop_syscalls.c check
VFS first, so LWIP FDs are dispatched to lwip_read() etc. before the
cooperative fallback path is reached.
2026-06-04 11:36:34 +02:00
Guillaume Souchere 445db75612 fix(linux): implement pthread-based locks for soft-preemption safety
The Linux target's sys/lock.h provided no-op inline stubs, which was
safe only under the assumption of single-threaded execution.  With the
new FreeRTOS Linux simulator using soft preemption, an outgoing task
can still run concurrently with the incoming task until it reaches a
yield point, making no-op locks unsafe.

Replace the no-op implementation with real pthread mutexes:

- Change _lock_t from `typedef int` to `typedef void *` (pointer to a
  heap-allocated pthread_mutex_t).
- Implement all _lock_* functions in a new lock.c, supporting both
  normal and recursive mutexes.
- Zero-initialized locks are lazily created on first acquire using
  double-checked locking, preserving newlib/esp_libc semantics.
- Add lock.c unconditionally to the linux component sources and link
  pthread.
2026-06-04 11:36:34 +02:00
Guillaume Souchere 9835daba70 feat(freertos/vfs): add Linux cooperative syscall dispatch with VFS FD registration
Rework the syscall interposition architecture so FreeRTOS works
standalone (without VFS) and VFS optionally overrides with strong
symbols.  All kernel FDs are registered with VFS via
esp_vfs_register_fd_with_local_fd, so the application only sees
VFS-allocated FD numbers, preventing numerical collisions between
kernel FDs and VFS-internal FD slots.

FreeRTOS side:
- Create linux_port_coop_internal.h with LINUX_COOP_IO_LOOP,
  LINUX_COOP_RESOLVE, linux_coop_yield and FD state table functions
- Export cooperative I/O primitives (freertos_linux_coop_read/write/
  open/close/fcntl/select/pread/pwrite/readv/writev/recv/send/
  recvfrom/sendto/recvmsg/sendmsg/connect/accept/pselect/poll/
  socket/socketpair/pipe/pipe2/dup/dup2/syscalls_init)
- Define weak POSIX symbols calling through to the cooperative
  primitives; keep nanosleep/sleep/usleep as strong (not FD-related)
- Refactor freertos_linux_coop_syscalls.h into a pure public API header

VFS side:
- Register the Linux host FS with esp_vfs_register_fs_with_id() as a
  proper VFS driver; register stdin/stdout/stderr at init (priority 99)
- Rewrite vfs_linux.c with strong POSIX symbols dispatching through
  esp_vfs_*
- Add strong overrides for FD-creating syscalls (open, pipe, pipe2,
  socket, socketpair, dup, dup2, accept) that register returned FDs
  with VFS
- Add strong overrides for FD-translating syscalls (readv, writev,
  recv, send, recvfrom, sendto, recvmsg, sendmsg, connect, pselect,
  poll) that translate VFS FD to kernel FD
- Delete vfs_coop_syscalls.c (absorbed into FreeRTOS weak + VFS strong)
- Update CMakeLists.txt: remove vfs_coop_syscalls.c, add linker hook
2026-06-04 11:36:34 +02:00
Guillaume Souchere 78420f2614 feat(freertos): soft-preempting linux simulator 2026-06-04 11:36:21 +02:00
yanzihan@espressif.com f9a0e0ad95 feat(pvt): fix monitor en rst error in pvt func on master 2026-06-04 17:32:20 +08:00
Alexey Lapshin 7bcf7dcbcf feat(lp_core): optimize ulp_lp_core_delay_X functions 2026-06-04 16:12:21 +07:00
Alexey Lapshin 321c7677ca fix(esp_tee): fix buffer overflow 2026-06-04 16:02:36 +07:00
luoxu 6b8ddc66f8 fix(ble_mesh): Miscellaneous bugfixes according to our internal bug report (v2) 2026-06-04 16:45:36 +08:00
Marius Vikhammer d21dc8ca2e feat(freertos): added option for automatically placing task stacks in PSRAM
When CONFIG_FREERTOS_PLACE_TASK_STACKS_IN_EXT_RAM is enabled freertos will
now automatically allocate task stacks to PSRAM.
2026-06-04 16:06:52 +08:00
Chen Jichang 1f7fc79540 fix(gdma): fix crc stuck with large input 2026-06-04 15:59:45 +08:00
Chen Ji Chang 424a685692 Merge branch 'fix/fix_s31_pcnt_test_failure' into 'master'
test(pcnt): fix test failure on s31 after AXI raise to 106M

Closes IDFCI-11672, IDFCI-11678, IDFCI-11679, and IDFCI-11680

See merge request espressif/esp-idf!49224
2026-06-04 11:52:57 +08:00
Jiang Jiang Jian ed31b372b7 Merge branch 'feat/support_esp32h21_coex' into 'master'
feat(coex): support esp32h21 coexist

Closes IDF-11658, IDF-11659, and IDF-11660

See merge request espressif/esp-idf!48948
2026-06-04 11:51:24 +08:00
morris e892e09d6c Merge branch 'bugfix/async_crc_timeout' into 'master'
fix(async_crc): limit blocking timeout support

See merge request espressif/esp-idf!49226
2026-06-03 18:59:44 +08:00
Konstantin Kondrashov 885097762f feat(efuse): Support efuse token dump
- efuse token dump is compatible with espefuse tool
- EFSW dump can be burned on chip with esp_efuse_token_burn()
2026-06-03 13:19:59 +03:00
Konstantin Kondrashov ce76bb9a4d Merge branch 'feature/adds_ipc_isr_safe_api' into 'master'
feat(ipc_isr): Adds IPC ISR safe API to stall other CPU

See merge request espressif/esp-idf!41005
2026-06-03 13:06:22 +03:00
cjin 5483aeedb6 fix(ble): fix conn recycle assertion at halt on ESP32-C2 2026-06-03 17:48:25 +08:00
Island d4c8d211e1 Merge branch 'idf/ble_iso_minor_update' into 'master'
feat(ble_iso): Minor update for some ISO internal functions

See merge request espressif/esp-idf!49225
2026-06-03 17:39:21 +08:00