]> granicus.if.org Git - esp-idf/commit
lwip: Route LWIP socket POSIX I/O functions via IDF VFS layer
authorAngus Gratton <angus@espressif.com>
Tue, 3 Oct 2017 05:56:55 +0000 (16:56 +1100)
committerAngus Gratton <gus@projectgus.com>
Mon, 16 Oct 2017 01:45:49 +0000 (09:45 +0800)
commit3ebf7923d3d4370bc5e8a823fd1ae209bb2b8bc3
treeb5947c68c8be482d329e9dddbe3951904915782e
parenta320fed3b5fd55a7e914ac9a6630d22b6d2ebc06
lwip: Route LWIP socket POSIX I/O functions via IDF VFS layer

No more conflicts between LWIP & newlib read(), write(), fcntl(), etc.

select() still only works if all of the fds are sockets.

Closes https://github.com/espressif/esp-idf/issues/273
components/lwip/include/lwip/port/arch/sys_arch.h
components/lwip/include/lwip/port/arch/vfs_lwip.h [new file with mode: 0644]
components/lwip/include/lwip/port/lwipopts.h
components/lwip/port/freertos/sys_arch.c
components/lwip/port/vfs_lwip.c [new file with mode: 0644]
components/vfs/include/esp_vfs.h
components/vfs/vfs.c