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
Jasper Verschueren
331368e3aa
mDNS: add new files to filelists + solve compile errors
...
ttl setting removed from example code.
string.h included where needed.
2018-11-13 12:17:38 +01:00
Dirk Ziegelmeier
2e9c60b410
Fix unused variable in snmp_example.c when SNMP is disabled
2018-11-07 21:09:30 +01:00
Dirk Ziegelmeier
65033b6ba5
Apply patch for task #15072 : SNMP support for notifications and informs (v2c)
...
Original author: Ognjen Bjelica
with minor fixes from Dirk Ziegelmeier
2018-11-07 21:04:53 +01:00
Dirk Ziegelmeier
93c3cfd2b1
Fix initialization of mqtt example IP
2018-11-07 21:04:53 +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
ba8d9b0018
lwipopts.h: Raise number of UDP PCBs
...
Was not sufficient when all apps are enabled
2018-11-02 20:21:50 +01:00
Dirk Ziegelmeier
ba705d3f7f
Fix assertions in udpecho.c
2018-11-02 20:19:52 +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
Simon Goldschmidt
ef02b1dc20
fix missing standard includes
...
These were a problem only if arch.h does not include them.
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-23 07:46:13 +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
Simon Goldschmidt
f098c4515e
tftp: added example for tftp client
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-17 21:39:37 +02:00
Dirk Ziegelmeier
f99f304c20
Add special compile config for Travis
2018-10-14 09:44:12 +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
abcf42b655
Fix compile of TFTP using GCC
2018-10-08 20:21:32 +02:00
Dirk Ziegelmeier
5a8bd37509
Improve TFTP comments
2018-10-08 12:48:16 +02:00
Dirk Ziegelmeier
6c2fd2d25d
Improve TFTP implementation
...
- implement server/client mode (API is nicer to use)
- Increase TFTP_MAX_MODE_LEN to be able to contain "netascii" transfer mode
- Adapt tftp_example to changes
2018-10-08 12:45:29 +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