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

13832 Commits

Author SHA1 Message Date
4dc2028c9b Merge pull request #6672 from gebart/pr/ccas
make: Add support for specifying a different compiler for assembler
2017-03-24 11:25:43 +01: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
Sebastian Meiling
a4cc6ad80d Merge pull request #6752 from smlng/llvm/pkgs_set_cflags
LLVM toolchain: set CFLAGS for pkgs
2017-03-23 09:55:40 +01:00
smlng
53b0dd1777 make: set default toolchain for board native on macOS to llvm 2017-03-22 23:07:22 +01:00
smlng
36ae072c55 pkg: tinydtls, disable compiler errors if toolchain llvm
- set no-gnu-zero-variadic-macro-arguments
    - set no-unused-function
2017-03-22 23:07:22 +01:00
smlng
60bb3ab7ee pkg: oonf_api, disable compiler errors if toolchain llvm
- set no-keyword-macro
    - set no-parentheses-equality
2017-03-22 23:07:22 +01:00
c442cbcc23 make: Makefile.base: don't collect wildcard sources if NO_AUTO_SRC is nonempty 2017-03-22 22:22:06 +01:00
cdf7a046b4 Merge pull request #6722 from emmanuelsearch/js-riot
pkg: jerryscript: initial import & example Jerryscript Javascript interpreter
2017-03-22 22:05:42 +01:00
Martine Lenders
a24d7eb162 Merge pull request #6775 from miri64/native/enh/vfs-ready
cpu: native: make syscalls vfs ready (introduce real_fcntl)
2017-03-22 21:13:22 +01:00
dylad
c24c9390e5 cpu/sam0_common/include: fix SERCOM ID calculation for SAML family
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-03-22 21:08:41 +01:00
Martine Lenders
25b2e65b77 cpu: native: make syscalls vfs ready (introduce real_fcntl) 2017-03-22 20:18:57 +01:00
Joakim Nohlgård
0164e88408 Merge pull request #6776 from miri64/sc/fix/sc_vfs-warning
shell_commands: fix sc_vfs warnings
2017-03-22 18:27:24 +01:00
Emmanuel Baccelli
b5676a8262 examples: add javascript example 2017-03-22 16:20:07 +01:00
Emmanuel Baccelli
6ce3abf6ed pkg: add jerryscript package 2017-03-22 16:19:49 +01:00
BytesGalore
a344d6d48c Merge pull request #6777 from cgundogan/pr/nrf24l01p_disable_crr
nrf24l01p: add disable crc function
2017-03-22 14:35:20 +01:00
Cenk Gündoğan
63e99eb9d6 tests/driver_nrf24l01p_lowlevel: add note about compatilibity 2017-03-22 13:39:48 +01:00
Cenk Gündoğan
3629796937 drivers/nrf24l01p: add function to disable crc 2017-03-22 13:39:47 +01: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
Vincent Dupont
bb0c2d0ef3 Merge pull request #6638 from OTAkeys/pr/cortexm_isr_vector
cpu/cortexm_common: use linker variable to initialize SCB->VTOR
2017-03-21 15:46:34 +01:00
Martine Lenders
f20f94477b Merge pull request #6770 from thomaseichinger/doc_fix
examples/gnrc_networking: fix comments
2017-03-21 09:37:07 +01:00
dylad
0d279ea699 tests/adxl345: add functionnal test
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-03-20 22:52:58 +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
Thomas Eichinger
50ec6ffe2b examples/gnrc_networking: fix comments
As the lines refered to in the comments are already commented out,
the correct thing to do to use them is to uncomment them.
2017-03-20 10:56:08 -07: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
3636a4a373 Merge pull request #6765 from OlegHahm/lwip_fix_assert
pkg: lwip: do not panic on failing netdev->recv()
2017-03-20 12:45:48 +01:00
Martine Lenders
aeccb853a5 doc: fix doc hierarchy 2017-03-20 11:59:10 +01:00
Sebastian Meiling
c72aec26a5 Merge pull request #6761 from miri64/posix_socket/fix/close_assert
posix_sockets: fix assertion on close
2017-03-20 11:54:48 +01:00
Oleg Hahm
409183d95d pkg: lwip: do not panic on failing netdev->recv() 2017-03-20 11:44:20 +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
465f2710c6 stm32_common/spi: fix receive after transmit-only error 2017-03-20 09:37:03 +01:00
8d49054190 tests/unittests: add nucleo144-f429 to cortexM boards 2017-03-18 15:58:13 +01:00
066afd218e boards/nucleo144-f429: initial support 2017-03-18 15:56:56 +01:00
8417aac5cc cpu/stm32f4: add support for stm32f429zi 2017-03-18 15:56:56 +01:00
Vincent Dupont
27057d4c61 boards/opencm904: remove custom vector base address 2017-03-17 18:09:24 +01:00
Vincent Dupont
833440f65c boards/spark-core: remove custom vector base address 2017-03-17 18:07:22 +01:00
Vincent Dupont
f656a31e58 cpu/cortexm_common: use linker variable to initialize SCB->VTOR 2017-03-17 18:07:22 +01:00
Vincent Dupont
1b2b5d9df9 Merge pull request #5624 from OTAkeys/pr/mtdi_flash
mtd: add a generic low level flash interface
2017-03-17 17:18:13 +01:00
Francisco Acosta
80e7ab5c6c Merge pull request #6553 from aabadie/nucleo144-f446
boards/nucleo144-f446: add initial support
2017-03-17 15:46:38 +01:00
355cfe7c89 Merge pull request #6744 from smlng/core/log_fix_tautcmp_error
core, log: fix tautology compare error with toolchain llvm
2017-03-17 15:29:40 +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
Vincent Dupont
bb52575d45 boards: fix I2C_APBCLK value in stm32-based boards 2017-03-17 12:56:54 +01:00
eee4e5725a Merge pull request #6726 from astralien3000/opencm904-remap
boards/opencm904: remap uart pins
2017-03-17 11:03:06 +01:00
smlng
1b69f281f9 core, log: fix tautology compare error with toolchain llvm 2017-03-17 09:04:09 +01:00
Oleg Hahm
0018cd7b01 sock: tcp: fix c&p mistake 2017-03-17 08:13:07 +01:00
879fe0c416 tests/unittests: add nucleo144-f446 to cortexM boards 2017-03-16 18:24:34 +01:00
57daad4ed6 boards/nucleo144-f446: initial support 2017-03-16 18:23:38 +01:00
8887cf55e7 cpu/stm32f4: add support for stm32f446ze 2017-03-16 18:23:38 +01:00
Joakim Nohlgård
9782be1d91 unittests: add unit test for mtd-vfs 2017-03-16 18:19:05 +01:00