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

4222 Commits

Author SHA1 Message Date
Martine Lenders
ac7671762d Merge pull request #6778 from miri64/posix_sockets/enh/port-to-vfs
posix_sockets: port to vfs for file descriptors
2017-04-04 19:51:51 +02:00
kYc0o
e2e1500c6d f tftp: address @aabadie comments. 2017-04-04 14:02:36 +02:00
kYc0o
9ee1e1f156 tftp: send DACK until server receives it 2017-04-04 01:55:46 +02:00
kYc0o
1f70d172c6 tftp: disable debug 2017-04-04 01:55:46 +02:00
Martine Lenders
8b5eda9020 posix_sockets: port to vfs for file descriptors 2017-04-03 20:23:14 +02:00
Joakim Nohlgård
0ba9fd3456 6lo: Avoid null ptr dereference when DAC=1, DAM=00, M=1 2017-04-02 18:42:01 +02:00
Vincent Dupont
f0bd96b690 spiffs: add SPIFFS as a package
This implements basic features with the VFS interface
2017-03-31 17:17:41 +02:00
Hauke Petersen
76bae4b111 Merge pull request #6066 from neiljay/pr/add_mips-pic32_mz
cpu: Add PIC32MZ support
2017-03-29 12:53:47 +02:00
Martine Lenders
33991832d1 Merge pull request #6694 from kaspar030/add_sock_dns_client
sys: net: add sock dns client
2017-03-29 10:14:38 +02:00
Peter Kietzmann
dd86ee9546 Merge pull request #6782 from aabadie/drivers_saul_cleanup
sys/auto_init: fix return statement in some device auto init function
2017-03-29 09:20:51 +02:00
Martine Lenders
c2463a9047 Merge pull request #6811 from haukepetersen/opt_pmlayred_blockinit
pm_layerd: fix initial value for PM_BLOCKER_INITIAL
2017-03-29 09:08:43 +02:00
Martine Lenders
ad38750587 Merge pull request #6693 from miri64/sntp/enh/real-time-types
sntp: extend API for common real time types
2017-03-29 09:05:56 +02:00
Martine Lenders
f2c9d0c810 Merge pull request #6529 from miri64/od/enh/reduce-func
od: simplify od module to only provide od_hex_dump
2017-03-29 00:10:41 +02:00
Martine Lenders
1b83b0590f Merge pull request #6716 from OlegHahm/cbcmode_remove
crypto: remove superfluous and unused header
2017-03-28 22:31:20 +02:00
Martine Lenders
dc28e265cd Merge pull request #6771 from francois-berder-imgtec/rcv-timeout
posix: sockets: Implement SO_RCVTIMEO option in setsockopt
2017-03-28 21:19:38 +02:00
Martine Lenders
48fa957ab6 shell_commands: adapt shell command for new real time types 2017-03-28 21:13:17 +02:00
57aadb8d72 sys/auto_init: fix return statement in some device auto init function 2017-03-28 21:03:20 +02:00
Martine Lenders
cc151522eb Merge pull request #6807 from kaspar030/fix_fmt_lpad_dox
sys: fmt: fix fmt_lpad() documentation and (str==NULL) case
2017-03-28 20:59:04 +02:00
Martine Lenders
fd16692c1c Merge pull request #6696 from lebrush/fix/semaphore
sys: sema: semaphore bugfixes
2017-03-28 20:54:06 +02:00
7af03ab624 sys: net: introduce simple sock DNS client 2017-03-28 20:49:53 +02:00
Hauke Petersen
5c7ed2228d pm_layerd: fix initial value for PM_BLOCKER_INITIAL
the current value was a debugging left-over and should
actually be 0.
2017-03-28 19:32:32 +02:00
Martine Lenders
10ca03aab3 sntp: extend API for UNIX timestamp 2017-03-28 19:21:14 +02:00
2a955ad631 sys: net: sock: add utility functions 2017-03-28 19:16:27 +02:00
Martine Lenders
4ed199a9ad gnrc_pktbuf: adapt pktbuf to od change 2017-03-28 19:14:59 +02:00
Martine Lenders
2db9ed11d1 od: simplify od module to only provide od_hex_dump
To my knowledge no one was using the more complex functionalities of
this module (except for the test application and pktbuf which just used
the same flags as the `od_hex_dump()` wrapper), so why not reduce the
functionality of this module?
2017-03-28 19:14:59 +02:00
Neil Jones
becfd63b00 sys: Extend MIPS temporary work around to all mips targets.
Extened the temporary workaround for mips boards to all mips boards
until pr#6639 is merged.
2017-03-28 16:25:32 +01:00
eb5ff902fa sys: fmt: fix fmt_lpad() documentation and (str==NULL) case 2017-03-28 16:07:30 +02:00
Joakim Nohlgård
c11a196720 Merge pull request #6766 from miri64/doc/fix/hierachy
doc: fix doc hierarchy
2017-03-28 14:38:13 +02:00
lebrush
796eb64c0b Merge pull request #6784 from kaspar030/add_fmt_lpad
sys: fmt: add fmt_lpad()
2017-03-27 20:10:12 +02:00
003b71b323 sys: fmt: add fmt_lpad() 2017-03-27 17:44:51 +02:00
Simon Brummer
edc35339c7 sema: doc: fix typo in error return value 2017-03-27 12:43:32 +02:00
Francois Berder
c787638696 posix: sockets: Implement SO_RCVTIMEO option in setsockopt
AwaLWM2M needs to be polled regularly to check for incoming data.
Since RIOT only supports timeout at the GNRC sock layer while
the network abstraction for RIOT in AwaLWM2M uses the posix layer,
this causes RIOT to be blocked waiting for data that never arrive.

