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

18275 Commits

Author SHA1 Message Date
Martine Lenders
01ef01f08e tests: adapt gnrc_sock_udp tests for API change 2018-06-20 14:51:18 +02:00
Martine Lenders
a33399edf7 gnrc_sock_udp: provide fix for error state for full port pool 2018-06-20 14:51:18 +02:00
Martine Lenders
0151655de5 lwip_sock_udp: provide port for #9376 API fix 2018-06-20 14:51:17 +02:00
Martine Lenders
45107b529d emb6_sock_udp: provide port for #9376 API fix 2018-06-20 14:51:17 +02:00
Martine Lenders
f8524cb4c0 gnrc_sock_udp: provide port for #9376 API fix 2018-06-20 14:51:17 +02:00
Martine Lenders
a20639074a sock_udp: define send error-state for full port pool 2018-06-20 14:51:17 +02:00
Martine Lenders
9e7cebae93 sock_udp: allow creation with ephemeral ports
This change allows the port for local endpoint to be zero 0. If this is
the case the `sock_udp_create()` function binds the object to an
ephemeral port.
2018-06-20 14:51:17 +02:00
48c1c05297
Merge pull request #9375 from Hyungsin/forupstream_pulse_counter
drivers/pulse_counter: make gpio_mode configurable
2018-06-20 09:34:16 +02:00
Peter Kietzmann
6fd4009b89
Merge pull request #8957 from aabadie/pr/cpu/guard_lpc2387
cpu/lpc2387: remove useless periph file guard
2018-06-20 09:06:31 +02:00
Hyungsin
1b7345535c drivers/pulse_counter: make gpio_mode configurable 2018-06-19 14:50:37 -07:00
d49e0d2f79
Merge pull request #9328 from aabadie/pr/sys/auto_init_doc_enh
sys/auto_init: improve documentation
2018-06-19 09:58:29 +02:00
741c8c0c68 sys/auto_init: improve documentation 2018-06-18 13:59:09 +02:00
Gaëtan Harter
acef97aa15
Merge pull request #9243 from cladmi/pr/warning/missing_include_dirs
makefiles/cflags.inc.mk: add -Wmissing-include-dirs flag
2018-06-18 13:13:54 +02:00
Cenk Gündoğan
4219ec9265
Merge pull request #9345 from bergzand/pr/fmt/strnlen
fmt: Add fmt_strnlen function
2018-06-18 11:23:53 +02:00
Cenk Gündoğan
e08fd546cf
Merge pull request #9353 from miri64/gnrc_sixlowpan/opt/rm-pad
gnrc_sixlowpan: fix order of gnrc_sixlowpan_msg_frag_t
2018-06-18 10:59:27 +02:00
Cenk Gündoğan
acb9e4aed2
Merge pull request #9352 from miri64/gnrc_sixlowpan_frag/enh/expose-rbuf
gnrc_sixlowpan_frag: expose (parts of) reassembly buffer
2018-06-18 10:55:13 +02:00
99460669d3
Merge pull request #7786 from kaspar030/add_some_benchmarks
tests: add some benchmarks
2018-06-16 10:18:22 +02:00
3c9eb940d5 tests/bench_thread_yield_pingpong: initial commit 2018-06-15 23:04:54 +02:00
5bf1295836 tests/bench_thread_flags_pingpong: initial commit 2018-06-15 23:04:54 +02:00
94ba420ee3 tests/bench_sched_nop: initial commit 2018-06-15 23:04:54 +02:00
647fa6ba6e tests/bench_mutex_pingpong: initial commit 2018-06-15 23:04:54 +02:00
b9d8f931eb tests/bench_msg_pingpong: initial commit 2018-06-15 23:04:54 +02:00
Joakim Nohlgård
21bc3ca51f
Merge pull request #9360 from gebart/pr/embunit-const
embunit: Const test case names
2018-06-15 17:04:20 +02:00
Ken Bannister
4f8c3b7d18
Merge pull request #9310 from miri64/gcoap/enh/clients-without-response-handlers
gcoap: don't allocate memo for clients without response handlers
2018-06-15 10:28:30 -04:00
69b790038a
Merge pull request #9011 from cladmi/pr/wip/iotlab/useonenode
makefile.iotlab.single: add IoT-LAB testbed support for one node
2018-06-15 16:02:37 +02:00
Gaëtan Harter
7e81f54205
makefile.iotlab.single: add 'info-iotlab-node' target
Add a target to show the value of IOTLAB_NODE. Can be used to get the result of
using IOTLAB_NODE=auto or IOTLAB_NODE=auto-ssh.
2018-06-15 15:37:33 +02:00
Gaëtan Harter
124f9ec9bb
makefile.iotlab.single: check iotlab-node/iotlab-ssh return value
Format the output to be '0' on success and check it with grep.

This makes command fail when they failed on IoT-LAB.
2018-06-15 15:37:29 +02:00
Gaëtan Harter
d900e0a548
makefile.iotlab.single: add auto and auto-ssh modes
Usage:

    make BOARD=iotlab-m3 IOTLAB_NODE=auto-ssh all flash term

Add support to select node number in auto mode
2018-06-15 15:37:25 +02:00
Gaëtan Harter
9d891c7b75
wsn430: IoT-LAB requires the HEXFILE for flashing 2018-06-15 15:37:21 +02:00
Gaëtan Harter
3bba0c5895
makefile.iotlab.single: add IoT-LAB testbed support for one node
Add support to do flash/reset/term on an IoT-LAB node.
It also allow running test using 'testrunner'.

Configuration variables are:

* `IOTLAB_NODE` which should be set to your node url
  * The full url including site to use from your computer `m3-1.grenoble.iot-lab.info`
  * The short url when used on the IoT-LAB frontend `m3-1`
* `IOTLAB_EXP_ID` for your experiment id for flash and reset.
  By default it tries to use your currently running experiment if you have only one
* `IOTLAB_USER`: is read from `${HOME}/.iotlabrc` as saved by `iotlab-auth`
  * It is expected to have run `iotlab-auth` beforehand.
2018-06-15 15:37:18 +02:00
1e3360e1bf
Merge pull request #8269 from haukepetersen/add_pkg_tinycrypt
pkg: add support for the tinycrypt library
2018-06-15 11:08:14 +02:00
17b661b014
Merge pull request #9356 from kaspar030/add_more_stacksize_defines
core: add more stacksize defines
2018-06-15 11:04:20 +02:00
Hauke Petersen
096765ca29 tests: add test for the tinycrypt integration 2018-06-15 10:49:38 +02:00
Hauke Petersen
5220243853 pkg: add support for tinycrypt 2018-06-15 10:49:38 +02:00
Martine Lenders
7af76590ac
Merge pull request #9361 from gebart/pr/gnrc-pktbuf-add-const
gnrc/pktbuf: Const correctness on gnrc_pktbuf_add
2018-06-15 10:11:51 +02:00
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