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
Simon Goldschmidt
d4e40e6b02
example_app/lwipopts.h: make ip4 reassembly work with PBUF_POOL
...
The old setting (10) was too low for PBUF_POOL_BUFSIZE of 128
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Simon Goldschmidt
a065b306df
pcapif: check that input callback is not NULL
8 years ago
Simon Goldschmidt
83f3b4cac4
win32: add test_ip6.c
8 years ago
Simon Goldschmidt
47f9a834d2
win32: fix non-debug configs; fix unit tests; fix intermediate dirs
...
Non-debug configs and unit tests did not work after recent cleanups.
Intermediate directories were broken since forever but only recent VS
versions warn about this.
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Simon Goldschmidt
64f9b5429e
fix msvc project after moving/renaming files
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Simon Goldschmidt
f895fbb3ba
example_app: guard all apps with a define
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Simon Goldschmidt
7a5e5a9893
win32 port: restore graceful shutdown on keypress
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Dirk Ziegelmeier
2e56e70a30
Fix compile of default_netif.c when IPv4 is disabled
8 years ago
Dirk Ziegelmeier
f68e2873ed
Test app: a few compile fixes
8 years ago
Dirk Ziegelmeier
49ddf81807
Win32: Remove mingw port, it is now handled by CMake example_app
8 years ago
Dirk Ziegelmeier
a95a3078b4
Fix MSVC solution after I broke it yesterday while working on unified test app
8 years ago
Dirk Ziegelmeier
6165d1b35b
Make win32 example_app work with CMake build system
8 years ago
Dirk Ziegelmeier
f5bef4c578
Some cleanups to my last commit
8 years ago
Dirk Ziegelmeier
14f93f8233
Create unified example application shared between Unix and Win32
...
Move win32 test.c and its config files to separate example_app directory
Refactor platform specific code into new per-port files
!!! This breaks Win32 application until I can fix it at work where I have access to MSVC !!!
8 years ago
Dirk Ziegelmeier
d190e671f4
Clean fix for compile problems in tcp_md5.c
8 years ago
Dirk Ziegelmeier
8a4a27e352
Adapt win32 port to my latest cmake changes (untested, I don't use MS Windows at home)
8 years ago
Dirk Ziegelmeier
e5f74e9391
Minor cleanups in cmake files
8 years ago
Dirk Ziegelmeier
fd736d539a
Fix a few compile warnings in tcp_md5.c
8 years ago
Dirk Ziegelmeier
e6c17cda2b
A few cleanups in lwIP unittests (unix port) CMakeLists.txt
8 years ago
Dirk Ziegelmeier
56366c2f41
Work on CMake build system - restructure to use included cmake files, this is more flexible
8 years ago
Dirk Ziegelmeier
64da512d90
Work on CMake build system - Add CMake project for unit tests
8 years ago
Dirk Ziegelmeier
c8b4354440
Work on CMake build system - several cleanups
8 years ago
Dirk Ziegelmeier
b88b65f6d4
Work on CMake build system - prevent building MBEDTLS applications and minor cleanups
8 years ago
Dirk Ziegelmeier
43bc5bccbd
Work on CMake build system - start working on Win32 port
8 years ago
Dirk Ziegelmeier
534e4e1be3
Work on CMake build system
...
Try to make mbedtls checks platform-independent
It seems disabling compile flags is not needed any more
8 years ago
Dirk Ziegelmeier
5a57fc8281
Continue working on CMake build system
...
Add ARM mbedtls support
8 years ago
Dirk Ziegelmeier
ef7009bc81
Continue working on CMake build system
...
Avoid checking for C++ compiler, not needed
8 years ago
Dirk Ziegelmeier
cd6ac9dfeb
Continue working on CMake build system
...
Link to correct libs
8 years ago
Dirk Ziegelmeier
ae5e9f7e86
Work on a CMake build system
...
Add compiler flags depending on compiler type
8 years ago
Dirk Ziegelmeier
cce6cd11ff
Work on CMake build system
...
Try to get unixsim to compile, but it currently has linking problems
8 years ago
Dirk Ziegelmeier
2a10cb3718
Try to fix build errors in tunif.c
8 years ago
Dirk Ziegelmeier
068d0a828f
Fix compile errors in tunif.c introduced by my last commit (can't compile at work)
8 years ago
Dirk Ziegelmeier
39d8e0bc48
Fix bug #53705 : Buffer overflow in low_level_output in tapif.c (port for Unix)
...
Was also present in tunif.c. While on it, also correct low_level_output() return values
8 years ago
Dirk Ziegelmeier
bfaf31b051
Enable LWIP_NETBIOS_RESPOND_NAME_QUERY in unix and win32 port
8 years ago
goldsimon
4226a067c4
win32 port: changes to sys stats must be locked
8 years ago
goldsimon
76829b6962
Add new 6LoWPAN files to msvc project
8 years ago
goldsimon
330175a259
win32 sys_arch.c: coding style fixes
8 years ago
Dirk Ziegelmeier
ac98868e16
-Wc90-c99-compat needs to be deactivated when compiling with MBEDTLS
...
MBEDTLS headers are incompatible
8 years ago
Joel Cunningham
194dee9956
win32: fix unit tests (bug #53396 )
...
Unit tests would not build on win32 since cc.h is taken from win32 port, but
sys_arch.c is specific to the unit tests. This results in the unit tests not
having a definition of lwip_win32_platform_diag
We resolve this by guarding the define with LWIP_TESTMODE, which is not
defined for lwIP_Test, but somehow defined for lwIP_Unittests (opt.h must
be included first someplace in the include tree)
8 years ago
goldsimon
ef7227301e
mqtt_example: fix compiling IPv6-only
8 years ago
Joel Cunningham
b3c6d14496
unit: add XML file to clean target
...
Ensure 'make clean' in Unix unit test directory cleans up the XMl file
8 years ago