80f9788324
cdc acm: add interface association descriptor
2019-10-20 15:55:23 +02:00
Dylan Laduranty
d9c240a2ff
Merge pull request #12429 from bergzand/pr/usbus/pre_descriptor
...
usbus: add descriptor prefix support
2019-10-20 15:52:29 +02:00
5db4310b45
Merge pull request #12481 from aabadie/pr/driver/rn2xx3_fix_sleep
...
drivers/rn2xx3: fix sleep function
2019-10-20 08:00:40 +02:00
798d3170d5
Merge pull request #12510 from gschorcht/tests/log_color
...
tests/log_color: fix string literal error
2019-10-19 19:31:44 +02:00
Martine Lenders
267dd0b73d
Merge pull request #12349 from miri64/gnrc_sixlowpan_frag_rb/enh/new-functions
...
gnrc_sixlowpan_frag_rb: add new functions for SFR
2019-10-19 17:00:07 +02:00
Gunar Schorcht
41e31c516c
tests/log_color: fix string literal error
...
printf function requires a string literal as the format argument. Using a character pointer is not accepted as string literal by some compilers.
2019-10-19 16:59:11 +02:00
Martine Lenders
3cc8b912a2
tests/gnrc_sixlowpan_frag: fix comment typo
2019-10-19 16:30:45 +02:00
Martine Lenders
f228dedcf4
gnrc_sixlowpan_frag_rb: fix comment typo
2019-10-19 16:30:45 +02:00
Martine S. Lenders
b715aee81d
tests: add tests for new 6Lo reassembly buffer functions
2019-10-19 16:30:45 +02:00
Martine S. Lenders
5bf9892bb3
gnrc_sixlowpan_frag_rb: add new functions for SFR
2019-10-19 16:30:45 +02:00
Martine Lenders
78f04c9fd1
Merge pull request #12441 from miri64/gnrc_icmpv6_error/fix/not-send
...
gnrc_icmpv6_error: consider originator's destination address correctly
2019-10-19 15:18:50 +02:00
Martine Lenders
c32f1076f6
gnrc_icmpv6_error: consider originator's destination address correctly
...
While 485dbd1fda
(from #12175 ) was right
in assuming that the for most ICMPv6 error messages the originating
packet's destination address must not be a multicast, this is not the
case for _all_ ICMPv6 error messages (see [RFC 4443], section 2.4(e.3)).
Additionally, 485dbd1fda
removed the
check for the source address ([RFC 4443], section 2.4(e.6)), which this
PR re-adds.
[RFC 4443]: https://tools.ietf.org/html/rfc4443#section-2.4
2019-10-19 14:39:45 +02:00
Gunar Schorcht
855ef72202
Merge pull request #12503 from kaspar030/fix_tests/pkg_fatfs_format_overflow
...
tests/pkg_fatfs: fix sprintf format overflow warning
2019-10-19 10:41:17 +02:00
benpicco
9f0ccdeb77
Merge pull request #11565 from kaspar030/pr/pkg/nanopb
...
pkg/nanopb: add nanoPb protocol buffers library package
2019-10-19 02:40:30 +02:00
ea6c4a7f23
tests/pkg_fatfs: fix sprintf format overflow warning
...
Some platforms issue this:
tests/pkg_fatfs/main.c: In function '_mkfs':
tests/pkg_fatfs/main.c:355:26: error: '%d' directive writing between 1 and 11 bytes into a region of size 8 [-Werror=format-overflo
w=]
355 | sprintf(volume_str, "%d:/", vol_idx);
| ^~
tests/pkg_fatfs/main.c:355:25: note: directive argument in the range [-2147483648, 0]
355 | sprintf(volume_str, "%d:/", vol_idx);
| ^~~~~~
tests/pkg_fatfs/main.c:355:5: note: 'sprintf' output between 4 and 14 bytes into a destination of size 8
355 | sprintf(volume_str, "%d:/", vol_idx);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
The cause is vol_idx being converted by atoi(), so it might be negative.
This commit increases the stack array so it cannot overflow.
2019-10-18 23:06:44 +02:00
bce70bfdfa
usbus: add descriptor prefix support
2019-10-18 22:39:39 +02:00
f52bbd084c
tests/pkg_nanopb: initial commit
2019-10-18 22:34:29 +02:00
cd18dad5ca
pkg: introduce nanoPb Protocol Buffers library
2019-10-18 22:34:28 +02:00
4c3d473e4e
make: add GENSRC (generated source files) support
2019-10-18 22:34:28 +02:00
04712dbcfc
Merge pull request #12446 from fjmolinas/pr_fix_tests_riotboot
...
tests/riotboot: fix test running test in docker.
2019-10-18 17:20:49 +02:00
José Alamos
2fb4a79d9a
Merge pull request #12418 from Rotzbua/doc_sha3
...
sys/hashes/sha3: docu rename hashes to FIPS 202 standard
2019-10-18 15:59:26 +02:00
Francisco Molina
57b09f1685
tests/riotboot: add SLOT_RIOT_ELFS:%.elf=%.bin to BUILD_FILES
...
- When running `BUILD_IN_DOCKER=1 make -C tests/riotboot test`
new slot binaries (fw + hdr) need to be generated.
`%.bin: %.elf` is no defined when building in docker, so the
fw binaries $(SLOT_RIOT_ELFS:%.elf=%.bin) are added to
BUILD_FILES
2019-10-18 15:56:48 +02:00
16aef163ca
Merge pull request #12497 from benpicco/tests-cpp_memory
...
tests: remove Makefile.ci from cpp11 tests
2019-10-18 15:12:36 +02:00
benpicco
e9d6a61439
Merge pull request #12489 from aabadie/pr/cpu/atmega_cleanup_dep
...
cpu/atmega: cleanup dependencies handling
2019-10-18 15:04:07 +02:00
14567ea973
Merge pull request #12494 from fjmolinas/pr_remove_OS
...
Makefile/include: use ony one call to `uname`
2019-10-18 15:03:10 +02:00
benpicco
970b5935a6
Merge pull request #12347 from miri64/gnrc_sixlowpan_frag_rb/enh/externalize-dispatch
...
gnrc_sixlowpan_frag_rb: externalize dispatch_when_complete
2019-10-18 14:49:59 +02:00
Benjamin Valentin
44d6cabd8a
tests: remove Makefile.ci from cpp11 tests
...
The description states that the tests caused issues with an ancient
toolchain.
Building these tests locally worked fine.
So remove the obsolete BOARD_INSUFFICIENT_MEMORY lists.
2019-10-18 14:28:57 +02:00
629003d042
cpu/atmega: cleanup dependencies handling
2019-10-18 12:40:34 +02:00
Martine S. Lenders
ae879bc2ba
gnrc_sixlowpan_frag_rb: add doc on rb_remove() NOP
2019-10-18 12:02:03 +02:00
benpicco
29e5c3af67
Merge pull request #12490 from aabadie/pr/boards/efm32_common_periph_gpio
...
boards/efm32: move provided gpio features at cpu level
2019-10-18 11:19:33 +02:00
benpicco
34ee36d9e4
Merge pull request #12491 from aabadie/pr/boards/atmega_common_periph_gpio
...
boards/atmega: move provided gpio features at cpu level
2019-10-18 11:19:15 +02:00
benpicco
4ed04208ea
Merge pull request #12492 from aabadie/pr/boards/cc2538_common_periph_gpio
...
boards/cc2538: move provided gpio features at cpu level
2019-10-18 11:18:54 +02:00
Martine S. Lenders
184e91780a
gnrc_sixlowpan_frag_rb: explain second _rbuf_add() call more detailed
2019-10-18 11:14:13 +02:00
Francisco Molina
45c8eafd42
Makefile.include: remove repeated OS declaration
2019-10-18 10:36:43 +02:00
4d85735b24
boards/slwstk6220a: remove useless provided gpio features
...
These are provided at CPU level.
2019-10-18 09:35:00 +02:00
aed0cfb1d8
boards/efm32: remove useless provided gpio features
...
These features are provided at CPU level
2019-10-18 09:33:54 +02:00
174bb3feee
cpu/ezr32wg: provide gpio feature at cpu level
2019-10-18 09:32:48 +02:00
c618d9821f
cpu/efm32: provide gpio feature at cpu level
2019-10-18 09:32:48 +02:00
Martine S. Lenders
f8d75d7add
gnrc_sixlowpan_frag_rb: behavioral change to add()
...
Rather than dispatching the packet automatically once it is complete,
`gnrc_sixlowpan_frag_rb_add()` now only returns success, and leaves it
to the caller to dispatch the packet.
2019-10-18 09:02:32 +02:00
Martine S. Lenders
df484926a2
tests/gnrc_sixlowpan_frag: adapt for API change
...
These changes reflect adaptations for the following API changes:
- gnrc_sixlowpan_frag_rb: return pointer to entry on add()
2019-10-18 09:02:32 +02:00
Martine S. Lenders
709baf8f1f
gnrc_sixlowpan_frag_rb: make NOPs static inline functions
2019-10-18 09:02:32 +02:00
Martine S. Lenders
a229755abe
gnrc_sixlowpan_frag_rb: return status on dispatch_when_complete()
2019-10-18 09:02:32 +02:00
Martine S. Lenders
b086453347
gnrc_sixlowpan_frag_rb: return pointer to entry on add()
2019-10-18 09:02:32 +02:00
Martine S. Lenders
3a4ebe98c3
gnrc_sixlowpan_frag_rb: get index instead of pointer with _rbuf_get()
2019-10-18 09:02:31 +02:00
Francisco Molina
f3482de277
REMOVEME: add OS and OS_ARCH variable
2019-10-18 08:46:51 +02:00
Francisco Molina
de2ba4ff1a
Makefile.include: get OS and OS_ARCH from UNAME
2019-10-18 08:46:51 +02:00
Francisco Molina
c010f59b8c
Makefile.include: remove repeated OS declaration
...
- OS := $(shell uname) is already declared in `Makefile.include`
re-declaring it means it will be re-evalauted multiple times
uselessly.
2019-10-18 08:46:51 +02:00
Francisco
01779508d6
Merge pull request #12394 from aabadie/pr/make/iotlab_support_fix
...
make/testbed-support: fix error with FLASHFILE not defined
2019-10-17 23:21:12 +02:00
5873a04ba9
boards/cc2538*: remove useless provided gpio features
...
These features are provided at CPU level
2019-10-17 22:05:42 +02:00
cba293a9a9
cpu/cc2538: provide gpio feature at cpu level
2019-10-17 22:05:23 +02:00