Gunar Schorcht
9db03537b9
core/pthread: make them compilable with g++
2018-07-21 14:24:57 +02:00
Francisco Acosta
a0a31120b2
Merge pull request #9429 from kaspar030/some_riscv_fixes
...
boards/hifive1: add serial terminal config
2018-07-17 14:36:29 +02:00
1dd4a46c90
Merge pull request #9584 from PeterKietzmann/pr_cc2420_max_pkt_size
...
drivers/cc2420: add netopt NETOPT_MAX_PACKET_SIZE
2018-07-17 14:12:10 +02:00
Peter Kietzmann
2bc48c3953
Merge pull request #9577 from bergzand/pr/netdev/rem_default_tell_opts
...
drivers/radios: remove default event reporting flags
2018-07-17 13:47:33 +02:00
PeterKietzmann
838b18e8f9
drivers/cc2420: add netopt NETOPT_MAX_PACKET_SIZE
2018-07-17 12:00:12 +02:00
7f6fe21b93
Merge pull request #9580 from OTAkeys/pr/at_on_off
...
drivers/at: add poweron/off functions
2018-07-17 10:31:20 +02:00
Vincent Dupont
12a5c5e3b0
tests/driver_at: adapt test app with poweron/off
2018-07-17 10:15:35 +02:00
Vincent Dupont
21867b2867
drivers/at: ad poweron/off functions
2018-07-17 10:02:36 +02:00
Peter Kietzmann
2abe944a16
Merge pull request #9535 from bergzand/pr/netdev/reset_rand_seq
...
netdev_ieee802154: Initialize sequence number to random value
2018-07-17 08:22:34 +02:00
Francisco Acosta
b46f7e0f22
Merge pull request #9578 from miri64/make/fix/BUILDRELPATH
...
make: make BUILDRELPATH dependent on selected path
2018-07-16 16:34:14 +02:00
608f0135d7
zep: Use netdev reset function
2018-07-16 15:36:34 +02:00
aecbad960a
netdev: Initialize sequence number to random value
2018-07-16 15:36:30 +02:00
Martine Lenders
ecaef7bfc5
Merge pull request #9575 from bergzand/pr/pkg/emb6/rnd_conflict
...
pkg/emb6: Add random functions to rename patch
2018-07-16 15:35:42 +02:00
8903b34924
Merge pull request #8215 from miri64/gnrc_ipv6/opt/simplify-send
...
gnrc_ipv6: clean-up and simplify send handling
2018-07-16 15:21:55 +02:00
Martine Lenders
ff46796002
make: make BUILDRELPATH dependent on selected path
...
When selecting a directory to build using `-C` with make
`BUILD_IN_DOCKER` will fail, because the `BUILDRELPATH` chooses the path
`make` is executed in, not the path selected by `-C`. This fixes this
bug by replacing `PWD` in the macro's definition with `CURDIR`.
2018-07-16 15:15:04 +02:00
Martine Lenders
d8081453f2
gnrc_ipv6: clean-up and simplify send handling
...
This change is a gnrc_ipv6_nib/gnrc_netif(2)-based rework of #7210 .
Packet duplication
==================
Its main optimization is that it restructures `gnrc_ipv6` handling of
sent packets so that duplication for write-protection happens at the
latest possible step:
* potential `gnrc_netif` headers added by upper layers are
write-protected before their removal
* This unifies the duplication of the IPv6 header directly after
that
* Extension headers in-between the IPv6 header and the payload header
are duplicated just before the check sum is duplicated
Especially the last point allows for only handing a single packet snip
to all lower functions instead of an already searched IPv6 header
(which now is always the first until it is handed to the interface) +
payload header.
Further clean-ups
=================
* Next-hop link-layer address determination was moved to the
`_send_unicast` function, greatly simplifying the unicast case in the
`_send` function
* Code for loopback case was added to a new function `_send_to_self`
* Removed some code duplication
2018-07-16 15:08:56 +02:00
71fac036e5
mrf24j40: Remove default event report settings
2018-07-16 14:43:45 +02:00
be7c4f7f28
kw2xrf: Remove default event report settings
2018-07-16 14:43:28 +02:00
965cece510
cc2420: Remove default event report settings
2018-07-16 14:43:12 +02:00
173136a270
at86rf2xx: Remove default event report settings
2018-07-16 14:40:51 +02:00
f2791dcec5
pkg/emb6: Rebuild patches for consistency
2018-07-16 14:30:28 +02:00
3c128a0ed7
pkg/emb6: Add utils/random to rename patch
...
Both random_init and random_rand are prefixed with emb6_ to prevent
function name collisions with RIOT
2018-07-16 14:27:38 +02:00
Peter Kietzmann
446ff9f282
Merge pull request #9553 from bergzand/pr/pkg/lwip/set_netdev_events
...
lwip: explicitly set required netdev events
2018-07-13 17:09:45 +02:00
Peter Kietzmann
9f34513eec
Merge pull request #9563 from bergzand/pr/netif/netdev_recv_reset
...
gnrc_netif_ieee802154: drop frame on buffer error
2018-07-13 16:21:33 +02:00
9f289dff1b
Merge pull request #9543 from smlng/pr/netdev/reset
...
cc2538: use netdev reset
2018-07-13 14:52:39 +02:00
Peter Kietzmann
0aa5d8139b
Merge pull request #9556 from bergzand/pr/pkg/emb6/set_netdev_events
...
emb6: explicitly configure RX complete interrupt
2018-07-13 13:58:44 +02:00
smlng
0067be035c
cpu/cc2538: cleanup netdev calls in radio driver
...
Cleanup netdev calls using &dev->netdev for all functions and
thereby omiting the explicit cast.
2018-07-13 12:17:03 +02:00
smlng
520f5b60b3
cpu/cc2538: use netdev reset function in radio driver
2018-07-13 12:17:03 +02:00
Peter Kietzmann
fd8ef789b7
Merge pull request #9531 from bergzand/pr/netdev/reset_refactor
...
netdev_ieee802154: Add and use common reset function
2018-07-13 12:01:14 +02:00
Peter Kietzmann
7816d359fe
Merge pull request #9562 from bergzand/pr/mrf24j40/netdev_recv_fix
...
mrf24j40: Fix netdev recv implementation
2018-07-13 10:51:29 +02:00
fb27efb919
Merge pull request #9555 from bergzand/pr/pkg/openthread/netdev_rx_cb_enable
...
openthread: Enable RX complete netdev event
2018-07-13 09:17:38 +02:00
Gaëtan Harter
3cb57b68c2
Merge pull request #9502 from dylad/pr/update_edbg
...
dist/tools: update EDBG version
2018-07-12 22:14:02 +02:00
ea6a2ef494
gnrc_netif_ieee802154: drop frame on buffer error
...
This adds a netdev recv call to indicate that the received frame should be
dropped when there is no buffer space available to store the frame.
2018-07-12 16:15:00 +02:00
517f4d37cc
mrf24j40: Fix netdev recv implementation
...
The mrf24j40 driver should return the frame length when both buf is NULL
and len is zero and drop the packet when len is nonzero and buf is NULL.
This commit fixes that behaviour
2018-07-12 15:54:31 +02:00
acf7a104d2
emb6: explicitly configure RX complete interrupt
2018-07-12 12:34:15 +02:00
da8589ce4c
openthread: Enable RX complete netdev event
...
Fixes issue where openthread assumed that this flag was enabled by
default with netdev devices
2018-07-12 12:13:54 +02:00
e7debdb865
lwip: explicitly set required netdev events
2018-07-12 12:00:39 +02:00
Vincent Dupont
e3c897dd94
Merge pull request #9545 from OTAkeys/pr/fix_stm32_vendor
...
stm32: fix vendor header conflicting enum
2018-07-11 19:15:10 +02:00
Peter Kietzmann
f398b5e5ff
Merge pull request #9428 from kYc0o/add_reset_remote
...
remote: add RESET variable
2018-07-11 10:28:39 +02:00
Peter Kietzmann
68f1bae775
Merge pull request #9542 from yegorich/pr/tests/uart_periph/autotester-v2
...
tests/periph_uart: adapt main.c for automated testing
2018-07-11 10:20:25 +02:00
Yegor Yefremov
38aecf2bdf
tests/periph_uart: adapt main.c for automated testing
...
This is an effort to automate UART testing using the same framework as
was already introduced for i2c. The framework relies on shell commands
to return invocation status and data in a special way:
1. Invocation status: Success or Error
2. Data inside the []
Hence this patch adds invocation status to the UART init command and
invocation status and data to the printer.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2018-07-11 10:06:18 +02:00
91bd1a38ba
mrf24j40: use netdev reset function
2018-07-11 09:39:18 +02:00
71e5ce9a68
kw2xrf: use netdev reset function
2018-07-11 09:39:17 +02:00
327295a1e1
cc2420: use netdev reset function
2018-07-11 09:39:17 +02:00
c04cb23cbc
at86rf2xx: Use netdev reset function
2018-07-11 09:39:12 +02:00
Martine Lenders
3b1e4f54d2
Merge pull request #9532 from brummer-simon/gnrc_tcp-fix_includes
...
gnrc_tcp: Add missing includes
2018-07-10 20:22:13 +02:00
Gaëtan Harter
541be9994c
Merge pull request #9536 from cladmi/pr/make/fixup/remove_info
...
Makefile.include: remove debug '$(info)'
2018-07-10 18:52:14 +02:00
Gaëtan Harter
82c8d69f34
Makefile.include: remove debug '$(info)'
...
Remove debug '$(info)' added by https://github.com/RIOT-OS/RIOT/pull/9451
2018-07-10 18:37:06 +02:00
Gaëtan Harter
17545e4389
Merge pull request #9002 from cladmi/pr/makefiles/builddeps
...
make: Add 'BUILDDEPS' variable
2018-07-10 18:22:32 +02:00
Cenk Gündoğan
2df6da25f5
Merge pull request #9533 from smlng/pr/make/dedup
...
make: fix dedup USEMODULE_INCLUDES in Makefile.include
2018-07-10 17:27:28 +02:00