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

4900 Commits

Author SHA1 Message Date
5efd9599e0 sys/benchmark: remove BENCHMARK_SETUP() 2018-02-20 10:10:13 +01:00
Martine Lenders
26ad044e12
Merge pull request #8563 from miri64/gnrc_ipv6_nib/fix/6lo-tentative
gnrc_ipv6_nib_6ln: do not mark non-link-local addresses directly VALID
2018-02-19 15:28:08 +01:00
Martine Lenders
e11550042c gnrc_ipv6_nib_6ln: only register addresses not VALID yet
With the previous fix, we only have to register addresses that are not
VALID yet on reception of router advertisements. This removes the need
for the hacky `GNRC_NETIF_FLAGS_6LO_ADDRS_REG` flag that was only
introduced to prevent unnecessary re-registration.
2018-02-19 14:39:29 +01:00
Martine Lenders
8c8b6f9494 gnrc_ipv6_nib_6ln: do not mark non-link-local directly VALID
The whole address registration looses its point if all addresses are
marked valid from the get-go. With this fix non-link-local addresses
are first marked TENTATIVE and only after successful registration
marked as VALID. Link-local addresses are assumed to always be VALID.
2018-02-19 14:38:27 +01:00
Semjon Kerner
22c49e99b5 sys/auto_init/saul: provide saul adaption for bmx055 2018-02-19 14:28:16 +01:00
Joakim Nohlgård
73c11a366c
Merge pull request #8430 from smlng/gcc7/ignore_fallthroughs
make: ignore fallthroughs errors with GCC 7.x
2018-02-19 11:04:16 +01:00
Joakim Nohlgård
a25c059f1f
Merge pull request #8368 from smlng/examples/fix_posix
posix: fix pthread and socket example
2018-02-19 10:58:02 +01:00
Joakim Nohlgård
354499d397
Merge pull request #8588 from rxwb/fix_saul_reg_rm
sys/saul_reg: Fix saul_reg_rm return value when removing first element
2018-02-19 10:38:14 +01:00
e2b6d6b89a
Merge pull request #8584 from miri64/gnrc_sock/fix/err-report-ptr
gnrc_sock: make sock compilable with gnrc_neterr
2018-02-19 09:51:09 +01:00
f59e8247b0
Merge pull request #8040 from haukepetersen/add_bench_periphgpiototest
tests/periph_gpio: added benchmark capabilities
2018-02-19 09:48:39 +01:00
Martine Lenders
f0c401c36d
Merge pull request #8580 from kb2ma/gcoap/sock_send_result
net/gcoap: fix sock send return type
2018-02-18 13:43:31 +01:00
Ronald Weber
a5a52980ba sys/saul_reg: Fix saul_reg_rm for first element 2018-02-18 11:30:46 +01:00
Martine Lenders
2621a57362 gnrc_sock: make sock compilable with gnrc_neterr
gnrc_sock currently does not compile with `gnrc_neterr` included, since
both `msg_try_receive()` and `msg_try_send()` expect a *pointer* to a
`msg_t`, not a `msg_t`.

