1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

18296 Commits

Author SHA1 Message Date
Martine Lenders
b03aa528e8 gcoap: don't allocate memo for clients without response handlers 2018-06-15 09:46:50 +02:00
Joakim Nohlgård
8514ff5f15 gnrc/pktbuf: Const correctness on gnrc_pktbuf_add 2018-06-15 00:44:23 +02:00
Joakim Nohlgård
fcae95ca96 embunit: Const test case names 2018-06-15 00:34:33 +02:00
2b1ed99a49 core: add more stacksize defines 2018-06-14 23:29:03 +02:00
Martine Lenders
2c9ee62eb0 gnrc_sixlowpan: fix order of gnrc_sixlowpan_msg_frag_t
While working on #9352 I noticed that the order of members in the
`gnrc_sixlowpan_msg_frag_t` struct costs us 4 bytes in RAM due to byte
alignment. This PR fixes the order of members, so they are the most
packed.
2018-06-14 17:35:29 +02:00
Martine Lenders
86cbde2db5 gnrc_sixlowpan_frag: expose (parts of) reassembly buffer
This exposes the parts of the reassembly buffer to be usable as context
as proposed in #8511.

I only exposed *parts of* for two reasons:

1. I don't need to expose further types (like `rbuf_int_t`), that are
   not of interest outside of fragmentation.
2. This allows for an easy future extension for the virtual reassembly
   buffer as proposed in [[1]].

This makes this change a little bit more involved, because instead of
just renaming the type, I also need to add the usage of the `super`
member, but I think in the end this little preparation work will be
beneficial in the future.

[1]: https://tools.ietf.org/html/draft-watteyne-6lo-minimal-fragment-01#section-3
2018-06-14 17:22:58 +02:00
afe02bcbf4
tests/fmt: Extend test with fmt_strnlen 2018-06-14 11:57:11 +02:00
1778dbde85
fmt: Add fmt_strnlen function 2018-06-14 11:57:11 +02:00
Hauke Petersen
83abf11f2f
Merge pull request #9344 from haukepetersen/fix_test_sizeoftcbtypo
test/sizeof_tcp: fixed typo in Makefile
2018-06-14 11:17:26 +02:00
Hauke Petersen
9ff84fa56a test/sizeof_tcp: fixed typo in Makefile 2018-06-14 11:01:55 +02:00
Martine Lenders
e91e0a7807
Merge pull request #9261 from kb2ma/gcoap/refine_re-register
net/gcoap: Refine Observe re-registration
2018-06-13 16:05:40 +02:00
ea2c9ca66b
Merge pull request #9339 from cladmi/pr/vars/whitespace
makefiles/vars.inc.mk: fixup indentation
2018-06-13 13:43:27 +02:00
Gaëtan Harter
2c9800d5d8
makefiles/vars.inc.mk: fixup indentation 2018-06-13 13:29:20 +02:00
Hauke Petersen
ce36f0d3a4
Merge pull request #9338 from kaspar030/fix_mbox_dox
core/mbox: doc typo fixes
2018-06-13 13:18:21 +02:00
2212850fbb core/mbox: doc typo fixes 2018-06-13 12:13:24 +02:00
0fb39f9141
Merge pull request #9288 from aabadie/pr/driver/at_return_macro
drivers/at: make OK and ERROR replies configurable
2018-06-13 10:07:05 +02:00
ceb9710b3e drivers/at: make OK and ERROR replies configurable 2018-06-13 09:49:13 +02:00
d8c3e1da4e
Merge pull request #8549 from haukepetersen/opt_boards_stm32-clk-f4-180
boards/stm32-based: use shared configuration snippets
2018-06-12 20:48:01 +02:00
Gaëtan Harter
08ff1b73a2
makefiles/cflags.inc.mk: add -Wmissing-include-dirs flag
Warn if a user-supplied include directory does not exist.
2018-06-12 14:08:33 +02:00
Gaëtan Harter
726581fc2e
sys/Makefile.include: remove non existing include directory
The include/crypto path should include 'sys' to be vavil

But all source files are already using '#include "crypto/HEADER.h"' so it does
not need fixing.
2018-06-12 14:08:29 +02:00
Gaëtan Harter
48143e9389
pkg/tiny-asn1: remove non existing include directory
In this Makefile, 'CURDIR' is RIOTBASE/pkg/tiny-asn1 directory which does not
exist and not PKGDIRBASE/tiny-asn1.

