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

20981 Commits

Author SHA1 Message Date
Sören Tempel
2a6354b07d asymcute: check for minimum packet length early
Without this patch _len_get reads one byte beyond the con->rxbuf
if the incoming packet consists only of the byte 0x01.
2019-01-16 10:06:38 +01:00
Sebastian Meiling
2fde8335c9
Merge pull request #10728 from keestux/memcpy-struct-copy
Do normal assignment instead of memcpy
2019-01-16 09:18:44 +01:00
Cenk Gündoğan
abb72db73a
Merge pull request #10776 from miri64/gnrc_sixlowpan_frag/enh/detect-duplicates
gnrc_sixlowpan_frag: drop received duplicates
2019-01-16 00:08:25 +01:00
Dylan Laduranty
514812fc7c pkg/cmsis-dsp: update to V5.4.0 from ARM repo
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2019-01-15 21:33:24 +01:00
Martine Lenders
01370511df gnrc_sixlowpan_frag: drop received duplicates
Otherwise duplicate fragments are added to the number of already
received datagram bytes in L153 leading to possible race-conditions.
2019-01-15 20:09:49 +01:00
Martine Lenders
e65a017f19
Merge pull request #10775 from aabadie/pr/board/disable_dma_spi_iotlabm3
boards/iotlab-m3: disable DMA with SPI
2019-01-15 20:05:39 +01:00
9daf3c74a9 boards/iotlab-m3: disable DMA with SPI 2019-01-15 19:49:32 +01:00
Emmanuel Baccelli
209d90bc00
Merge pull request #10215 from kYc0o/pr/riotboot_multislot
riotboot: add multislot support
2019-01-15 19:04:28 +01:00
Emmanuel Baccelli
d8f64a36e4 bootloaders/riotboot: updated documentation on multislot 2019-01-15 18:32:10 +01:00
Dylan Laduranty
fdcac731eb cpu/cortexm_common: Update ARM CMSIS to V5.4.0
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2019-01-15 17:35:40 +01:00
Martine Lenders
4e4e6f8793
Merge pull request #10772 from miri64/shell/bug/gnrc-icmpv6-release-when-full
shell: sc_icmpv6_echo: release payload when pktbuf full
2019-01-15 17:26:34 +01:00
Juan Carrano
a8a23e4d85 pkg/lua/contrib: Fix warning on discarded qualifier.
There was a cast in a macro that calculated offsets. Since it was
only doing a pointer difference, the cast was inocuous, but I fix
it anyways.
2019-01-15 15:16:25 +01:00
Juan Carrano
cf2bca0d53 pkg/lua: Suppress warnings on discarded qualifiers.
Upstream lua has many instances of discarding cont qualifiers through
explicit casting. This disables the warnigns for the package so that
they don't show up when one enables -Wno-cast-qual globally.
2019-01-15 15:16:25 +01:00
Martine Lenders
8bd9e0f0c2 shell: sc_icmpv6_echo: release payload when pktbuf full
Otherwise it gets never released

