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
Simon Goldschmidt
8d05e22f9a
Fix some dhcp unit tests after adding ACD, disable the rest
...
I disabled the yet unfixed tests to test if the new travis
integration works. Still working on them...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 21:20:23 +02:00
Simon Goldschmidt
b406a54389
Fix mqtt unit test broken after 684adaca
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 21:18:39 +02:00
Simon Goldschmidt
e3cd915fb9
Fix whitespace error introduced when merging 684adaca
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 21:18:17 +02:00
Simon Goldschmidt
0d4e1beec4
Fix compiling ACD without LWIP_RAND
...
Copy bad rand implementation from old one in autoip.c
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-12 21:05:19 +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
5a8ad9d4ba
Make test.sh executable
2018-10-12 20:26:22 +02:00
Dirk Ziegelmeier
a3a4103d66
Start working on Travis-CI integration
2018-10-12 20:09:58 +02:00
Dirk Ziegelmeier
437e0a6756
Fix C++ style comments in TFTP
2018-10-12 14:27:31 +02:00
Jonas Rabenstein
d1da9ec5d3
err.h: move typedef of err_t after enum definition
...
This allows for 'typedef err_enum_t err_t' and thus strong type checking
of the enum in c++.
2018-10-11 07:32:55 +02:00
Jonas Rabenstein
684adaca29
tcp_recved: check for overflow and warn about too big values
2018-10-11 07:31:54 +02:00
Dirk Ziegelmeier
f61e57965f
Minor coding style fix in tftp.c
2018-10-09 09:07:08 +02:00
Dirk Ziegelmeier
27835fd798
Minor build system docs improvments
2018-10-08 22:19:31 +02:00
Dirk Ziegelmeier
ef5bc352fb
Document CMake build system
2018-10-08 22:17:03 +02:00
Dirk Ziegelmeier
65b1a395f4
TFTP: Fix doxygen docs
2018-10-08 22:16:40 +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
c8808f69b2
Fix tftp_init_client signature
2018-10-08 12:56:27 +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
de81e8bf19
VS Code again: Fix tasks.json for windows
2018-10-08 11:42:52 +02:00
Dirk Ziegelmeier
54fc708c76
Apply fix from Axel Lin
...
(Build issue if LWIP_DHCP is set to 0)
2018-10-08 11:42:28 +02:00
Dirk Ziegelmeier
7ba69d875c
Some TFTP cleanups
2018-10-08 11:41:51 +02:00
Ben Wijen
b2713601f0
tftp: Add client functionality
...
* add helper functions
* add tftp_get/tftp_put
* rename files
2018-10-08 09:00:20 +02:00
Joan Lledó
c683427bfd
alloc_socket(): Check for LWIP_SOCKET_POLL when setting select-related variables
2018-10-08 08:51:55 +02:00
Dirk Ziegelmeier
0f100b8c5b
VSCode: Fix windows command line
2018-10-08 08:14:55 +02:00
Dirk Ziegelmeier
ff44049baf
Rename DHCP_DOES_ACD_CHECK ->LWIP_DHCP_DOES_ACD_CHECK
2018-10-05 11:04:48 +02:00
Dirk Ziegelmeier
a3cdf3c4cc
Move two #defines from acd.h to acd.c since they are only useful in there
2018-10-05 10:58:30 +02:00
Dirk Ziegelmeier
015cff75fd
Fix "switch missing default case" in dhcp.c
2018-10-05 10:49:21 +02:00
Dirk Ziegelmeier
7492bfb0dc
Enable DHCP_DOES_ACD_CHECK by default
2018-10-05 08:38:13 +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