Cenk Gündoğan
7fef5e030a
Merge pull request #9485 from miri64/gnrc_sixlowpan_iphc/enh/i8511-send
...
gnrc_sixlowpan_iphc: refactor sending for #8511
2018-07-25 17:57:59 +02:00
Martine Lenders
80322cbd7d
gnrc_sixlowpan_iphc: refactor sending for #8511
...
This refactors sending/encoding part of `gnrc_sixlowpan_iphc` to the
more layered approach modeled in #8511 . Since the reception part is
already was pretty complicated to refactor, I decided to divide send
and receive up into separate changes.
2018-07-25 17:35:59 +02:00
Gaëtan Harter
0fe5ec13ad
Merge pull request #9623 from jcarrano/fix-force-usage
...
Makefile.include: Replace PHONY by FORCE
2018-07-25 14:26:35 +02:00
Juan I Carrano
0a53b6142b
Merge pull request #9599 from cladmi/pr/make/newlib/add_test_for_newlibnano
...
tests/libc_newlib: add test for newlib-nano inclusion
2018-07-25 13:32:46 +02:00
Juan Carrano
2ba8683315
Makefile.include: Make config header FORCE instead of PHONY.
2018-07-25 12:35:06 +02:00
Juan Carrano
c60a06b058
Makefile.include: Make eclipsesym.xml FORCE (not PHONY).
2018-07-25 12:35:06 +02:00
Juan Carrano
b86a326de6
Makefile.include: Make archives FORCE instead of PHONY.
2018-07-25 12:35:06 +02:00
Juan Carrano
8667758cb0
Makefile.include: make pkgs Makefile.include FORCE instead of PHONY
...
The rule to rebuild the Makefile.include(s) should be removed at some
point.
2018-07-25 12:35:06 +02:00
Juan Carrano
5ce0720bcf
Makefile.include: Explain usage of FORCE and PHONY.
2018-07-25 12:35:06 +02:00
Martine Lenders
d6b2a9ed01
Merge pull request #9483 from miri64/gnrc_sixlowpan_frag/enh/finish-frag
...
gnrc_sixlowpan_frag: Expose functions to finish datagram
2018-07-25 11:53:14 +02:00
Gaëtan Harter
db00922b3d
tests/libc_newlib: add test for newlib-nano inclusion
...
This test verifies that when used, newlib-nano is correctly included, both
header and also linked.
2018-07-25 11:43:19 +02:00
Martine Lenders
64fed621d2
gnrc_sixlowpan_frag: Expose functions to finish datagram
...
This will be used in the IPHC refactoring to control the reassembly
buffer as a context.
I also adapted the name of `gnrc_sixlowpan_frag_gc_rbuf()` to be in
line with the rest of the newer functions.
2018-07-25 11:26:02 +02:00
Cenk Gündoğan
0dc02d9a97
Merge pull request #9482 from miri64/gnrc_sixlowpan_frag/enh/pages
...
gnrc_sixlowpan_frag: add page context to reassembly buffer
2018-07-24 18:16:39 +02:00
Cenk Gündoğan
2421838609
Merge pull request #9630 from cgundogan/pr/gnrc_udp_comment_fix
...
tests/gnrc_udp: remove pktdump from comment
2018-07-24 18:02:43 +02:00
Gaëtan Harter
1fb6aa0421
Merge pull request #9615 from miri64/tests/enh/periph_pwm_puts
...
tests: use literal string instead of format string for interval
2018-07-24 18:00:42 +02:00
Gaëtan Harter
3f35ec5eda
Merge pull request #9609 from miri64/pkg/fix/emb6-llvm
...
emb6: llvm fixes
2018-07-24 17:57:29 +02:00
Cenk Gündoğan
6aeb4f6cbd
tests/gnrc_udp: remove pktdump from comment
2018-07-24 17:35:20 +02:00
Gaëtan Harter
7e024956a5
Merge pull request #9622 from kaspar030/add_murdock_hook
...
murdock: add hook support
2018-07-24 17:12:33 +02:00
Cenk Gündoğan
e189d96171
Merge pull request #9585 from miri64/sixlowpan/fix/print
...
sixlowpan: various fixes to sixlowpan_print() function
2018-07-24 14:00:13 +02:00
Juan I Carrano
d3b5a79bc1
Merge pull request #9624 from cladmi/pr/make/nm
...
toolchain/gnu: also define NM
2018-07-24 09:59:47 +02:00
Peter Kietzmann
1b7e164662
Merge pull request #9606 from bergzand/pr/netif/conf_events_on_reset
...
gnrc_netif: reapply event flags on device reset
2018-07-24 08:43:52 +02:00
Gaëtan Harter
cde5a91a8a
toolchain/gnu: also define NM
...
llvm is defining NM already and `openthread` is using the symbol.
2018-07-23 17:29:55 +02:00
Joseph Noir
0736de37c9
Merge pull request #9363 from gschorcht/pthread-g++
...
core/pthread: make them compilable with g++
2018-07-23 17:06:19 +02:00
5810e10de5
murdock: add hook support
2018-07-23 10:04:13 +02:00
Gunar Schorcht
9db03537b9
core/pthread: make them compilable with g++
2018-07-21 14:24:57 +02:00
Martine Lenders
dc8c983d26
Merge pull request #9341 from bergzand/pr/sockutil/cleanup
...
sock_util: Add unittest and fix detected issues.
2018-07-20 12:09:31 +02:00
e91af6d556
sock_util: Add tests
2018-07-20 11:48:29 +02:00
0c43dc743d
sock_util: Limit recursion in str2ep
2018-07-20 11:48:29 +02:00
b024ff1cb8
sock_util: Add checks to port number parsing
...
Add additional checks to the port number parsing in str2ep to validate
the port number supplied in the string. This only verifies that the port
number is no longer than 5 chars and the resulting number fits in a
uint16_t.
It is still possible to supply up to 5 random chars.
2018-07-19 22:07:19 +02:00
bff8694051
sock_util: check path length in urlsplit
...
Add a length check to the path to ensure that it fits in the supplied
buffer in the urlsplit function
2018-07-19 22:07:19 +02:00
d93ecab880
sock_util: Add terminator to host-port string
...
Add missing null terminator to the returned host-port string in
sock_udp_ep_fmt
2018-07-19 22:07:18 +02:00
b8a494fb76
sock_util: Prevent overflow in sock_urlsplit
...
This adds a length check to verify if the host-port part of the URL fits
in the supplied buffer
2018-07-19 22:07:18 +02:00
3096823ab4
sock_util: Allow URLs without path as valid
...
URLs without a path were treated as invalid, while according to the URL
specification they are valid
Also fixes a missing null terminator in the returned path
2018-07-19 22:07:18 +02:00
3402e3509c
sock_util: Prevent overflow in _find_pathstart
...
Limit the number of scanned chars in _find_pathstart to the predefined
size
2018-07-19 22:07:18 +02:00
b0309145f0
sock_util: Limit URL scheme size
2018-07-19 22:07:17 +02:00
Martine Lenders
adbc977370
emb6_sock_udp: fix atomic initialization
2018-07-19 20:45:53 +02:00
Martine Lenders
dbafd505fd
emb6: ignore llvm warnings
2018-07-19 20:44:43 +02:00
Martine Lenders
04b58da249
tests: use literal string instead of format string for interval
...
`UINT16_MAX` should be the same value on all platforms, so why not use
`puts` instead of `printf` here instead. Also, `llvm` detects an issue
with using the `UINT16_MAX` macro with `PRIu16` here.
2018-07-19 20:35:00 +02:00
Martine Lenders
2412c001cf
Merge pull request #9612 from cladmi/pr/make/cflags/llvm
...
cflags.inc.mk: fix cflags test for llvm
2018-07-19 19:44:57 +02:00
Gaëtan Harter
c3f32182d3
Merge pull request #9613 from miri64/lis3mdl/fix/default-params
...
lis3mdl: fix default params
2018-07-19 19:36:27 +02:00
Martine Lenders
e986562631
lis3mdl: fix default params
...
In the default config .odr and .scale where switched around.
2018-07-19 19:14:08 +02:00
Gaëtan Harter
a99dd332cc
cflags.inc.mk: fix cflags test for llvm
...
gcc does an error but not clang, so add -Werror.
2018-07-19 18:59:20 +02:00
Andreas "Paul" Pauli
bf3ce68a86
Merge pull request #9025 from Josar/pr/timer_debug_pin
...
atmega timer: Interrupt Pin
2018-07-19 18:34:39 +02:00
Martine Lenders
0d3af49278
Merge pull request #9603 from miri64/gnrc_mac/fix/print-formatting
...
gnrc: mac: fix types according to print formatting
2018-07-19 17:18:48 +02:00
Martine Lenders
51a9ac1795
Merge pull request #9355 from gebart/pr/Wformat
...
cflags: add -Wformat=2 -Wformat-overflow -Wformat-truncation
2018-07-19 15:23:10 +02:00
Martine Lenders
3870def74c
gnrc: mac: fix types according to print formatting
...
As reported by `llvm`.
2018-07-19 15:13:39 +02:00
30e683ccfe
gnrc_netif: reapply event flags on device reset
...
On a NETOPT_STATE set call with NETOPT_STATE_RESET the netdev device
resets the callback event flags. This requires that after the netdev
device resets, the network stack also reapplies these callback event
flags
2018-07-19 14:51:14 +02:00
Martine Lenders
e511f274fe
Merge pull request #9604 from cladmi/pr/llvm/lua
...
lua: remove unsupported flags for llvm
2018-07-19 14:42:13 +02:00
Gaëtan Harter
4b9a1a3460
Merge pull request #9597 from miri64/tests/fix/clang-infinite-recursion
...
tests: ignore infinite recursion for mpu_stack_test with clang
2018-07-19 14:09:28 +02:00
Gaëtan Harter
c509b6f05c
lua: remove unsupported flags for llvm
...
Prevents error:
clang: error: unknown argument: '-fstack-usage'
clang: error: unknown argument: '-fconserve-stack'
The flags are here to print debug information and try to optimize stack but are
not required.
2018-07-19 14:06:35 +02:00