8d88781e05
make: pkg: make use of PKGDIRBASE
2017-03-10 14:18:44 +01:00
95441004b3
make: introduce PKGDIRBASE
2017-03-10 14:18:44 +01:00
Joakim Nohlgård
d559428cc6
Merge pull request #6662 from smlng/pr/tests/opt_xtimer_drift
...
tests: optimize xtimer drift for size
2017-03-09 16:47:23 +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
Peter Kietzmann
8c86aa787d
Merge pull request #6692 from smlng/pr/cc2538/fix_xtimer_params
...
cc2538: fix xtimer
2017-03-09 08:05:39 +01:00
Oleg Hahm
408d18b57b
Merge pull request #6587 from gebart/pr/stdatomic-sync-discard-order
...
msp430: Discard order argument when using __sync_xxx for atomics
2017-03-08 09:19:10 +01:00
smlng
40431fe5e3
cc2538: add feature periph_pm
2017-03-07 22:00:03 +01:00
smlng
ba3a46435c
cc2538: revert xtimer params from #5608
2017-03-07 21:59:53 +01:00
Joakim Nohlgård
8f81121f29
boards/mulle: Add FRAM to DevFS
2017-03-07 17:59:59 +01:00
Joakim Nohlgård
e021b3b3f1
drivers/nvram: Add vfs compatible functions
2017-03-07 17:59:59 +01:00
26b99a57be
cpu: native: add vfs wrappers
2017-03-07 17:59:59 +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
5e27bf4f31
msp430: Add all expected POSIX unistd.h declarations
2017-03-07 17:59:57 +01:00
Vincent Dupont
3485ab4e96
msp430: add libc missing symbols and defines
2017-03-07 17:59:57 +01:00
Joakim Nohlgård
9ec001b84b
atmega_common: Update unistd.h with prototypes of all POSIX defined functions and constants
2017-03-07 17:59:57 +01:00
Joakim Nohlgård
738876a98f
cpu/atmega_common: Improve POSIX headers
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
Lotte Steenbrink
640a69731c
tests/thread_flood: add test target to Makefile
2017-03-07 07:37:06 -08:00
Lotte Steenbrink
32df7b4163
tests/rmutex: add test target to Makefile
2017-03-07 07:32:13 -08:00
Lotte Steenbrink
bad5a19b03
tests/mutex_order: add test target to Makefile
2017-03-07 07:22:25 -08:00
Martine Lenders
cf29ced346
Merge pull request #6710 from cgundogan/pr/random_warning
...
random: doc: warn about global PRNG state
2017-03-07 14:57:54 +01:00
Hauke Petersen
e6db9587db
drivers/nrf24l01: removed doxgen warnings
...
- de-blacklisted nrf24l01p_settings.h from doxygen excludes
- fixed doc for that file
2017-03-07 12:19:43 +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
Joakim Nohlgård
5638359960
tools/externc: Remove #endif in extern C pattern match
...
Enable adding more C++ specifics inside the same ifdef block (e.g. sys/include/vfs.h)
2017-03-07 10:21:52 +01:00
Joakim Nohlgård
0f74b5b2a0
tests/emb6: Revert workaround for false positive
...
This line gave a -Wunused-value in gcc-4.6 before the stdatomic.h header
for msp430 was modified as a workaround.
2017-03-07 10:21:37 +01:00
Joakim Nohlgård
33566a2fe7
msp430: Discard order argument when using __sync_xxx for atomics
2017-03-07 10:21:37 +01:00
Joakim Nohlgård
302d5d35e9
Merge pull request #6700 from haukepetersen/opt_vendorheaders
...
cpu: moved all vendor headers to CPUNAME/include/vendor/
2017-03-07 10:21:05 +01:00
Hauke Petersen
19bf9f8d0f
dist/externc: exclude all (CPU) vendor headers
2017-03-07 08:55:16 +01:00
Hauke Petersen
997244f9d7
cpu/stm32f2: fixed blank lines at EOF
2017-03-07 08:55:16 +01:00
Hauke Petersen
0fb3ee3b9b
dist/cppcheck: exclude only vendor headers
2017-03-07 08:55:15 +01:00
Hauke Petersen
1ae911e889
cpu/cc26x0: fixed doxygen issues
2017-03-07 08:55:15 +01:00
Hauke Petersen
ef3cdde903
cpu/atmega_common: fixed doxygen issues
2017-03-07 08:55:15 +01:00
Hauke Petersen
37d4f44379
cpus: mv vendor headers to include/vendor/.
2017-03-07 08:55:15 +01:00
Hauke Petersen
fa59955eff
doc: removed CPU excludes from doxyfile
2017-03-07 08:55:04 +01:00
Oleg Hahm
6022760fc6
posix: missing closing parenthesis
2017-03-06 22:37:28 +01:00
Hauke Petersen
f3d3c08e2a
Merge pull request #6679 from brummer-simon/ringbuffer-remove-bugfix
...
core: bugfix: ringbuffer_remove
2017-03-06 17:27:07 +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
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
Francisco Acosta
1e8b3c8808
Merge pull request #6682 from dkm/pr/gpio_cleanup
...
cpu/lm4f120: remove useless gpio_pp_t type
2017-03-03 17:40:02 +01: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
Francisco Acosta
7ec6fcacdf
Merge pull request #6667 from aabadie/fix_test_xbee
...
test/driver_xbee: fix xbee param UART export in Makefile
2017-03-03 15:37:40 +01:00