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
Vincent Dupont
e56c4f3553
vfs: fix readdir return value documentation
2017-04-03 10:42:43 +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
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
Raul Fuentes
c169d66120
Adding missing variable to one example
2017-03-07 15:35:05 +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
Joakim Nohlgård
03d9f0f3d8
sys/posix: Add fcntl.h
2017-03-07 10:21:53 +01:00
Oleg Hahm
6022760fc6
posix: missing closing parenthesis
2017-03-06 22:37:28 +01:00
Victor Arino
0e06458f53
sys/sema: re-test value after owning mutex
2017-03-06 18:03:27 +01:00
Francois Berder
2936a69a1b
posix: sockets: Fix return value of listen function
...
If an error happens, listen was returning 1 instead of -1.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-06 13:26:51 +00:00
Martine Lenders
7748dc8ce3
Merge pull request #6695 from francois-berder-imgtec/awalwm2m
...
posix_sockets: Various fixes in posix network implementation
2017-03-06 13:39:28 +01:00
Martine Lenders
c513eb1027
sntp: fix for new xtimer API and some bugs
2017-03-06 13:38:25 +01:00
Francois Berder
a5003e8311
posix: in: Fix sockaddr_in6 structure
...
The sin6_family member was an int. This caused the structure to
take 32 bytes which was greater than sockaddr_storage size (28
bytes).
Using the type sa_family_t for sin6_family member fixes this
issue.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-03 16:49:54 +00:00
Francois Berder
de41971aab
posix: sockets: Fix return value of sendto and recvfrom
...
The return value of these functions was not always correct
in case of errors: they were not returning -1 and setting
errno.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-03 15:52:22 +00:00
Joakim Nohlgård
d57ec0e3f2
Merge pull request #6689 from mali/fix_6631
...
doc/saul: add cross link between SAUL and SAUL registry
2017-03-03 05:54:19 +01:00
Laurent Navet
0d09d2d34b
doc/saul: add cross link between SAUL and SAUL registry
2017-03-02 22:35:50 +01:00
Oleg Hahm
0d3833a88a
net: cleanup ng_ remnants
2017-03-02 14:19:25 +01:00
BytesGalore
dacc3cba9f
Merge pull request #6283 from OTAkeys/pr/hmac_iterative_calc
...
hashes/sha256: add iterative hmac calc. functions
2017-03-01 17:14:11 +01:00
Hermann Lelong
f2ef9db988
hashes/sha256: add iterative hmac calc. functions
...
Add init, update, and final functions to do HMAC
calculation using blocks, instead of one shot.
Unit tests: use the PRF-6 test vector to test the case
where data is splitted in 3 different blocks.
2017-03-01 15:51:21 +01:00
Sebastian Meiling
f6022a283d
Merge pull request #6541 from brummer-simon/gnrc_tcp-cleanup
...
gnrc_tcp: cleanup
2017-03-01 09:34:49 +01:00
Martine Lenders
ae0d0a2634
Merge pull request #6623 from smlng/pr/net/add_static_ipv6_lladdr
...
add static IPv6 lladdr for tests
2017-02-28 22:37:40 +01:00
911ae53d3e
Merge pull request #6665 from aabadie/driver_veml6070
...
drivers/veml6070: add implementation for UV sensor + saul adaptation
2017-02-28 20:12:25 +01:00
smlng
85d189a21d
gnrc, ipv6: add documentation on MACRO GNRC_IPV6_STATIC_LLADDR
2017-02-28 20:09:40 +01:00
smlng
3c0a2f6953
gnrc, ipv6: add static link local ipv6 address
2017-02-28 20:09:40 +01:00
Hauke Petersen
bb71986ecf
net: added emCute - introducing MQTT-SN support
2017-02-28 16:58:29 +01:00
4474af885a
sys/auto_init: add saul support for veml6070 sensor
2017-02-28 13:20:21 +01:00
Hauke Petersen
79a113d1ba
sys/drivers: renamed uuid module to luid
2017-02-27 11:01:20 +01:00
Simon Brummer
1ae3b51224
gnrc_tcp: cleanup: removed unnecessary includes
2017-02-26 17:31:23 +01:00
Hauke Petersen
8e3975fa90
sys/auto_init: remove gpioint initialization
2017-02-22 17:51:45 +01:00
Simon Brummer
fd007d5307
gnrc_tcp: cleanup: fixed outdated comments
2017-02-20 21:58:05 +01:00
zhuoshuguo
07bd84c914
gnrc_mac: add support for multicast pkt.
2017-02-18 13:15:31 +01:00
Martine Lenders
4b5952e0ad
Merge pull request #6622 from gebart/pr/cppcheck-fixes
...
cppcheck fixes 1
2017-02-17 16:11:11 +01:00
Peter Kietzmann
6ef3abec5c
Merge pull request #5570 from aabadie/drivers_tsl2561
...
drivers/tsl2561: initial support
2017-02-17 10:06:46 +01:00
Joakim Nohlgård
575b8ea340
sys/arduino: Make SerialPort constructor explicit
2017-02-17 08:02:36 +01:00
Joakim Nohlgård
0686538218
newlib: Place newlib includes before compiler includes
2017-02-16 16:28:36 +01:00
Martine Lenders
0858a3ea8c
Merge pull request #6618 from haukepetersen/opt_tcs37727_saulplusinit
...
drivers/tcs37727: SAUL support + misc fixes
2017-02-16 16:03:10 +01:00
Peter Kietzmann
02f03beb5c
Merge pull request #6591 from haukepetersen/rm_ltc4150
...
drivers: remove outdated ltc4150 driver
2017-02-16 15:11:12 +01:00
Hauke Petersen
470f2de771
drivers/tcs37727: SAUL support + misc fixes
...
- added default parameters file
- let init() function use param struct
- named return values
- simplified init function
- sensor now active after init was called
- simplified return values
2017-02-16 14:46:50 +01:00