Simon Goldschmidt
5666f305ce
sntp: obey KoD when using multiple servers
...
See bug #55253 (SNTP retry next server instantly result as a flood of NTP request).
Added 'sntp_getkodreceived()' to check the status.
2019-01-30 20:42:56 +01:00
Simon Goldschmidt
8e86555f93
mdns: fix compiler errors and coding style
2019-01-30 20:15:26 +01:00
Simon Goldschmidt
2037ec371c
test: fix compiling unit test on win32
2019-01-30 14:53:41 +01:00
Simon Goldschmidt
3e59b224fa
tcpecho_raw: fix bogus pbuf_free on error
2019-01-30 14:20:16 +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
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