Martine Lenders
a3864aa103
Merge pull request #9158 from aabadie/pr/periph/stm32_lpuart
...
cpu/stm32-common: add support for lpuart
2018-12-17 12:16:27 +01:00
Martine Lenders
2e57ea246e
Merge pull request #10584 from miri64/gnrc_ipv6/enh/use-new-pktbuf-func
...
gnrc_ipv6: use gnrc_pktbuf_merge() to loopback packet
2018-12-17 12:16:06 +01:00
José Alamos
469c31cad0
Merge pull request #10244 from miri64/gnrc_ipv6/enh/take-out-hop-by-hop-ext
...
gnrc_ipv6: handle hop-by-hop option before forwarding
2018-12-17 10:22:28 +01:00
Martine Lenders
864ce4fed2
gnrc_ipv6_ext: rename nh to protnum for clarity
2018-12-15 18:21:48 +01:00
bd77949bc7
tests/posix_semaphore: increase timeout margin
...
Otherwise it may break on nrf51 boards where the timeout can be slightly above 100. Using 105us margin seems enough
2018-12-14 22:22:36 +01:00
87dd5f9341
tests/pthread_condition_variable: increase timeout
...
Otherwise it raises a timeout on slow boards. It takes around 2 minutes
on nrf51 based boards (e.g microbit)
2018-12-14 22:05:12 +01:00
Gaëtan Harter
169a72b9a7
Merge pull request #10590 from aabadie/tests/pkg_libcose_timeout
...
tests/pkg_libcose: increase timeout of autotest
2018-12-14 21:05:58 +01:00
Gaëtan Harter
60f3e1af8a
Merge pull request #10591 from aabadie/pr/tests/libfixmath_extend_timeout
...
tests/libfixmath_unittests: extend timeout in autotest
2018-12-14 19:46:44 +01:00
Gaëtan Harter
7b5b778cea
Merge pull request #10602 from aabadie/pr/tests/pkg_micro-ecc_timeout
...
tests/pkg_micro-ecc*: increase expect timeout
2018-12-14 19:28:56 +01:00
Martine Lenders
bbcb3161ea
gnrc_ipv6_ext: make single header demux function private
...
The function is now only called by `gnrc_ipv6_ext_process_hopopt()` and
`gnrc_ipv6_ext_process_all()`, both are part of the `gnrc_ipv6_ext`
module.
2018-12-14 19:07:16 +01:00
Martine Lenders
0580fa5852
gnrc_ipv6: dispatch ext. headers to external interested parties
...
This way e.g. a raw socket listening for an extension headers protocol
number also get's it.
2018-12-14 19:07:16 +01:00
Martine Lenders
e4fa14370f
gnrc_ipv6: handle hop-by-hop option before forwarding
2018-12-14 19:07:15 +01:00
Martine Lenders
5c0d18b25f
gnrc_ipv6: move ext. hdr handling out of general demux
...
They are handled separately anyway and this allows us to handle
the Hop-by-hop option *before* forwarding in a later step.
2018-12-14 19:06:00 +01:00
Martine Lenders
17eee216b6
gnrc_ipv6_ext: add missing newline to DEBUG
2018-12-14 19:05:52 +01:00
Martine Lenders
3f17db141d
gnrc_ipv6: add config macros to config doc group
2018-12-14 16:34:34 +01:00
Martine Lenders
d37bb41b03
gnrc_netif: add config macros to config doc group
2018-12-14 16:26:56 +01:00
José Alamos
bb16a7533c
Merge pull request #10571 from jia200x/pr/dox_conf_group
...
doc: add configurations Doxygen group
2018-12-14 14:44:01 +01:00
Martine Lenders
a90943457f
gnrc_sixlowpan: specify sections in RFC links
2018-12-14 13:57:44 +01:00
Jose Alamos
5070ed9596
doc: add configurations Doxygen group
2018-12-14 13:39:44 +01:00
Martine Lenders
492df78f63
gnrc_ipv6: use gnrc_pktbuf_merge() to loopback packet
...
With `gnrc_pktbuf_merge()` introduced in
f03247e752
we can remove some code
duplication when it comes to looping back a packet.
2018-12-14 11:10:51 +01:00
José Alamos
b709e63581
Merge pull request #10234 from miri64/gnrc_ipv6/enh/iterate-out-of-ext
...
gnrc_ipv6: move ipv6_ext iteration out of ext_demux()
2018-12-14 10:44:00 +01:00
5c4b398c20
Merge pull request #10607 from MrKevinWeiss/pr/stm32f1/i2cremap
...
cpu/stm32f1: Fix i2c for stm32f1 based boards
2018-12-14 09:41:03 +01:00
MrKevinWeiss
d7eb070eb4
cpu/stm32f1: Add remap support for stm32f1 cpus and boards
...
This commit fixes configuration problems when trying to use i2c pins that need to be remapped.
All B8 and B9 pins for STM32F1 need to be remapped, so a check is done if the remappable pins are selected.
2018-12-14 09:16:37 +01:00
Martine Lenders
e06cdcdf14
gnrc_pktdump: add GNRC_NETTYPE_IPV6_EXT output
2018-12-14 01:37:53 +01:00
Martine Lenders
4257b70c6f
gnrc_pktbuf: update tense of deprecation note ;-)
...
With the preceding changes the subject of the deprecation note on
`gnrc_pktbuf_duplicate_upto()` becomes actual and thus doesn't need to
be referred to in future but past tense.
2018-12-13 17:22:12 +01:00
Martine Lenders
b8f71c37ff
gnrc_ipv6: rename should_release for clarity
2018-12-13 17:22:12 +01:00
Martine Lenders
e6df40dbde
gnrc_ipv6: clean-up unrequired stuff after demux rework
2018-12-13 17:22:12 +01:00
Martine Lenders
764ed8c300
gnrc_ipv6: make next-header demuxer private
...
Since the recursion into `gnrc_ipv6_demux()` was removed in
`gnrc_ipv6_ext`, `gnrc_ipv6.c` is the only user of this function,
so it can be made private. It was only made public so it can be used
from `gnrc_ipv6_ext`.
2018-12-13 17:22:12 +01:00
Martine Lenders
f671a87fe2
gnrc_ipv6_ext: remove unnecessary pkt write-protection
...
As `pkt` isn't pre-parsed the write-protection of *the whole* packet
(except the netif-header) comes for free, when this was done in the
receive routine of IPv6.
2018-12-13 17:22:12 +01:00
Martine Lenders
02a7bc252a
gnrc_ipv6: move ipv6_ext iteration out of ext_demux()
...
Since with #10233 we now assume IPv6 packets always to not be
pre-parsed, we can iterate over the extension headers by gradually
"eating" them away. This allows us to move the iteration over them
out of `gnrc_ipv6_ext_demux()` and into `gnrc_ipv6_demux()`.
By moving the iteration over all extension headers out of
`gnrc_ipv6_ext_demux()` we also can
1. simplify the extension header handling a lot, as it now
just a loop inside `gnrc_ipv6_demux()`,
2. remove the recursion to `gnrc_ipv6_demux()` within
`gnrc_ipv6_ext_demux()`.
2018-12-13 17:22:11 +01:00
Gaëtan Harter
e6d9630144
Merge pull request #10601 from aabadie/pr/testbed-support/iotlab_single_nrf51dk
...
testbed-support: add nrf51dk to supported archis
2018-12-13 15:06:29 +01:00
dbe43d7515
tests/periph_uart: add periph_lpuart optional dependency
2018-12-13 12:39:00 +01:00
58b85b256b
boards: update UART conf for STM32 based boards
2018-12-13 12:39:00 +01:00
537e93a527
board/nucleo-l073: use LPUART for third UART
2018-12-13 12:39:00 +01:00
8c6a7bc370
boards/nucleo-l433rc: use lpuart for stdio
...
- this UART is connected to st-link and can be reached via USB
- the second UART is linked to Arduino RX/TX pins
2018-12-13 12:39:00 +01:00
133968ce8a
cpu/stm32_common: add support for lpuart
2018-12-13 12:39:00 +01:00
Kevin "Bear Puncher" Weiss
e0997b4fc7
Merge pull request #10600 from jia200x/pr/phyNODE_kw41Z
...
boards/phynode-kw41z: add initial support
2018-12-13 11:44:34 +01:00
5b17d52542
Merge pull request #10466 from maribu/stm32f103c_i2c
...
boards/common/stm32f103c8: Fixed I2C configuration
2018-12-13 11:25:22 +01:00
Jose Alamos
40d791e898
doc: add documentation for phynode-kw41z board
2018-12-13 10:35:50 +01:00
Jose Alamos
50c7b5c11a
boards/phynode-kw41z: add initial support
2018-12-13 10:35:50 +01:00
aa7a8058d8
boards/ruuvitag: also use nrf52 common place
2018-12-13 10:15:42 +01:00
50fb400413
boards/thingy52: also use nrf52 common place
2018-12-13 10:15:42 +01:00
5fd907eb08
boards/nrf52840dk: remove useless provided feature
2018-12-13 10:15:42 +01:00
cd2f18311f
boards/nrf52dk: remove useless provided feature
2018-12-13 10:15:42 +01:00
b2f4a7e735
boards/acd52832: also use nrf52 common place
2018-12-13 10:15:42 +01:00
5429c71cd3
boards/nrf52xxdk: use available nrf52 common place
2018-12-13 10:15:42 +01:00
cd206a909c
boards/common/nrf52: add common nrf52 place
2018-12-13 10:15:42 +01:00
0ea00d932e
tests/pkg_libcose: increase timeout of autotest
...
On a microbit (nrf51) the autotest takes around 4 minutes to complete.
2018-12-13 10:04:30 +01:00
5c4698bfd8
tests/pkg_micro-ecc*: increase expect timeout
...
Otherwise the test takes too long on nrf51 based boards and fails:
- 80s on a microbit for tests/pkg_micro-ecc
- 120s on a microbit for tests/pkg_micro-ecc-with-hwrng
2018-12-13 10:00:51 +01:00
Hauke Petersen
5b31aa3619
Merge pull request #10595 from miri64/netopt/cleanup/deprecate-IPV6_IID-from-netdev
...
netopt: deprecate getting NETOPT_IPV6_IID from netdev
2018-12-12 16:43:25 +01:00