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
Victor Arino
a4bb7b8d58
pkg/lwip: use blocking sema_wait
2017-03-06 18:03:27 +01:00
Victor Arino
0e06458f53
sys/sema: re-test value after owning mutex
2017-03-06 18:03:27 +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
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
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
9e9462720b
Merge pull request #6678 from astralien3000/opencm904
...
boards : renamed opencm9-04 into opencm904
2017-03-03 11:46:22 +01:00
Loïc Dauphin
ac53dff0cb
tests: rename opencm9-04 into opencm904
2017-03-03 09:57:53 +01:00
Loïc Dauphin
4e68675656
examples: rename opencm9-04 into opencm904
2017-03-03 09:57:45 +01:00
Loïc Dauphin
71c6f28ad5
cpu/stm32f1: rename opencm9-04 into opencm904
2017-03-03 09:54:32 +01:00
Loïc Dauphin
af78dd784a
boards: rename opencm9-04 into opencm904
2017-03-03 09:54:31 +01: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
lebrush
afaef0a578
Merge pull request #6628 from aabadie/nucleo_l053
...
boards/nucleo-l053: initial support
2017-03-02 22:13:10 +01:00
acfabcfde2
Merge pull request #6685 from smlng/pr/cc2538/fix_timer_set
...
cc2538: fix timer_set for channel B
2017-03-02 18:32:13 +01:00
2927b775d8
Merge pull request #6683 from aabadie/aabadie_typo
...
boards: fix typo in author name
2017-03-02 17:59:25 +01:00
894f4f186d
Merge pull request #6589 from astralien3000/debug-stm32-timer
...
boards/opencm9-04: disable bootloader's timer interrupt
2017-03-02 17:57:55 +01:00
3ec71bb7a0
boards: fix typo in author name
2017-03-02 15:52:32 +01:00
Loïc Dauphin
e7b9104e03
boards/opencm9-04: disable bootloader's timer interrupt
2017-03-02 14:57:33 +01:00