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

20872 Commits

Author SHA1 Message Date
Martine Lenders
8f763535ac gnrc_netif: centralize S/TLLAO length to address length function
The function to infer the link-layer address length from the length of
a S/TLLAO is very dependent on the IPv6 over X specification and thus
should be grouped with the other IP over X functions.
2019-01-16 15:52:53 +01:00
Martine Lenders
465631f83c gnrc_netif: doc-group device-type based functions 2019-01-15 11:51:21 +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
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
Martine Lenders
70c970695a tests/gnrc_ipv6_ext: port to scapy 2019-01-11 13:27:21 +01:00
Kevin "Bear Puncher" Weiss
9e1ab1e93b
Merge pull request #10700 from gschorcht/esp32_esp_now_fix_opt
cpu/esp: esp_now_netdev fixes and optimizations
2019-01-11 13:14:59 +01:00
Gunar Schorcht
68a02fd1c6 cpu/esp: comment about non-existing mutex removed 2019-01-11 12:38:04 +01:00
Sebastian Meiling
501f8fddf8
Merge pull request #10716 from keestux/refactor-prototypes-pulse-counter
drivers/pulse_counter: refactor the prototypes of read funcs
2019-01-11 11:43:36 +01:00
afe3d676a5
Merge pull request #10126 from gschorcht/esp8266_doc
cpu/esp8266: doc extended
2019-01-11 08:00:09 +01:00
Gunar Schorcht
c9d9d60f10 cpu/esp8266: README.md removed
Documentation is generated by doxygen from doc.txt
2019-01-11 00:50:02 +01:00
11e4309f35
Merge pull request #10740 from miri64/sock_dns/bug/i10739
sock_dns: fix out-of-bound errors
2019-01-10 18:26:11 +01:00
Martine Lenders
894ad29322 sock_dns: remove out-of-place puts() call 2019-01-10 18:07:29 +01:00
Martine Lenders
8ad5e44cba sock_dns: remove some magic numbers 2019-01-10 18:07:29 +01:00
Martine Lenders
2840b3825e sock_dns: fix out-of-bound errors
Fixes #10739
2019-01-10 18:07:29 +01:00
José Alamos
afa69c5567
Merge pull request #10416 from maribu/cc2420
drivers/cc2420: Implemented missing drop case
2019-01-10 16:26:40 +01:00
Martine Lenders
241c870d20
Merge pull request #10747 from maribu/typo_gnrc_udp_makefile
tests/gnrc_udp: Fixed typo in Makefile
2019-01-10 15:02:38 +01:00
Martine Lenders
a09dc18b9c
Merge pull request #10404 from cladmi/pr/arm/warning_on_ubuntu_bionic_gcc
cortexm.inc.mk: detect 'arm-none-eabi-gcc' from ubuntu bionic
2019-01-10 14:44:15 +01:00
Marian Buschsieweke
3c88272ea3
examples/gnrc_networking: Fixed typo in Makefile 2019-01-10 13:59:02 +01:00
Marian Buschsieweke
f3b9398ed7
tests/gnrc_udp: Fixed typo in Makefile 2019-01-10 13:55:16 +01:00
Gaëtan Harter
89d7e2ec33
cortexm.inc.mk: detect 'arm-none-eabi-gcc' from ubuntu bionic
arm-gcc version from ubuntu bionic repository is not supported in RIOT.
Both when building with `gnu` and `llvm`.

    arm-none-eabi-gcc --version
    arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620

So detect this version and print an error if found.

The check is done on the building machine and not on the host when building in
docker.

The error can be disabled when building with WERROR=0.
2019-01-10 13:27:22 +01:00
b19dcd3a65 cpu: lpc2387: use while(1){} instead of exit
This removes the dependency on newlib.
2019-01-10 12:15:44 +01:00
56f6c4f084 cpu: lpc2387: turn printf -> LOG_ERROR 2019-01-10 12:15:08 +01:00
5aa3a2b4b7 make: handle disabled default modules before dependencies 2019-01-10 11:59:28 +01:00