Xadhoom
1f9e26e221
Use reentrant mutex for core thread
5 years ago
Xadhoom
07a75f9e08
Merge commit '4fd612c9c72dfcd1db6618bd59c1a17d9f5b55f8' of github.com:joseph-henry/lwip-contrib into master
5 years ago
Xadhoom
d70a2a6742
Fix sys_thread_function
5 years ago
Xadhoom
cbe9085b34
Disable LWIP_PROVIDE_ERRNO
5 years ago
Joseph Henry
4fd612c9c7
Removed conflicting fd_set definition, tweak to LWIP_PLATFORM_DIAG(x)
7 years ago
Simon Goldschmidt
35b011d4cf
Fix compiling lwiperf_example.c with TCP disabled
8 years ago
Simon Goldschmidt
866db8b37a
example_app/lwipopts.h: fix compiler error in init.c checks
8 years ago
Simon Goldschmidt
70ca8292cf
example_app: increase PBUF_POOL_BUFSIZE and TCP_WND (for TLS)
...
mbedTLS needs the tcp receive window big enough to buffer a maximum
sized decryption fragment.
Since this config is an example only, let's just increase the sizes
to make this work by default.
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Simon Goldschmidt
5f49a0a8dd
win32: fix compiling with VS2017
8 years ago
Dirk Ziegelmeier
dcc3d1ed2e
Add configs that test "NO TCP" and "NO UDP"
8 years ago
Dirk Ziegelmeier
545bb632a1
iteropts.sh: Create separate build log for each iteration
8 years ago
Dirk Ziegelmeier
f0c3a14607
CMake: Make it optional to use sanitizers
...
Enable them in unit tests if available
8 years ago
Dirk Ziegelmeier
64ea8a58c1
Make lwIP CMake build/link with sanitizers
...
But leave them disabled for now
8 years ago
Dirk Ziegelmeier
81ba8f3a45
Minor whitespace fix
8 years ago
Dirk Ziegelmeier
bddaaa3df4
Apply patch #9688 : Example code in MibCompiler
...
Fixes example code in MIB compiler
8 years ago
Dirk Ziegelmeier
c464d6ab78
Minor CMake cleanup
8 years ago
Dirk Ziegelmeier
7ce8224099
Minor CMake cleanup
8 years ago
Dirk Ziegelmeier
277d57ebc4
When checking for MBEDTLS, look for CMakeLists.txt
8 years ago
Joan Lledó
fe1a40db63
Unix port: add support for the Hurd.
...
* ports/unix/port/include/arch/cc.h:
Define LWIP_ERRNO_STDINCLUDE for Linux and Hurd, as defining
LWIP_ERRNO_INCLUDE doesn't work on these systems.
* ports/unix/port/sys_arch.c:
Rename pthread_cond_wait() and pthread_cond_timedwait()
to use the Hurd's non-portable versions on GNU systems.
8 years ago
Dirk Ziegelmeier
cba72464bd
Revert "CMake: Remove linking unix lib with pthread"
...
This reverts commit 7ea79ee4b3 .
I didn't see that the libs from port/unix/Filelists.cmake have NOT been used
8 years ago
Dirk Ziegelmeier
7ea79ee4b3
CMake: Remove linking unix lib with pthread
...
This dependency is already handled in ports/unix/Filelists.cmake
8 years ago
Dirk Ziegelmeier
f604ad57a4
Update .gitignore for unix/lib/build
8 years ago
Joan Lledó
453cda2059
Add a unix shared library with cmake
8 years ago
Dirk Ziegelmeier
62c0ed38cb
bug #54593 : Can't compile unix port with GCC 8
8 years ago
Dirk Ziegelmeier
cad288fa64
Disable sanitizer flags for now, they lead to linking problems
...
Disable flags to avoid problems in 2.1 release
8 years ago
Dirk Ziegelmeier
df1fdd1ee9
Forgot to adapt UNIX check project
8 years ago
Dirk Ziegelmeier
2af9104908
Fix typo in ports/unix/Filelists.cmake
8 years ago
Dirk Ziegelmeier
33fa79f4bc
Simplify CMAKE application project
...
Restructure adding compile definitions / include dirs to be more convenient for the user
8 years ago
Dirk Ziegelmeier
4766e73198
More CMAKE build system cleanups
...
Replace global include dirs / compile definition handling for MBEDTLS, too
8 years ago
Dirk Ziegelmeier
7942a3d7d1
Cleanup CMAKE build system
...
Use target-specific commands for compile flags / linking etc. only
8 years ago
Dirk Ziegelmeier
2917f46ded
CMake Build System: Export compile commands for IDEs that can use it, e.g. VS Code
8 years ago
Simon Goldschmidt
2544c3a4b2
add unix example_app binaries to ignore list
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Simon Goldschmidt
b94e071e2a
add semi-automatic test for option permutations
...
For now, this works on some manually generated option files.
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Simon Goldschmidt
5c8e1dffc8
unix port: fix compiling tapif for NO_SYS
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Simon Goldschmidt
e4d16330a1
unix port: fix compiling NO_SYS
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Simon Goldschmidt
dece1fe709
mdns_example: fix build for LWIP_MDNS_RESPONDER==0
8 years ago
Simon Goldschmidt
033deed807
tcp_isn: fix building with PPP support disabled and hook disabled
8 years ago
Simon Goldschmidt
196f100af3
apps/rtp: fix unreachable code warning
...
why does this pop up just now?
8 years ago
Simon Goldschmidt
d4eecdc027
mdns_example: use new probing callback
8 years ago
Simon Goldschmidt
5ca72a6373
apps: use lwip function names, don't depend on LWIP_COMPAT_SOCKETS
8 years ago
Simon Goldschmidt
40f1684695
fs_example.c requires LWIP_HTTPD_FS_ASYNC_READ
8 years ago
Simon Goldschmidt
9efe335bba
ports/win32/sys_arch.c: fix compiling with LWIP_NOASSERT defined
8 years ago
Simon Goldschmidt
dd664e6363
example_app/lwipopts: don't define PBUF_LINK_HLEN to 16
...
This breaks PBUF_RAW against pbuf_add_header(PBUF_LINK_HLEN) like used
at least in icmp. Redefine ETH_PAD_SIZE instead if this is required.
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Dirk Ziegelmeier
328c22cac3
Remove deleted files from file lists
8 years ago
Dirk Ziegelmeier
5d547e26e5
Clean up contrib repository
...
- Delete old example applications that were partially unmaintained
- Delete unused/untested netifs
8 years ago
Dirk Ziegelmeier
539d9ea87c
Add Makefile-based build system for example app of Win32 port
...
Symmetry with unix port - it also has a Makefile-based build system
8 years ago
Dirk Ziegelmeier
6e40050321
example_app: Add missing LWIP_IPV6_AUTOCONFIG compile guard
8 years ago
Dirk Ziegelmeier
fcddb3f06f
lwipcfg.h: Remove duplicate LWIP_MQTT_APP #define
8 years ago
Dirk Ziegelmeier
9e69e3aeee
Fix misleading function name that has msvc in it
...
it contains no platform specific code
8 years ago
Sylvain Rochet
3c4ce32666
PPP, PPPoS, example: condition build to PPPOS_SUPPORT instead of PPP_SUPPORT
...
Build fail if PPP_SUPPORT is enabled but PPPOS_SUPPORT is not because
we try to compile PPPoS example while PPPOS_SUPPORT is disabled.
Signed-off-by: Sylvain Rochet <gradator@gradator.net>
8 years ago