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

21357 Commits

Author SHA1 Message Date
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
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
Yegor Yefremov
b8ff48cce4 periph/uart: improve documentation
Change description to reflect the configurability of the serial
interface.

Also, fix the uart_mode parameter description as the UART will be
configured and not initialized.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-02-11 09:35:23 +01:00
ZetaR60
1f9e1857f7
Merge pull request #9130 from kYc0o/cpu/atmega/unify_stacks
atmega: refactor cpu/board code and build/flash variables
2019-02-08 18:07:22 -05:00
Martine Lenders
875377d622 tests/unittests: suppress cppcheck redundantAssignment warning
To make the CI happy ;-).
2019-02-08 23:35:37 +01:00
Martine Lenders
fd3f806e32 gnrc_ipv6_nib: release packet when NC entry can't be added
When the neighbor cache is full, the packet trying to resolve a
neighbor is not released.

This change fixes that.
2019-02-08 21:53:46 +01:00
Martine Lenders
2451fb36f8 tests: add unittest for state corruption in NC cache-out 2019-02-08 19:22:51 +01:00
Juan I Carrano
e78069b316
Merge pull request #10967 from maribu/ps_bl_cond
sys/ps: Fixed stringification
2019-02-08 18:42:50 +01:00
Martine Lenders
660440c1c2 gnrc_ipv6_nib/nc: remove from _next_removable on remove
The `_next_removable` list manages the cache-out of the neighbor cache.
However, when a neighbor cache entry is removed, it is not removed
from that list, which may lead to a segmentation fault when that list is
accessed, since the whole entry (including its list pointer) is zeroed
after removal.

With this change the entry is removed from that list accordingly before
the zeroing happens.
2019-02-08 16:45:47 +01:00
Juan I Carrano
43172e20d2
Merge pull request #10889 from cladmi/pr/objcopy/fallback
makefiles/toolchain: fix command -v multiple commands
2019-02-08 14:29:31 +01:00
Kevin "Bear Puncher" Weiss
3c9130ec9e
Merge pull request #10968 from yegorich/pr/sensors/fix-dead-links
drivers/bmx280: fix dead links
2019-02-08 11:44:57 +01:00
Yegor Yefremov
6bf185855b drivers/bmx280: fix dead links
URLs have been changed to:

https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP280-DS001.pdf
https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280-DS002.pdf)

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-02-08 09:01:20 +01:00
Marian Buschsieweke
c700d0439e
sys/ps: Fixed stringification
Added missing string for STATUS_COND_BLOCKED, so that the shell command "ps"
no longer crashes when a thread has this state.
2019-02-07 21:35:48 +01:00
Gunar Schorcht
f9ae37572a
Merge pull request #10965 from gschorcht/cpu/esp8266/esp_wifi/netstat_fix
cpu/esp8266: removes netstats in esp wifi netdev driver
2019-02-07 17:04:56 +01:00