This commit implements only the SO_RCVTIMEO option in setsockopt to
allow users to set a receive timeout for a socket at the posix layer.

Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-23 09:59:46 +00:00
Martine Lenders
529a88ca26 shell_commands: fix sc_vfs warnings 2017-03-22 13:20:12 +01:00
4618bcfa7b Merge pull request #6749 from dylad/adxl345_support
drivers/adxl345: Initial support + saul
2017-03-21 20:57:28 +01:00
dylad
2f801bbce9 drivers/adxl345: initial implementation + SAUL adaptation
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-03-20 22:52:21 +01:00
Sebastian Meiling
4730933117 Merge pull request #6763 from miri64/posix/fix/unistd
posix: fix close() if fd_obj was closed already
2017-03-20 16:13:21 +01:00
Martine Lenders
aeccb853a5 doc: fix doc hierarchy 2017-03-20 11:59:10 +01:00
Martine Lenders
bac4118d68 posix: fix close() if fd_obj was closed already 2017-03-20 09:43:55 +01:00
Martine Lenders
465f8e42a1 posix_sockets: fix assertion on close 2017-03-20 09:37:26 +01:00
Martine Lenders
d3c60f1056 Merge pull request #6757 from OlegHahm/sock_tcp_minor_doc_fix
sock: tcp: fix c&p mistake
2017-03-17 13:37:08 +01:00
Oleg Hahm
0018cd7b01 sock: tcp: fix c&p mistake 2017-03-17 08:13:07 +01:00
Martine Lenders
368c3e787f Merge pull request #6601 from miri64/ps/fix/add-mbox-blocked-state
ps: add state name for STATUS_MBOX_BLOCKED
2017-03-15 15:40:56 +01:00
Martine Lenders
29842bb5e4 netdev2: rename to netdev and remove gnrc_netdev
With some minor hand-edits I used the following chain of commands:

```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
        xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
                     -e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
                     -e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
        grep "netdev2" | while read dir; do
                new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
                git mv -f "$dir" "$new_dir"
        done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | while read file; do
                new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
                git mv -f "$file" "$new_file"
        done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
        xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Martine Lenders
01f76715aa Merge pull request #6627 from zhuoshuguo/add_support_for_multicast_for_gnrc_mac
gnrc_mac: add support for multicast pkt.
2017-03-14 09:52:59 +01:00
Joakim Nohlgård
6f55a022b7 sys/fmt: Improve API documentation summary 2017-03-13 15:24:06 +01:00
Martine Lenders
1b11268327 Merge pull request #6732 from thomaseichinger/minor/fix_typo
net/ieee802154: fix typo and improve formatting consistency
2017-03-11 20:10:10 +01:00
Martine Lenders
09f1fb2847 Merge pull request #6684 from OlegHahm/ng_cleanup
net: cleanup ng_ remnants
2017-03-11 20:09:49 +01:00
Martine Lenders
4a51d1b433 Merge pull request #6697 from francois-berder-imgtec/awalwm2m
posix: sockets: Small fixes for listen and recvfrom functions
2017-03-11 19:22:35 +01:00
Thomas Eichinger
5230257089 net/ieee802154: fix typo and improve formatting consistency 2017-03-10 09:12:59 -08:00
Joseph Noir
27297bb640 doc: fix and update cpp11 compat doxygen 2017-03-10 14:56:48 +01:00