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
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
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
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
Oleg Hahm
8ec5bcad89
doc: ipv6: fix broken doxygen
2017-03-10 14:56:28 +01:00
Oleg Hahm
d523c33015
doc: gnrc: fix doxygen and add missing doc
2017-03-10 14:56:28 +01:00
Oleg Hahm
3bc0cfd2a7
doc: color: fix doxygen
2017-03-10 14:56:28 +01:00
Oleg Hahm
9225ede2b9
doc: hashes: fix API docs
2017-03-10 14:56:28 +01:00
Oleg Hahm
e2914bd351
doc: random: document float PRNG macro
2017-03-10 14:56:28 +01:00
Oleg Hahm
e420c7ad9e
doc: xtimer: added missing documentation
2017-03-10 14:56:28 +01:00
Oleg Hahm
d48330acbb
doc: posix: fix doxygen complaints
2017-03-10 14:56:28 +01:00
Joakim Nohlgård
887cc72365
Merge pull request #5616 from gebart/pr/vfs
...
vfs: file system abstraction
2017-03-09 09:44:56 +01:00
Oleg Hahm
9934837349
crypto: remove superfluous and unused header
...
The implementation is gone for a long time anyway.
2017-03-08 10:39:47 +01:00
Joakim Nohlgård
0371769e72
devfs: Dynamic file system for device nodes
2017-03-07 17:59:59 +01:00
Joakim Nohlgård
fdd129db68
uart_stdio: Bind uart_stdio to vfs fds for stdin/out/err
2017-03-07 17:59:58 +01:00
Joakim Nohlgård
a1faeb9ca1
newlib: Use vfs for file I/O syscalls
2017-03-07 17:59:57 +01:00
Joakim Nohlgård
dcc37329df
sys/vfs: A virtual file system (VFS) layer for RIOT
...
The VFS layer provides file system abstractions to allow using a unified
interface to access files from mounted file systems.
2017-03-07 17:59:57 +01:00
Joakim Nohlgård
89ba41c79e
sys/posix: Add sys/statvfs.h
2017-03-07 17:59:57 +01:00
Francois Berder
27dec749e8
posix: sockets: Fix return value of recvfrom and sendto
...
_bind_connect already sets errno and returns -1 or 0.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-07 16:42:21 +00:00
Martine Lenders
60fda890a6
Merge pull request #6704 from OlegHahm/posix_socket_missing_parens
...
posix: missing closing parenthesis
2017-03-07 16:50:18 +01:00
Cenk Gündoğan
83a69c0cb2
random: doc: warn about global PRNG state
2017-03-07 12:15:11 +01:00
Francois Berder
8d2ec19be6
posix: sockets: Fix timeout regression of recvfrom
...
Commit de41971aab
sets the default
timeout to 0. This change should not have been part of the commit.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-07 11:07:16 +00:00
Francois Berder
8f839fbc31
posix: sockets: address was not set in recvfrom
...
The address is an optional parameter of recvfrom. If it is
not null, recvfrom must store the address of the sender.
However this was only allowed if res was equal to 0, which
is wrong since res contains the number of bytes received
or -1.
This commit ensures that the address is set only if no
previous errors happened before.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-07 11:06:01 +00:00