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

4384 Commits

Author SHA1 Message Date
smlng
29d84a6865 posix: replace timex in pthread_cond 2017-06-21 11:24:22 +02:00
Ken Bannister
aa2f97c80f net/gcoap: Protect update to open requests with mutex. 2017-06-18 06:29:43 -04:00
Ken Bannister
24b21dbfbc net/gcoap: Protect message ID state with atomic updates.
Also changed semantics for storage of message ID, from last ID to next ID.
This change provides idiomatic use of the return value of the atomic
function, without other side effects on gcoap.
2017-06-18 06:16:15 -04:00
031870038b Merge pull request #6767 from miri64/evtimer/feat/initial
evtimer: initial import
2017-06-17 00:25:22 +02:00
smlng
5cb8a86e44 trickle: enhancements
- add asserts
    - update docu
2017-06-16 23:04:01 +02:00
fce919d27c
evtimer: initial import 2017-06-16 16:50:54 +02:00
Cenk Gündoğan
f1dc041728 Merge pull request #7180 from miri64/gnrc_ipv6_nib/fix/nc-cache-out
gnrc_ipv6_nib: fix caching mechanism of neighbor cache
2017-06-15 13:00:41 +02:00
Martine Lenders
b32200e3ad gnrc_ipv6_nib: fix caching mechanism of neighbor cache 2017-06-15 11:40:46 +02:00
92147cf269 Merge pull request #7168 from smlng/driver/tmp006/rework
driver: tmp006 rework
2017-06-14 23:10:45 +02:00
smlng
054c002960 saul: add support for tmp006 2017-06-14 20:45:01 +02:00
da16943e8c sys/auto_init/saul: update bmp180 saul support with api changes 2017-06-14 09:48:20 +02:00
Francisco Acosta
3af1fe5675 Merge pull request #7134 from smlng/macos/fix/posix/clockid_t
posix: fix redefined clockid_t on macOS
2017-06-13 17:48:20 +02:00
smlng
16bd7db5dc posix: fix redefined clockid_t on macOS 2017-06-13 17:32:21 +02:00
Martine Lenders
7a444e56c1
ndp: Add constant for retrans. timer exp. backoff maximum 2017-06-13 14:08:26 +02:00
Sebastian Meiling
863bda7bc8 Merge pull request #7163 from cgundogan/pr/trickle_fix
trickle: adjust old_interval to max / 2 in case of I > Imax
2017-06-12 09:48:03 +02:00
Cenk Gündoğan
ef9ee54fe2 doc: nib: neighbor information base everywhere you look 2017-06-12 00:49:07 +02:00
Joakim Nohlgård
8e10e6e3fa xtimer: Use {} for empty while loops 2017-06-10 06:34:24 +02:00
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
Cenk Gündoğan
933b3cb378 trickle: adjust old_interval to max / 2 in case of I > Imax 2017-06-09 16:13:49 +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