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

16519 Commits

Author SHA1 Message Date
PeterKietzmann
6295e4a7c9 sys/netif: add missig pkt release in gnrc_netif_raw 2017-12-13 15:44:39 +01:00
Martine Lenders
eb08a509ca tests: fix tests/gnrc_netif for changes in #6895 2017-12-13 15:44:19 +01:00
Martine Lenders
1ec87311ee
Merge pull request #8254 from PeterKietzmann/pr_extend_shell_netif_state
shell/netif: extend set state option
2017-12-13 15:41:31 +01:00
PeterKietzmann
4bd1d0ec9f shell/netif: extend set state option 2017-12-13 15:26:03 +01:00
Martine Lenders
2ae30cf582 gnrc_netif: rename IPv6 address "setters"
This renames the following functions

* `gnrc_netif_ipv6_addr_add()`
* `gnrc_netif_ipv6_addr_remove()`
* `gnrc_netif_ipv6_group_join()`
* `gnrc_netif_ipv6_group_leave()`

by appending the suffix `_internal`.

\## Reasoning

I'd like to provide a helper function for the *public* equivalent using
`gnrc_netapi_set()`, and those names are to nice to not be taken for
those.

\## Procedure
I used a combination of `git grep` and `sed` to do this and fixed the
alignment in the result of some cases by hand.

```sh
git grep --name-only "\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)\>" | \
        xargs sed -i 's/\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)/\0_internal/g'
```
2017-12-13 13:50:39 +01:00
Martine Lenders
ba2453d320
Merge pull request #8247 from aabadie/pr/tests/python_E305
tests: fix python style E305
2017-12-13 10:52:57 +01:00
Martine Lenders
d922b06fbb
Merge pull request #8249 from aabadie/pr/tests/python_E402
tests: fix python style E402
2017-12-13 10:36:46 +01:00
87b14d96c8 tests: fix python style E402
E402 module level import not at top of file
2017-12-12 22:40:03 +01:00
991a514fea
Merge pull request #8245 from aabadie/pr/tests/python_E502
tests: fix python style E502 issue
2017-12-12 17:44:19 +01:00
d3015f0a57 tests: fix python style E305
expected 2 blank lines after class or function definition, found 1
2017-12-12 15:43:27 +01:00
ec5a9a5f88 tests: fix python style E502 issue:
E502 the backslash is redundant between brackets
2017-12-12 15:14:47 +01:00
Joakim Nohlgård
b55975fc0a unittests: Fix printf float test BUFSIZE
Fixes the following error from GCC 7.2.0 with a recent newlib

In file included from /usr/arm-none-eabi/include/stdio.h:800:0,
                 from /home/jgn/work/src/riot/tests/unittests/tests-printf_float/tests-printf_float.c:21:
/home/jgn/work/src/riot/tests/unittests/tests-printf_float/tests-printf_float.c: In function ‘sfprintf_float’:
/home/jgn/work/src/riot/tests/unittests/tests-printf_float/tests-printf_float.c:39:28: error: ‘%f’ directive output truncated writing 11 bytes into a region of size 10 [-Werror=format-truncation=]
     snprintf(str, BUFSIZE, "%f", in0);
                            ^
/home/jgn/work/src/riot/tests/unittests/tests-printf_float/tests-printf_float.c:39:5: note: ‘__builtin_snprintf’ output 12 bytes into a destination of size 10
     snprintf(str, BUFSIZE, "%f", in0);
     ^
