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

4365 Commits

Author SHA1 Message Date
Cenk Gündoğan
72c3c9cf6a Merge pull request #6325 from miri64/gnrc_ipv6_nib/feat/internal
gnrc_ipv6_nib: initial import of internal NIB functions
2017-06-09 22:05:47 +02:00
Martine Lenders
e92f97cb12 gnrc_ipv6_nib: initial import of internal NIB functions 2017-06-09 21:52:37 +02:00
Martine Lenders
0b42721511 Merge pull request #7155 from zhuoshuguo/gnrc_mac_use_csma_sender
gnrc_mac: use csma_sender API when needed for csma transmission
2017-06-09 17:48:37 +02:00
zhuoshuguo
7565cd1d10 gnrc_mac: use software csma when needed. 2017-06-09 16:45:24 +02:00
Martine Lenders
1a4c01a912 Merge pull request #7138 from gebart/pr/netopt-ed-level
netopt: Add NETOPT_LAST_ED_LEVEL
2017-06-09 10:34:33 +02:00
BytesGalore
89716729c8 Merge pull request #7161 from cgundogan/pr/trickle_enhancements
trickle: enhancements
2017-06-09 09:15:54 +02:00
Cenk Gündoğan
9a62bb8307 shell: sc_gnrc_rpl: adjust to trickle enhancements 2017-06-09 09:03:24 +02:00
Cenk Gündoğan
04d89d3381 rpl: adjust to trickle enhancements 2017-06-09 09:03:24 +02:00
Cenk Gündoğan
e0fbb14963 trickle: enhancements 2017-06-09 09:03:24 +02:00
Joakim Nohlgård
533542314d netopt: Add NETOPT_LAST_ED_LEVEL 2017-06-09 07:14:58 +02:00
Cenk Gündoğan
6add982d3f rpl: send dis near parent timeout 2017-06-08 21:46:06 +02:00
smlng
1187376d9a shell: add param checks to rtc commands settime and setalarm 2017-06-07 15:56:40 +02:00
Cenk Gündoğan
935292ce44 gcoap: make stack size configurable 2017-06-07 08:20:35 +02:00
d7543ccf31 sys/auto_init: use new bmx280 implementation for bme280 and bmp280 2017-06-02 14:54:17 +02:00
Martine Lenders
4e7afa44ea Merge pull request #7103 from kb2ma/opt_gcoap_moveimplstatus
net/gcoap: add table of contents to module doc
2017-06-02 12:44:30 +02:00
1a2097e97e Merge pull request #7082 from jia200x/openthread_core
pkg/openthread:  core and tests
2017-06-01 20:20:37 +02:00
José Ignacio Alamos
017280db13 pkg/openthread: add OpenThread core 2017-06-01 13:44:05 -04:00
Ken Bannister
fac0ae1aa9 net/gcoap: Add table of contents to group documentation. 2017-06-01 12:45:33 -04:00
Hauke Petersen
4bc1d2916b Merge pull request #7096 from haukepetersen/opt_gcoap_misc2
net/gcoap: some more minor improvements
2017-06-01 12:54:11 +02:00
Martine Lenders
b28a61d61c Merge pull request #6670 from gebart/pr/newlib-split-syscalls
newlib: Split newlib into one generic part and one default syscalls part
2017-06-01 12:02:01 +02:00
Hauke Petersen
b104433d4e net/gcoap: improved header documentation
- fixed/unified indention throughout the file
- use same style for @brief blocks
- removed colons from end of brief descriptions
- fixed in and out annotations for function parameters
2017-06-01 11:16:27 +02:00
Hauke Petersen
7ba22cfbf8 net/gcoap: added some additional debug output 2017-06-01 11:13:15 +02:00
Hauke Petersen
9d3abe0d12 Merge pull request #7097 from haukepetersen/opt_gcoap_moveimplstatus
net/gcoap: moved implemenation status to gcoap.h
2017-06-01 10:36:20 +02:00
Cenk Gündoğan
3921fc86a7 Merge pull request #6901 from BytesGalore/rpl_drop_dao_ack_on_mc
rpl: drop DAO-ACK when received via multicast
2017-05-30 21:28:58 +02:00
Martine Lenders
229ad28751 Merge pull request #7112 from rfuentess/doxygen_fixes
Doxygen:  Minor series of fixes for the documentation
2017-05-30 21:06:06 +02:00
Raul Fuentes
808b56c07f sock/udp.h: Changed wiki syntax to doxygen 2017-05-30 20:48:41 +02:00
BytesGalore
da38b77ba4 rpl: drop DAO-ACK when received on multicast 2017-05-30 18:05:00 +02:00
BytesGalore
c3843122dd Merge pull request #7111 from cgundogan/pr/ndp_fallthrough
ndp: warn gcc-7 about intentional fall-through
2017-05-30 18:00:02 +02:00
Cenk Gündoğan
3c73d07e04 Merge pull request #7026 from smlng/shell/ccn_lite_cmd_fixup
shell: fix _ccnl_content command
2017-05-30 15:35:34 +02:00
Cenk Gündoğan
6065be76e1 ndp: warn gcc-7 about intentional fall-through
Since gcc-7 `Wimplicit-fallthrough` is activated by using `-Wextra`.
This leads to the following problem when compiling `gnrc_networking`:

