Marian Buschsieweke
4672368d5a
sys/net: NETOPT_MAX_{PACKET_SIZE -> PDU_SIZE}
...
Updated code to use NETOPT_MAX_PDU_SIZE instead of deprecated
NETOPT_MAX_PACKET_SIZE.
2019-02-18 20:15:08 +01:00
Marian Buschsieweke
5ba72df5aa
net: NETOPT_MAX_{PACKET_SIZE -> PDU_SIZE}
...
Renamed NETOPT_MAX_PACKET_SIZE into NETOPT_MAX_PDU_SIZE and updated the
documentation. NETOPT_MAX_PACKET_SIZE is introduced as preprocessor alias
for NETOPT_MAX_PDU_SIZE to remain backward compatible and is marked as
deprecated.
2019-02-18 20:15:05 +01:00
Peter Kietzmann
a4549f089f
Merge pull request #11025 from yegorich/fix-semtech-links
...
drivers/sx127x: fix dead links
2019-02-18 11:12:32 +01:00
ac775b8ae5
Merge pull request #9181 from haukepetersen/opt_event_independencefromthread
...
sys/event: make event queue independent from thread
2019-02-16 13:50:14 +01:00
Yegor Yefremov
0dedf979f3
drivers/sx127x: fix dead links
...
URLs of the datasheets have been changed.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-02-15 21:16:42 +01:00
Peter Kietzmann
902a6d619a
Merge pull request #10919 from leandrolanzieri/drivers/ad7746
...
drivers: Add AD7746 capacitance sensor driver
2019-02-15 16:23:25 +01:00
Leandro Lanzieri
a13ab5ee08
drivers/ad7746: Add SAUL integration
2019-02-15 13:37:45 +01:00
Leandro Lanzieri
afeb5c1e04
sys/phydat: Add capacitance unit (F)
2019-02-15 13:37:45 +01:00
Leandro Lanzieri
85e75cf9f8
drivers/saul: Add capacitance and voltage types
2019-02-15 13:37:45 +01:00
Leandro Lanzieri
aefdc6550c
tests: Add test for AD7746 driver
2019-02-15 13:37:45 +01:00
Leandro Lanzieri
50dc5b7528
drivers: Add driver for AD7746 capacitance sensor
2019-02-15 13:31:18 +01:00
Martine Lenders
8da4957cdd
Merge pull request #11015 from miri64/gnrc_sixlowpan_frag/enh/rm-pid
...
gnrc_sixlowpan_frag: remove redundant PID member
2019-02-15 12:48:27 +01:00
Martine Lenders
0954fabdc7
gnrc_sixlowpan_frag: make datagram size uint16_t for send
...
It can't get bigger, so it doesn't make sense to waste another 2 byte
on it.
2019-02-15 11:23:46 +01:00
Martine Lenders
b27f12bc1f
gnrc_sixlowpan_frag: remove redundant PID member
...
The interface ID is actually also provided in `pkt` so providing it in
the `gnrc_sixlowpan_msg_frag_t` struct is redundant.
2019-02-15 11:23:18 +01:00
9fd6a50d10
Merge pull request #11017 from smlng/fix/drivers/hts211
...
drivers/hts211: fix CTRL_REG2_OS_EN
2019-02-14 22:57:49 +01:00
smlng
6fc3c82072
drivers/hts211: fix CTRL_REG2_OS_EN
...
fixes #11013
2019-02-14 18:03:35 +01:00
288e29a76b
Merge pull request #10871 from aabadie/pr/release_notes_2019.01
...
Release 2019.01 notes
2019-02-14 17:26:18 +01:00
José Alamos
d5b39319f6
Merge pull request #11014 from jia200x/pr/pktbuf_mark_doc
...
net/gnrc/pktbuf.h: add note in gnrc_pktbuf_mark
2019-02-14 17:14:55 +01:00
5cfdf0c837
release-notes.txt: add notes for 2019.01 release
...
Co-authored-by: Emmanuel Baccelli <emmanuel.baccelli@inria.fr>
Co-authored-by: Gaëtan Harter <gaetan.harter@fu-berlin.de>
Co-authored-by: Martine Lenders <m.lenders@fu-berlin.de>
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
Co-authored-by: Peter Kietzmann <peter.kietzmann@haw-hamburg.de>
2019-02-14 16:58:31 +01:00
Jose Alamos
f7ac0c57e9
net/gnrc/pktbuf.h: add note in gnrc_pktbuf_mark
2019-02-14 15:09:03 +01:00
Cenk Gündoğan
3fd13b9a85
Merge pull request #10985 from miri64/gnrc_ipv6_nib/fix/delayed-na
...
gnrc_ipv6_nib: fix preparation of delayed NA
2019-02-12 20:47:42 +01:00
Juan I Carrano
643de0a857
Merge pull request #11005 from cladmi/pr/test/periph_eeprom/use_eeprom_clear_byte
...
tests/periph_eeprom: use EEPROM_CLEAR_BYTE
2019-02-12 18:00:53 +01:00
Gaëtan Harter
8e4b11cdd0
Merge pull request #10369 from miri64/gnrc_ipv6_nib/fix/arsm-16-bit
...
gnrc_ipv6_nib/arsm: ensure proper int width in backoff calculation
2019-02-12 17:54:52 +01:00
Martine Lenders
a37ba3c375
Merge pull request #8968 from bergzand/pr/tools/backport_script
...
dist/tools: Add script for backporting PR's
2019-02-12 17:04:06 +01:00
Martine Lenders
f5086e76df
tests/unittests: add tests for exponential NS backoff
2019-02-12 17:01:14 +01:00
Martine Lenders
82001cfd79
gnrc_ipv6_nib: expose non-randomized part of NS-backoff calculation
...
This was primarily done so the backoff can be tested
2019-02-12 17:01:14 +01:00
Martine Lenders
1f4d57d608
gnrc_ipv6_nib/arsm: ensure proper int width in backoff calculation
...
Otherwise, the result might flow over on 8/16-bit platforms
2019-02-12 17:01:14 +01:00
Gaëtan Harter
c894b67733
tests/periph_eeprom: take EEPROM_CLEAR_BYTE into account
...
After being cleared, the memory can be `0xFF` for `atmega` platforms for
example.
Fix the test to take EEPROM_CLEAR_BYTE into account.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
3058c8c645
tests/periph_eeprom: use memcmp for cleared bytes
...
`strcmp` was used to check that the 4 bytes were empty but was not
testing what it should as an empty string is `0` bytes long.
The whole must be verified.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
7455e0b6fe
tests/periph_eeprom: use memcmp
...
Use `memcmp` where it is obvious it is not doing a string comparison.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
6d8fd279ac
tests/periph_eeprom: remove useless casts
...
Casting to `const char *` is not necessary as input, the type are
already the right ones.
It could not be before as `result` was with the wrong type.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
c029fcde11
tests/periph_eeprom: fix 'results' type
...
Results type should only be an array of char, not an array of pointers.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
9af491d2f6
tools/backport_pr: add tox.ini
...
Adapt tox file from `compile_and_test_for_board.py`.
`tox` is still not working without errors but gives way to start
refactoring.
2019-02-12 15:34:15 +01:00
493cac27f3
dist/tools: Add script for backporting PR's
...
This script provides functionality to easily backport a merged pull request to
a release branch.
It relies of having a `github` API token stored in `~/.riotgithubtoken` by
default.
The script works by fetching information from the supplied **merged** pull
request. It then looks for the last release branch.
A temporary git `worktree` with a new branch is created based on this release
branch. All commits from the pull request are then cherry-picked into this
branch which is then pushed to `origin`.
It then creates a new pull request on `github` with a reference to the original
pull request. It optionally puts a comment under the original pull request to
the new backport pull request.
Co-authored-by: Gaëtan Harter <gaetan.harter@fu-berlin.de>
2019-02-12 15:34:12 +01:00
Juan I Carrano
f344bb20c5
Merge pull request #10630 from jcarrano/shell-flush-echo
...
sys/shell: ensure character is flushed when echoing.
2019-02-12 15:19:17 +01:00
Martine Lenders
aa953a40ea
gnrc_ipv6_nib: fix preparation of delayed NA
...
Currently the constructed NA for a delayed NA case is neither used nor
released nor does it get an IPv6 header to be used properly. This fixes
that case.
2019-02-12 14:12:59 +01:00
Cenk Gündoğan
fa48e662a7
Merge pull request #10998 from miri64/gnrc_ipv6_nib/fix/cache-out-loop-iteration
...
gnrc_ipv6_nib: fix iteration conditions for cache-out
2019-02-12 14:10:15 +01:00
Peter Kietzmann
892a37351a
Merge pull request #10946 from brummer-simon/gnrc_tcp-fix_syn_rcvd_packetloss_deadlock
...
gnrc_tcp: syn_rcvd pkt loss fix
2019-02-12 13:51:51 +01:00
Martine Lenders
01cc6536d8
Merge pull request #10997 from yegorich/pr/documentation/linkchecker-fixes
...
Documentation: fix dead links
2019-02-12 12:50:42 +01:00
Juan I Carrano
505e7d80e4
Merge pull request #10992 from cladmi/pr/pyterm/python3
...
pyterm: use python3 by default
2019-02-12 12:07:20 +01:00
Martine Lenders
877217663e
gnrc_ipv6_nib: add clarification to comment in cache-out
...
When working on the previous commit I was unsure if a
garbage-collectible entry should remain in the list, so I added this
comment so I don't have to wonder about this in the future ;-).
2019-02-12 12:06:45 +01:00
Martine Lenders
7fcc2ab5d6
gnrc_ipv6_nib: fix iteration conditions for cache-out
2019-02-12 12:06:04 +01:00
Yegor Yefremov
a62d4550d7
Documentation: fix dead links
...
The link to nodemcu-devkit-v1.0 was missing 'h' in 'http'.
Other links were missing 'http://' or 'https://' and were pointing
to non-existing components on RIOT's web site.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-02-12 10:46:15 +01:00
Cenk Gündoğan
ea7f7c2340
Merge pull request #10978 from miri64/gnrc_ipv6_nib/fix/release-when-full
...
gnrc_ipv6_nib: release packet when NC entry can't be added
2019-02-12 10:43:32 +01:00
Martine Lenders
0543016b24
Merge pull request #10995 from maribu/6lo_frag
...
net/sixlowpan: Fixed calculation of fragment size
2019-02-12 10:09:21 +01:00
Marian Buschsieweke
194d340a64
net/sixlowpan: Fixed calculation of fragment size
...
Fragment size calculation previously failed for devices that are able to
transmit bigger layer 2 PDUs that 802.15.4 devices. This commit fixes the issue.
2019-02-12 09:45:31 +01:00
8eb02b6cd1
Merge pull request #10975 from miri64/gnrc_ipv6_nib/fix/rm-nib-clean
...
gnrc_ipv6_nib/nc: remove from _next_removable on remove
2019-02-11 17:39:29 +01:00
Gaëtan Harter
f89bf055b4
pyterm: use python3 by default
...
Python3 has been the default in our scripts for some time now, but pyterm still
requested python which uses python2 on ubuntu stable.
This pushes toward only needing to install `python3` python
dependencies.
2019-02-11 17:09:13 +01:00
Kevin "Bear Puncher" Weiss
f8a7c026f2
Merge pull request #10984 from yegorich/pr/uart/documentation-fix
...
periph/uart: improve documentation
2019-02-11 11:50:46 +01:00
Peter Kietzmann
63fd8bc89b
Merge pull request #7577 from miri64/gnrc_netif2/feat/ieee802154-dup-bcast
...
gnrc_netif_ieee802154: drop duplicate broadcast packets (optionally)
2019-02-11 09:42:06 +01:00