2a03e6fdbd
Merge pull request #10264 from gebart/core/schedstats_t
...
core: Rename typedef schedstat -> schedstat_t
2018-12-18 12:51:29 +01:00
José Alamos
0dd711cb9f
Merge pull request #10616 from miri64/gnrc_netif/enh/config-group
...
gnrc_netif: add config macros to config doc group
2018-12-18 11:05:29 +01:00
MrKevinWeiss
96f8438ea2
cpu/stm32_common/uart: Prevent uart from sending if not initialized
...
Due to the stdio getting called after periph_init the uart may send before initialized.
This adds a simple check so the uart does not get into a locked-up state.
2018-12-18 10:16:50 +01:00
d95e19af15
boards*: remove periph_gpio/gpio_irq provided feature
...
It is now provided at cpu level
2018-12-17 20:54:09 +01:00
c87f02149e
cpu/sam0_common: provide gpio/gpio_irq feature at cpu level
2018-12-17 20:52:48 +01:00
Gaëtan Harter
47830f44c2
Merge pull request #10603 from aabadie/pr/tests/pthread_timeout
...
tests/pthread_condition_variable: increase timeout
2018-12-17 17:57:15 +01:00
José Alamos
1c82f7804b
Merge pull request #10617 from miri64/gnrc_ipv6/enh/config-group
...
gnrc_ipv6: add config macros to config doc group
2018-12-17 13:55:28 +01:00
Sebastian Meiling
496daa0b9f
Merge pull request #10582 from miri64/gnrc_sixlowpan/enh/doc-update
...
gnrc_sixlowpan: update documentation
2018-12-17 13:32:11 +01:00
Martine Lenders
78308b93df
Merge pull request #10279 from aabadie/pr/boards/nrf52_common
...
boards/common/nrf52: introduce new and more generic common place
2018-12-17 12:29:57 +01:00
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