Commit Graph

44 Commits

Author SHA1 Message Date
Simon Goldschmidt
2037ec371c test: fix compiling unit test on win32 2019-01-30 14:53:41 +01:00
Dirk Ziegelmeier
ea14b774c8 Replace several occurences of stdint types by lwIPs portability typedefs
Fixes bug #55405: Usage of uint8_t instead of ui8_t in TCP code
2019-01-06 21:19:04 +01:00
Dirk Ziegelmeier
930eb27ba7 CMake: add debug info only for debug builds 2018-11-28 22:43:21 +01:00
Dirk Ziegelmeier
aaf7f03d95 List supported build types in top-level CMakeLists.txt 2018-11-26 09:26:37 +01:00
Dirk Ziegelmeier
0df4109074 Fix MSVC optimization flags 2018-11-26 08:11:39 +01:00
Dirk Ziegelmeier
982b86fa48 CMake: Add support for Debug/Release builds 2018-11-25 14:25:23 +01:00
Dirk Ziegelmeier
5da6c0cfd0 CMake build system: Fix STREQUAL comparisons and set /Wall for MSVC 2018-11-22 13:25:43 +01:00
Simon Goldschmidt
2a236088ae add new mdns files to win32 msvc project 2018-11-14 20:33:10 +01:00
Dirk Ziegelmeier
530a4ccdce Fix return value of sys_arch_mbox_tryfetch() in Win32 port
It should be SYS_MBOX_EMPTY, not SYS_ARCH_TIMEOUT.
SYS_MBOX_EMPTY is defined to SYS_ARCH_TIMEOUT, so there is no bug.
But for good readability of the code,  SYS_MBOX_EMPTY should be used.
2018-11-13 20:35:53 +01:00
Dirk Ziegelmeier
915e923809 Fix bug #55017: Wrong return value in sys_arch_mbox_tryfetch() in FreeRTOS port 2018-11-13 20:34:18 +01:00
Dirk Ziegelmeier
0df1559056 Improve comments in setup-tapif 2018-11-07 21:04:53 +01:00
Dirk Ziegelmeier
fe05be110d Unix port setup-tapif: Add bridge to TAP interface 2018-11-04 08:59:41 +01:00
Dirk Ziegelmeier
feee9d903a Unix port: Give threads a name on Linux
May also work on Darwin, but I can't test it :-)
2018-11-02 20:22:22 +01:00
Dirk Ziegelmeier
33325bbf3b Make setup-tapif script executable 2018-11-02 19:32:39 +01:00
Dirk Ziegelmeier
6b92dd6907 CMakeCommon.cmake: Add missing newline 2018-10-24 15:08:02 +02:00
Simon Goldschmidt
688b0935e2 Try to catch missing std includes on travis
By defining LWIP_PLATFORM_ASSERT to a function, we can prevent arch.h
from including stdio.h and stdlib.h

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-23 08:00:37 +02:00
Simon Goldschmidt
a6cf42a937 fix compiling win32 port (packet.lib not found)
Library search path changed after moving contrib

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-23 07:59:00 +02:00
Dirk Ziegelmeier
64e0ede1a1 Whitespace cleanup in contrib dir 2018-10-22 20:53:58 +02:00
Dirk Ziegelmeier
5405c3d97d Cleanup iteropts.sh output a bit 2018-10-18 22:36:59 +02:00
Dirk Ziegelmeier
c05b07c314 Fix iteropts test 2018-10-18 21:59:36 +02:00
Dirk Ziegelmeier
8f8c0d26ef Try to find out what goes wrong on travis... 2018-10-18 21:22:47 +02:00
Dirk Ziegelmeier
ca8f0254cf Try to get iteropts test running on Travis 2018-10-18 21:15:48 +02:00
Dirk Ziegelmeier
8dd931ab27 Fix cyclic linking dependency when using MBEDTLS 2018-10-14 09:43:22 +02:00
Simon Goldschmidt
f272a75b6a implement 'keypressed()' in the unix port
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-13 16:31:01 +02:00
Simon Goldschmidt
7c10065bd2 Revert "Try to implement platform-independent keypressed()"
This reverts commit a0d7b01186.

The new 'keypressed()' wasn't platform-independent but broke
the win32 port.

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-13 16:26:25 +02:00
Dirk Ziegelmeier
a0d7b01186 Try to implement platform-independent keypressed() 2018-10-13 11:26:59 +02:00
Dirk Ziegelmeier
22c1c4ec8d Try to get CMake build running on travis 2018-10-13 10:45:58 +02:00
Dirk Ziegelmeier
6826130d6f CMake: Use include_guard only when CMake >= 3.10.0 2018-10-12 22:01:25 +02:00
Dirk Ziegelmeier
e16cc67b70 Fix Makefile-based builds 2018-10-12 20:43:22 +02:00
Simon Goldschmidt
39162c2d0c Add new files to msvc projects 2018-10-12 20:32:34 +02:00
Dirk Ziegelmeier
ef5bc352fb Document CMake build system 2018-10-08 22:17:03 +02:00
Dirk Ziegelmeier
a6dc31433e Restructure CMake build system a bit
This should be easier to use for application devlopers
2018-10-08 21:18:18 +02:00
Dirk Ziegelmeier
cba4e1f2a7 CMake: MBEDTLSDIR -> LWIP_MBEDTLSDIR 2018-10-08 21:17:32 +02:00
Dirk Ziegelmeier
2124becd04 Give lwIP a top-level CMakeLists.txt
(as it is common in other projects)
This breaks iteropts.sh for now
2018-10-08 21:02:43 +02:00
Dirk Ziegelmeier
67d4fc9ff0 Minor cmake code cleanp 2018-10-05 08:04:22 +02:00
Dirk Ziegelmeier
d9c9b55766 CMake: add an include guard since files are intended to be included in other projects 2018-10-05 08:02:34 +02:00
Simon Goldschmidt
164210ab73 fix mbedtls with msvc project files after merging contrib
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-03 15:13:57 +02:00
Simon Goldschmidt
a5c00e369d fix msvc project files after merging contrib
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-03 14:38:04 +02:00
Dirk Ziegelmeier
0ef2514b6a Remove unmaintained contrib/ports/FILES 2018-10-02 13:08:12 +02:00
Dirk Ziegelmeier
7bd2c565e6 CMake: Make MBEDTLSDIR and WPDPACK_DIR (Win32) overridable 2018-10-02 13:06:01 +02:00
Dirk Ziegelmeier
04ff7926e7 CMake build system: It is now sufficient to set LWIP_DIR for build 2018-10-02 12:54:56 +02:00
Dirk Ziegelmeier
4b672a1f3c Adapt several comments to contrib rep move 2018-10-02 12:42:14 +02:00
Dirk Ziegelmeier
0244dc714b Work on fixing the build (integration of contrib) 2018-10-02 12:34:26 +02:00
Dirk Ziegelmeier
ac46e42aa2 Import lwIP contrib rep
... from http://git.savannah.gnu.org/cgit/lwip/lwip-contrib.git/ into contrib/ subdir, STABLE-2_1_0_RELEASE tag
lwIP contrib is now officially frozen
TODO: Fix build
2018-10-02 12:19:13 +02:00