```
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c: In function ‘gnrc_ndp_internal_set_state’:
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c:106:15: error: this statement may fall through [-Werror=implicit-fallthrough=]
   t = ipv6_iface->reach_time;
  ~~^~~~~~~~~~~~~~~~~~~~~~~~
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c:109:9: note: here
case GNRC_IPV6_NC_STATE_DELAY:
         ^~~~
```

The fall-through in this code is intentional. There are several ways to
warn the comiler about such intentional fall-throughs, which include
e.g. attributed empty statements (`__attribute__ ((fallthrough));`).
I don't like tis approach however. The best way would probably be to
remove this fall-through from the code. However, to keep the diff
minimal, and since ndp will change in the future, I went for warning
the compiler using comments.

The compiler checks comments for several *fall through* regexs to
decide whether a fallthrough was intentional or not.

You can read more about this gcc option in [1]. A note about
fallthrough comment regexs is at the bottom of this article.

[1] https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/
2017-05-30 14:23:37 +02:00
Hauke Petersen
bb90e293a2 net/gcoap: make input parameters const 2017-05-26 16:34:40 +02:00
Martine Lenders
d4693648ba Merge pull request #7095 from kaspar030/add_headerguard_check_script
dist: tools: add headerguard check script
2017-05-24 18:08:29 +02:00
Vincent Dupont
ee7a776a9f Merge pull request #7059 from OTAkeys/pr/fix_ls_handler
sc_vfs: fix _ls_handler
2017-05-24 17:55:52 +02:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
a65931c04a add some missing header guards 2017-05-24 17:54:01 +02:00
Vincent Dupont
151c469d9e sc_vfs: fix _ls_handler
Calls to vfs_closedir were missing at the end of _ls_handler causing umount
ro return an error.
2017-05-24 12:10:52 +02:00
Hauke Petersen
bb1d600778 net/gcoap: moved implemenation status to gcoap.h 2017-05-24 09:25:11 +02:00
Hauke Petersen
7a1fcdf0b8 Merge pull request #6469 from kb2ma/gcoap/observe
gcoap: Observe extension server
2017-05-24 09:11:15 +02:00
Ken Bannister
9d37be2729 gcoap: Add server-side Observe registration and notifications. 2017-05-23 17:55:04 -04:00
Hauke Petersen
d488fdc1e3 sys/drivers: guard l2filter.h, netstats.h includes 2017-05-23 13:39:49 +02:00
BytesGalore
2ef5cff688 Merge pull request #6072 from MichelRottleuthner/fatfs_testing
package: add generic FatFs
2017-05-23 09:03:19 +02:00
Hauke Petersen
09119708e9 net/gcoap: fixed/unified alignment in gcoap header 2017-05-22 13:55:20 +02:00
Hauke Petersen
ba5635889c net/gcoap: make gcoap_op_state return count directly 2017-05-22 13:50:59 +02:00
Hauke Petersen
cd4109100f net/gcoap: fixed coding style issue 2017-05-22 13:47:36 +02:00
Hauke Petersen
459f6083e9 net/gcoap: fixed typo in header doxygen 2017-05-22 13:47:20 +02:00
Martine Lenders
b64beb0888 Merge pull request #7055 from samkumar/feature-fix-fd_new
posix_sockets: Fix use of fd_new
2017-05-22 10:43:38 +02:00
da519a3abc sys: fmt: add fmt_float() and print_float() 2017-05-20 14:47:29 +02:00
Cenk Gündoğan
b2c692b65f Merge pull request #7028 from PeterKietzmann/pr_shell_ccnl_retrans
shell/ccnl: remove interest retransmission
2017-05-19 16:07:24 +02:00
Martine Lenders
b9ec282f04 Merge pull request #7072 from haukepetersen/fix_cpp11compat_doc
sys/cpp11-compat: fixed doxygen warnings
2017-05-19 11:06:41 +02:00
Hauke Petersen
359a89f28b sys/shell/netif: enable setting of L2 addr filters 2017-05-18 15:24:26 +02:00