Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
toki
configs
Commits
0623c66a
Commit
0623c66a
authored
Aug 20, 2020
by
Ulrich Huber
Committed by
Oliver Horst
Aug 31, 2020
Browse files
[fix] Fix renaming of syscalls of lwIP
parent
23a254eb
Changes
2
Show whitespace changes
Inline
Side-by-side
zcu102-zynqmp/freertos/baseline/master/lwip/include/lwip/lwipopts.h
View file @
0623c66a
...
...
@@ -38,8 +38,24 @@
* LWIP_POSIX_SOCKETS_IO_NAMES==1: Enable POSIX-style sockets functions names.
* Disable this option if you use a POSIX operating system that uses the same
* names (read, write & close).
* As we use newlib we can not enable this. Instead we rename within the syscall
* table or wrap the methods via newlib - whatever fits best.
*/
#define LWIP_POSIX_SOCKETS_IO_NAMES 1
#define LWIP_POSIX_SOCKETS_IO_NAMES 0
/**
* LWIP_SOCKET_SELECT==1 (default): enable select() for sockets (uses a netconn
* callback to keep track of events).
* This saves RAM (counters per socket) and code (netconn event callback), which
* should improve performance a bit).
*/
#define LWIP_SOCKET_SELECT 1
/**
* LWIP_SOCKET_POLL==1 (default): enable poll() for sockets (including
* struct pollfd, nfds_t, and constants)
*/
#define LWIP_SOCKET_POLL 1
/**
* If LWIP_PROVIDE_ERRNO is undefined, sockets.c will utilize <errno.h>
...
...
zcu102-zynqmp/freertos/baseline/slave/lwip/include/lwip/lwipopts.h
View file @
0623c66a
...
...
@@ -36,9 +36,25 @@
* LWIP_POSIX_SOCKETS_IO_NAMES==1: Enable POSIX-style sockets functions names.
* Disable this option if you use a POSIX operating system that uses the same
* names (read, write & close).
* As we use newlib we can not enable this. Instead we rename within the syscall
* table or wrap the methods via newlib - whatever fits best.
*/
#define LWIP_POSIX_SOCKETS_IO_NAMES 0
/**
* LWIP_SOCKET_SELECT==1 (default): enable select() for sockets (uses a netconn
* callback to keep track of events).
* This saves RAM (counters per socket) and code (netconn event callback), which
* should improve performance a bit).
*/
#define LWIP_SOCKET_SELECT 1
/**
* LWIP_SOCKET_POLL==1 (default): enable poll() for sockets (including
* struct pollfd, nfds_t, and constants)
*/
#define LWIP_SOCKET_POLL 1
/**
* If LWIP_PROVIDE_ERRNO is undefined, sockets.c will utilize <errno.h>
* included by the platform. If LWIP_PROVIDE_ERRNO is set to 1, "lwip/arch.h"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment