Files
esp-idf/docs/en/api-reference/storage
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
..
2018-07-20 10:41:11 +05:30
2025-09-30 15:28:55 +02:00