Co-Authored-By: Gunar Schorcht <gunar@schorcht.net>
2019-01-15 15:07:46 +01:00
Gaëtan Harter
94a89f5105
Merge pull request #10765 from miri64/travis/fix/base-branch
.travis.yml: provide base branch to static tests
2019-01-15 14:05:14 +01:00
Martine Lenders
16ff5e03ca .travis.yml: provide base branch to static tests 2019-01-15 13:42:28 +01:00
Martine Lenders
da624f2ff4 .travis.yml: fetch base-branch for rebase 2019-01-15 13:29:19 +01:00
Martine Lenders
465631f83c gnrc_netif: doc-group device-type based functions 2019-01-15 11:51:21 +01:00
Francisco Acosta
8e5ac629e0 tests/riotboot: extend to accept slot 0 or 1
Modify the test to accept slot values 0 and 1.
2019-01-14 16:14:34 +01:00
Cenk Gündoğan
6a4c764c95
Merge pull request #10569 from miri64/gnrc_netif/enh/rm-get-NETOPT_IPV6_IID
gnrc_netif: make _get_iid() just wrapper around _iid_from_addr()
2019-01-14 14:09:34 +01:00
Martine Lenders
7ae90564d9 gnrc_netif: make _get_iid() just wrapper around _iid_from_addr()
This way the IID generation gets much simplified and code duplication
is avoided since it removes GNRC's requirement for NETOPT_IPV6_IID.
2019-01-14 13:42:58 +01:00
9767dd3d49
Merge pull request #10754 from kaspar030/fix_nanocoap_optlen
nanocoap: fix server-side option_count overflow
2019-01-14 13:26:37 +01:00
Ken Bannister
1058a8d07e tests/nanocoap: add test for option parse overflow 2019-01-14 12:30:06 +01:00
4b1b0aa84e sys/net/nanocoap: fix possible option_count overflow 2019-01-14 12:30:06 +01:00
dd53bb89f7 tests/unittests/nanocoap: add test case for option_count overflow 2019-01-14 12:30:06 +01:00
Gunar Schorcht
d34616756e cpu/esp32: add compile configuration group 2019-01-14 12:19:19 +01:00
Gunar Schorcht
2cb7b4c6df cpu/esp8266: add compile-time configurations group 2019-01-14 12:19:04 +01:00
Martine Lenders
4ab3d1a77b
Merge pull request #10534 from bergzand/pr/kw2xrf/undedup_address
kw2xrf: Don't use netdev_ieee802154_t for link layer address
2019-01-14 11:25:41 +01:00
Cenk Gündoğan
a032070e82
Merge pull request #10744 from kaspar030/handle_disabled_default_modules_before_deps
make: handle disabled default modules before dependencies
2019-01-13 18:20:10 +01:00
Martine Lenders
35868a3474
Merge pull request #10402 from bergzand/pr/mrf24j40/undedup_address
mrf24j40: Don't use netdev_ieee802154_t for link layer address
2019-01-13 13:17:40 +01:00
a6e7882879
mrf24j40: use byteorder for address operations 2019-01-13 12:03:03 +01:00
Marian Buschsieweke
04d0f38d68
Merge pull request #10746 from kaspar030/remove_newlib_dep_lpc2387
cpu/lpc2387: remove newlib dependencies
2019-01-12 23:14:38 +01:00
38e5bd627b
mrf24j40: Don't propagate address to 802154 layer 2019-01-12 20:23:36 +01:00
e6ace9c05d
mrf24j40: Add NETOPT_ADDRESS{,_LONG} to getters 2019-01-12 20:23:36 +01:00
f7bf03073c
mrf24j40: read address from device
This change modifies the mrf24j40 driver to read the address directly
from the device instead of returning the netdev_ieee802154_t member
2019-01-12 20:23:27 +01:00
fcb55c36cf
kw2xrf: Don't set netdev values in addr setters 2019-01-12 17:04:14 +01:00
5fa40a02fa
kw2xrf: Don't propagate address to 802154 layer 2019-01-12 17:04:13 +01:00
014901aae4
kw2xrf: Add NETOPT_ADDRESS{,_LONG} to getters 2019-01-12 17:04:13 +01:00
666e83479f
kw2xrf: Fetch short addr from device
This change modifies the kw2xrf_get_addr_short function to retrieve the
short address from the device and not from netdev
2019-01-12 17:04:13 +01:00
b044e83a44
kw2xrf: Change long address get to big endian
This change ensures that the endianess returned by the get_addr_long
is consistent with the endianess of the get_addr_short
2019-01-12 17:04:13 +01:00
b291c638d3
Merge pull request #10526 from OTAkeys/pr/adcxx1c_improve
drivers/adcxx1c: improve error handling
2019-01-11 19:48:35 +01:00
Vincent Dupont
2311cdda07 drivers/adcxx1c: fix phydat usage in saul wrapper 2019-01-11 17:40:55 +01:00
Vincent Dupont
6cf48416e5 drivers/adcxx1c: add error checking from i2c 2019-01-11 17:40:55 +01:00
Vincent Dupont
38da047864 drivers/adcxx1c: fix SAUL return value in case of read error 2019-01-11 16:31:51 +01:00
José Alamos
5b350d6b2a
Merge pull request #10392 from miri64/tests/new/gnrc_rpl_srh
tests: introduce dedicated `gnrc_rpl_srh` test
2019-01-11 15:42:23 +01:00
Martine Lenders
3ff2edfe33 tests/gnrc_rpl_srh: output unittests as text 2019-01-11 15:18:53 +01:00
Martine Lenders
1d5184a948 tests: move gnrc_rpl_srh unittests to dedicated test application 2019-01-11 15:18:52 +01:00
Martine Lenders
df3d1be3e6 tests/gnrc_rpl_srh: introduce dedicated gnrc_rpl_srh test 2019-01-11 15:18:52 +01:00
José Alamos
bb095e45ce
Merge pull request #10382 from miri64/tests/enh/gnrc_ipv6_ext_scapy
tests/gnrc_ipv6_ext: port to scapy
2019-01-11 13:44:35 +01:00
Sebastian Meiling
4a91b61ad8
Merge pull request #9930 from gebart/pr/frdm-k64f-lptmr
frdm-k64f: Add LPTMR configuration
2019-01-11 13:29:59 +01:00