The correct include directory is set by pkg/tiny-asn1/Makefile.include.
2018-06-12 14:08:25 +02:00
Gaëtan Harter
a8e3b6846d
pkg/openthread: remove non existing include directory 2018-06-12 14:08:21 +02:00
Gaëtan Harter
07e7426160
pkg/libcoap: remove non existing include directory 2018-06-12 14:08:17 +02:00
Gaëtan Harter
d44e4c1f7f
Makefile.include: only use board include directory if it exists
Some boards do not have a boards/BOARD/include directory and rely on a
board/common one.
2018-06-12 14:08:13 +02:00
Gaëtan Harter
ec2fe9a308
Merge pull request #9294 from smlng/pr/tools/cwd
tools: allow static checks to be run from any directory
2018-06-12 12:39:42 +02:00
Cenk Gündoğan
2706264908
Merge pull request #9292 from smlng/pr/tools/doccheck
tools/doccheck: adapt script to run on macOS
2018-06-12 10:28:43 +02:00
Martine Lenders
91c65e40f8
Merge pull request #9327 from cgundogan/pr/tlsf_total_sizes
tlsf: add custom walker to get total free / used sizes
2018-06-12 10:07:07 +02:00
Cenk Gündoğan
0009213072 tlsf: add custom walker to get total free / used sizes 2018-06-12 09:43:48 +02:00
Martine Lenders
8fd85e1c13
Merge pull request #9264 from aabadie/pr/tools/doxy_check
all: fix all undefined doxygen groups
2018-06-11 20:14:33 +02:00
00828bb62d dist/tools/doccheck: enable group check in CI 2018-06-11 19:12:02 +02:00
32057a8c46 tests: fix doxygen grouping 2018-06-11 19:12:02 +02:00
3e61b40794 examples: fix doxygen grouping 2018-06-11 19:12:02 +02:00
47fc4b0749 sys/auto_init: fix doxygen grouping 2018-06-11 19:12:02 +02:00
7d013eb2b6 sys: fix doxygen grouping 2018-06-11 19:12:02 +02:00
bd2845adf6 core: fix doxygen grouping 2018-06-11 19:12:02 +02:00
70407a1a3e pkg*: fix doxygen grouping 2018-06-11 19:12:02 +02:00
938677cc83 cpu*: fix doxygen grouping 2018-06-11 19:12:02 +02:00
4133908fe0 cpu/native: fix doxygen grouping 2018-06-11 19:12:02 +02:00
6bc494b928 boards: fix doxygen grouping 2018-06-11 19:12:02 +02:00
a08e9919a9 drivers: fix doxygen grouping 2018-06-11 19:10:40 +02:00
José Alamos
0d0628e2e7
Merge pull request #9244 from jcarrano/fix-saml21-pm-unititialized
cpu/saml21: Fix possibly uninitialized variable in pm.c.
2018-06-11 18:52:23 +02:00
Juan Carrano
da85094b65 cpu/saml21: Fix possibly uninitialized variable in pm.c. 2018-06-11 18:35:41 +02:00
Juan Carrano
cce83b4443 sys/newlib: Add missing syscalls (stubs).
Add small stubs for _times_r and _link_r so that code using times()
or link() can still compile. The functions are marked as not implemented
and return invalid codes.
2018-06-11 14:54:47 +02:00
Martine Lenders
ec5ca98b4d
Merge pull request #9320 from brummer-simon/gnrc_tcp-set_ip_src_addr_directly
gnrc_tcp: Set src addr in outgoing packets by tcp layer.
2018-06-11 14:20:21 +02:00
Joakim Nohlgård
2006937ee6 tests/bench_timers: Add benchmark for periph_timer and xtimer
This test is intended to collect statistics about the runtime delays in
the periph_timer implementation. This tool is mainly intended to detect
problems in the low level driver implementation which can be difficult
to detect from higher level systems such as xtimer.
2018-06-11 13:19:13 +02:00
Martine Lenders
5cb5717a1f
Merge pull request #9293 from smlng/pr/tools/flake8
tools/flake8: fix regex in check script
2018-06-11 11:17:08 +02:00
Cenk Gündoğan
b02853fb22
Merge pull request #9322 from brummer-simon/native-bugfixes_for_building_with_O2_O3
native: Enforce safe strncpy usage in tap device setup
2018-06-11 10:42:24 +02:00
1c46829a78
Merge pull request #9085 from kb2ma/nanocoap/build_request_pkt
net/nanocoap: Build message with coap_pkt_t
2018-06-11 10:00:38 +02:00
smlng
cba319079c tools/doccheck: adapt script to run on macOS 2018-06-11 09:50:32 +02:00
Simon Brummer
323a38819a native: Enforce safe strncpy usage in tap device setup 2018-06-10 17:16:46 +02:00