Commit Graph

6784 Commits

Author SHA1 Message Date
Dirk Ziegelmeier
3aef9c5305 VSCode cleanups 2018-10-22 19:48:01 +02:00
Dirk Ziegelmeier
f53932d7ca Travis: Remove "-j 4" command line option - does not make sense for ninja-build 2018-10-22 17:18:34 +02:00
Dirk Ziegelmeier
3f690e0bf0 Improve build system documentation 2018-10-21 20:30:48 +02:00
Dirk Ziegelmeier
95aba99f41 Implement task #11620: Add outgoing VLAN PCP support for Ethernet level QoS
Apply rebased patch from Timmy Brolin
2018-10-19 22:30:17 +02:00
Dirk Ziegelmeier
64bc2c3df7 Fix bug #54805: IP address can not be obtained over dhcp if PBUF_POOL_BUFSIZE is too small
Patch by Christoph Chang
2018-10-19 21:06:15 +02:00
Joan Lledó
413b26a7e1 Allow the use of external Sockets headers
New macro LWIP_SOCKET_HEADERS can be used to replace
    LwIP sockets headers by OS's headers.

    By default LWIP_SOCKET_HEADERS==LWIP_SOCKET, when LWIP_SOCKET==1
    and LWIP_SOCKET_HEADERS==0, user must provide their custom headers
    by setting LWIP_INCLUDE_SOCKETS and LWIP_INCLUDE_INET.
2018-10-19 20:30:24 +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
cf4cefd73c Try to get ninja-build running on Travis 2018-10-18 11:05:07 +02:00
Dirk Ziegelmeier
23945d2e3f Try to build documentation on travis, too 2018-10-18 10:58:29 +02:00
Dirk Ziegelmeier
daeceeeca0 Next try to get CMake up and running on Travis 2018-10-18 10:47:51 +02:00
Dirk Ziegelmeier
5840b090d4 Travis: Use CMake from /usr/local/bin 2018-10-18 10:33:35 +02:00
Dirk Ziegelmeier
95eada2119 Revert a change that was made for old cmake version
Lets see if it works now on travis...
2018-10-18 10:17:19 +02:00
Dirk Ziegelmeier
2e51e0dc81 Travis: Use newer CMake, install Ninja 2018-10-18 10:05:57 +02:00
Simon Goldschmidt
9171960c11 update ignore list 2018-10-18 09:04:38 +02:00
Simon Goldschmidt
0be3e35bf2 tftp: mode_to_string() should be static 2018-10-17 21:53:04 +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
Simon Goldschmidt
0ee4784d0c tftp client: pass 'mode' as an enum, not as a string constant 2018-10-17 21:37:46 +02:00
Simon Goldschmidt
4edbec760a README: put wiki after mailing lists (it's not that good...) 2018-10-17 20:27:00 +02:00
Dirk Ziegelmeier
ee269ceec5 Fix bug #54850: lwip definition of htonX and ntohX do not properly cast to unsigned when byte order is Big Endian
Changes suggested by Ivan Warren
2018-10-17 20:23:28 +02:00
Dirk Ziegelmeier
c2892ed0fb Travis: Try to use Clang-7 2018-10-15 08:58:43 +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
fa76861481 tftp: fix cast warnings; return all error codes
Also keep tftp_mode in tft_state

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-13 20:26:06 +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
c35dd079ee Adapt launch.json to top-level CMakeLists.txt 2018-10-13 11:26:32 +02:00
Dirk Ziegelmeier
31545ed787 Getting CMake build running on travis 2018-10-13 11:06:00 +02:00
Dirk Ziegelmeier
ea1337d5a2 Travis: Next try for CMake... 2018-10-13 10:57:26 +02:00
Dirk Ziegelmeier
31dbc5722c Another try to get CMake run on travis 2018-10-13 10:54:54 +02:00
Dirk Ziegelmeier
22c1c4ec8d Try to get CMake build running on travis 2018-10-13 10:45:58 +02:00
Dirk Ziegelmeier
d03d4c16fb Travis/LSAN: reenable thread logging, sudo REQUIRED solved the problem 2018-10-13 10:32:37 +02:00
Dirk Ziegelmeier
d33098a8d8 Travis: Try sudo:required 2018-10-13 10:23:42 +02:00
Dirk Ziegelmeier
60afb13e60 Play with LSAN_OPTIONS 2018-10-13 10:00:18 +02:00
Dirk Ziegelmeier
f521d779fb Work on Travis-CI 2018-10-13 09:49:48 +02:00
Dirk Ziegelmeier
ded63c12f1 Try to use more recent compilers on travis 2018-10-13 09:27:18 +02:00
Simon Goldschmidt
ed999f0195 Update travis-CI URL 2018-10-12 22:57:47 +02:00
Simon Goldschmidt
eeef3f65b8 Add a unit test for bug #54833 (tcp_abort with wrong ports)
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 22:57:24 +02:00
Simon Goldschmidt
a63a7d3c76 Fix bug #54806 (ppp: invalid LWIP_ASSERT_CORE_LOCKED() check)
pppos_input() is safe to call from outside tcpip_thread when
PPP_INPROC_IRQ_SAFE == 1, so only check if PPP_INPROC_IRQ_SAFE == 0

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 22:26:51 +02:00
Dirk Ziegelmeier
06016cc939 Disable CMake build for now, seems I need a newer CMake version 2018-10-12 22:22:35 +02:00
Simon Goldschmidt
426a6004bf Revert "tcp_abandon: no need to buffer pcb->local_port"
This reverts commit 1570dd8ad1.

Buffering pcb->local_port is needed because TCP_PCB_REMOVE_ACTIVE()
sets it to 0 via tcp_pcb_remove() (comment: "reset the local port
to prevent the pcb from being 'bound'").

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 22:14:23 +02:00
Dirk Ziegelmeier
1bba969a4a Next try to fix CMake build on Travis 2018-10-12 22:12:07 +02:00
Dirk Ziegelmeier
1c5c2967e4 Try to fix Travis-CI CMake build 2018-10-12 22:06:10 +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
a63b5aeaa7 Rename test.sh to travis.sh 2018-10-12 21:44:47 +02:00
Dirk Ziegelmeier
75bc361156 Add example app to travis (using cmake) 2018-10-12 21:42:41 +02:00
Simon Goldschmidt
0528f68c6d Fixed the remaining dhcp unit tests after adding ACD
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 21:37:17 +02:00