To test, just compile an application using `gnrc_sock` (e.g.
`examples/gcoap`) with `USEMODULE+=gnrc_neterr`.
2018-02-17 13:53:38 +01:00
Ken Bannister
81ecd37a5e net/gcoap: fix sock send return type 2018-02-17 06:20:38 -05:00
Martine Lenders
1156721eaf gnrc_sixlowpan_nd: add missing header
`gnrc_pktsnip_t` is used in `net/gnrc/sixlowpan/nd.h` but it is not
included. There were no compile errors yet, since this file is always
included with some other GNRC headers, but it might not in the future.
2018-02-16 12:16:56 +01:00
Martine Lenders
756edfd7a5
Merge pull request #8565 from bergzand/pr/event/doc/fix-timeout-unit
event: fix additional unit in doc for event_timeout_set()
2018-02-14 21:08:29 +01:00
266ba4b968
event: fix additional unit in doc for event_timeout_set() 2018-02-14 20:21:41 +01:00
Martine Lenders
519c4f3bdd event: fix unit in doc for event_timeout_set() 2018-02-14 18:37:57 +01:00
Joakim Nohlgård
be14d2eace sys/vfs: Exclude stdio file numbers from auto allocation
Fixes #8309 (https://github.com/RIOT-OS/RIOT/issues/8309)
2018-02-13 18:05:28 +01:00
Joakim Nohlgård
490e7c87e0 sys/vfs: Check suggested fd is valid
Avoids out of bounds array access on _vfs_open_files if vfs_bind is
called with an invalid (positive) fd number
2018-02-12 08:45:19 +01:00
Vincent Dupont
dfbbc0aa9f
Merge pull request #8315 from OTAkeys/pr/vfs_format
vfs: add format in vfs API
2018-02-09 14:48:56 +01:00
Vincent Dupont
d5bce2440b vfs: do not umount fs which is not mounted 2018-02-09 14:29:46 +01:00
Vincent Dupont
2eca6d25fd vfs: add format function in vfs api 2018-02-09 14:29:45 +01:00
Joakim Nohlgård
2cc07f7f05
Merge pull request #7390 from tobhe/random
random: add random_bytes() function
2018-02-09 10:33:46 +01:00
Jose Alamos
66cab7762a doc: fix event_t attribute in documentation 2018-02-08 09:59:16 +01:00
Joakim Nohlgård
9fe024b87e fmt: Adjust stack allocated buffer, add comments
Adjusted buffer size for u64 case to fit the largest 64 bit decimal
number, added comments on all decimal buffers to explain which number
will fit.
2018-02-07 10:21:22 +01:00
Martine Lenders
47bbeb8969
Merge pull request #8517 from smlng/enh/gnrc/netreg
gnrc_netreg: some optimisations
2018-02-07 08:22:44 +01:00
Joakim Nohlgård
30ad56d133
Merge pull request #8522 from gebart/pr/fmt_s64_dec
sys/fmt: Add fmt_s64_dec, print_s64_dec
2018-02-07 07:55:42 +01:00
smlng
c178ea8798 gnrc/netreg: remove gnrc_netreg_num 2018-02-06 21:41:19 +01:00
smlng
c2b403f4ad gnrc/netreg: remove usages of gnrc_netreg_num 2018-02-06 21:39:58 +01:00
smlng
573b6dc98a gnrc/netreg: optimize lookup and getnext 2018-02-06 21:37:39 +01:00
4ec8f4c2fc sys: instead of cpp-style, use C-style comments 2018-02-06 16:59:58 +01:00
jia200x
c61c44a1ae
Merge pull request #8374 from Hyungsin/forupstream_radio_ackpending
driver/at86rf2xx: add an option for auto-ack with the pending bit
2018-02-06 14:15:40 +01:00
Joakim Nohlgård
5ec44c82ba fmt: Add fmt_s64_dec, print_s64_dec 2018-02-06 11:04:42 +01:00
Martine Lenders
d4661af4c8 gnrc: 6Lo fixes for BLE 2018-02-05 22:34:31 +01:00
Martine Lenders
51ae9d9c87 nordic_softdevice_ble: fixes for gnrc_netif usage 2018-02-05 22:34:11 +01:00
ab1d02bc8c
Merge pull request #8499 from miri64/gnrc_icmpv6_echo/fix/loopback
gnrc_icmpv6_echo: fix ping for loopback
2018-02-05 11:02:57 +01:00
Martine Lenders
7f0a7b1fe8
Merge pull request #8503 from beduino-project/ieee802154-buffer-access
gnrc_netif: Fix out-of-bounds buffer access in ieee802154 netif
2018-02-03 13:55:32 +01:00
Sören Tempel
cfe0143eec gnrc_netif: Fix out-of-bounds buffer access in ieee802154 netif 2018-02-03 13:08:59 +01:00
Sebastian Meiling
283b2b8283
Merge pull request #8504 from beduino-project/nanocoap-packed
nanocoap: use __attribute__((packed)) for coap_hdr_t
2018-02-01 10:58:47 +01:00
Joakim Nohlgård
9af2696d2f pm_layered: Use {} for empty while loops 2018-02-01 06:55:49 +01:00
Sören Tempel
45a69f29d5 nanocoap: use __attribute__((packed)) for coap_hdr_t 2018-01-31 21:41:53 +01:00
Hyungsin
f52efef0d5 netopt: Add NETOPT_ACK_PENDING 2018-01-31 11:58:48 -08:00
Martine Lenders
12fad002da gnrc_icmpv6_echo: fix ping for loopback
At the moment ping is crashing if one pings the loopback address.
This was caused in #8214 when we moved interfaces from `kernel_pid_t`
ID to pointer-based handling, since loopback doesn't evaluate to such
an interface.
2018-01-31 15:46:52 +01:00
Hauke Petersen
55629e0a1c sys: added simple benchmark module 2018-01-31 13:55:36 +01:00
Martine Lenders
aa7a2da054
Merge pull request #8490 from miri64/gnrc/fix/xbee
gnrc: fix link-layer/IPv6 address conversion for XBee
2018-01-31 11:03:13 +01:00
Martine Lenders
c40a05b6a8 gnrc: fix link-layer/IPv6 address conversion for XBee 2018-01-31 10:54:28 +01:00
Gaëtan Harter
724680703f
Merge pull request #8478 from miri64/sntp/enh/higher-timeout
shell_commands: sntp: increase default timeout
2018-01-30 21:30:00 +01:00
Gaëtan Harter
4a21fd430e sntp.h: document sntp_sync timeout unit
It uses the same unit as sock_udp_recv.
2018-01-30 21:18:36 +01:00
Martine Lenders
e6fa76e9b0 shell_commands: sntp: increase default timeout 2018-01-30 21:07:26 +01:00