cc1: all warnings being treated as errors
2017-12-12 12:16:43 +01:00
Martine Lenders
01a82c870e
Merge pull request #8237 from miri64/doc/fix/nanocoap-group
nanocoap: fix doxygen grouping
2017-12-12 10:51:19 +01:00
Joakim Nohlgård
39c01ce6e8
Merge pull request #8241 from haukepetersen/fix_timex_msinus
sys/timex: make NS_PER_US unsigned
2017-12-12 08:36:33 +01:00
Hauke Petersen
e9334e6d2d sys/timex: make NS_PER_US unsigned 2017-12-12 07:51:39 +01:00
855f47db9d
Merge pull request #7650 from aabadie/pr_message
github: add pull request and issue template files
2017-12-11 22:26:36 +01:00
Vincent Dupont
a99a244824 unittests/tests-spiffs: add statvfs unittest 2017-12-11 09:19:53 -08:00
Martine Lenders
93cb169c1f
Merge pull request #8235 from zhuoshuguo/gnrc_gomach_beacon_length_limit
gnrc_gomach: add sender ID number limit in beacon packet.
2017-12-11 16:17:47 +01:00
Martine Lenders
0acbe38df6
Merge pull request #8216 from roberthartung/at86rf2xx-netopt-autoack
drivers/at86rf2xx: Fix set/get of NETOPT_AUTOACK
2017-12-11 16:07:26 +01:00
Robert Hartung
a5ceb3c483 drivers/at86rf2xx: fixes get/set for NETOPT_AUTOACK 2017-12-11 15:57:23 +01:00
Martine Lenders
5a7d97635a
nanocoap: fix doxygen grouping
The doxygen group for the networking module is `net`, not `sys_net`.
By using `sys_net` nanocoap appears in the [module
root](https://doc.riot-os.org/modules.html) of the documentation.
2017-12-11 15:50:17 +01:00
Martine Lenders
329c6bf91a
Merge pull request #8233 from smlng/cpu/sam0/fix_flashpage
cpu/sam0_common: fix assert in periph/flashpage
2017-12-11 15:40:02 +01:00
Martine Lenders
22da59b40a
Merge pull request #7437 from cgundogan/pr/ccn-lite_v2
pkg: ccn-lite: adapt to v2
2017-12-11 13:47:27 +01:00
zhuoshuguo
cebc995ec3 gnrc_gomach: add sender ID number limit in beacon packet. 2017-12-11 11:31:39 +01:00
Martine Lenders
0454491e58
Merge pull request #8160 from aabadie/pr/b-l072z-lrwan1-netif
boards/b-l072z-lrwan1: make sx127x default netdev
2017-12-10 21:58:19 +01:00
eb7d248944 examples/gnrc_tftp: remove b-l072z-lrwan1 because of not enough memory 2017-12-10 16:41:06 +01:00
0b5059f46b boards/b-l072z-lrwan1: configure auto netif configuration 2017-12-10 16:41:06 +01:00
1ad9b7a493 drivers/sx127x: fix build issue with unused variable 2017-12-10 16:41:06 +01:00
0accd367bc
Merge pull request #8159 from aabadie/pr/auto_init_sx127x
sys/auto_init: add auto init implementation for sx127x radio devices
2017-12-10 16:28:31 +01:00
smlng
150f3fb231 cpu/sam0_common: fix assert in periph/flashpage 2017-12-10 16:21:52 +01:00
04c3acc4b8
Merge pull request #8232 from aabadie/pr/drivers/sx127x_netdev
drivers/sx127x: improve netdev adaption
2017-12-10 16:08:26 +01:00
Martine Lenders
b8eb857ea6
Merge pull request #8223 from kb2ma/gcoap/cli_link_local
net/gcoap: Require interface for link local address in shell example
2017-12-10 16:00:34 +01:00
Sebastian Meiling
23e8d92285
Merge pull request #8219 from smlng/automate/tests/mutex_unlock
tests: optimise and automate mutex_unlock_and_sleep
2017-12-10 16:00:11 +01:00
Ken Bannister
a1efa03981 net/gcoap: Read interface from CLI in shell example 2017-12-10 09:50:36 -05:00
c52e11f9fd drivers/sx127x: fix wrong return values in netdev get 2017-12-09 20:06:57 +01:00
170c7e8e4d drivers/sx127x: use NETOPT_DEVICE_TYPE for LoRa modem 2017-12-09 20:06:57 +01:00
400dccfaa1 sys/net/netopt: remove unused NETOPT_DEVICE_MODE 2017-12-09 20:06:57 +01:00
Dylan Laduranty
d7f1c64559
Merge pull request #8222 from aabadie/pr/drivers/sx127x_timers
drivers/sx127x: cleanup RX/TX timers
2017-12-09 18:52:20 +01:00
4e95bf0018
Merge pull request #8201 from aabadie/pr/tests/python_warn_conflict
tests/warn_conflict: cleanup python test script and move it to tests folder
2017-12-09 16:54:07 +01:00
32b1ee3baf drivers/sx127x: cleanup RX/TX timers 2017-12-09 16:51:09 +01:00
404a32f346 tests/warn_conflict: cleanup python test script and move to tests folder 2017-12-08 23:01:09 +01:00
Dylan Laduranty
2320c269c1
Merge pull request #8226 from gebart/pr/saml21-feature_periph
saml21: Update FEATURE_PERIPH_PM -> MODULE_PERIPH_PM
2017-12-08 21:30:24 +01:00
Martine Lenders
09e5482020
Merge pull request #8229 from miri64/doc/enh/coc-to-contrib
doc: Add link to code of conduct to contribution guidelines
2017-12-08 13:34:30 +01:00
Joakim Nohlgård
ea4d5e6506
Merge pull request #8224 from OTAkeys/pr/fix_fmt_u32_dec
sys/fmt: fix overflow in fmt_u32_dec()
2017-12-08 13:33:32 +01:00
Martine Lenders
0551e5c0bc
doc: Add link to code of conduct to contribution guidelines 2017-12-08 12:49:37 +01:00
5c4495f69d github: add issue template 2017-12-08 12:11:44 +01:00
81d13deb41 github: add PR template 2017-12-08 12:11:44 +01:00
Joakim Nohlgård
3a66df0c1a
Merge pull request #8225 from gebart/pr/hwrng-init
periph_common: Call hwrng_init when enabled
2017-12-08 11:55:46 +01:00
Sebastian Meiling
cdf4b7a51d
Merge pull request #8116 from miri64/github/enh/code-of-conduct
github: add Code of Conduct
2017-12-08 11:30:32 +01:00
Martine Lenders
628c97c079
github: add Code of Conduct 2017-12-08 09:10:01 +01:00