Martine Lenders
7a444e56c1
ndp: Add constant for retrans. timer exp. backoff maximum
2017-06-13 14:08:26 +02:00
Martine Lenders
ce0d81c5c8
sock: specify invalid parameter error
2017-06-12 13:54:55 +02:00
Sebastian Meiling
863bda7bc8
Merge pull request #7163 from cgundogan/pr/trickle_fix
...
trickle: adjust old_interval to max / 2 in case of I > Imax
2017-06-12 09:48:03 +02:00
Cenk Gündoğan
ef9ee54fe2
doc: nib: neighbor information base everywhere you look
2017-06-12 00:49:07 +02:00
Joakim Nohlgård
8e10e6e3fa
xtimer: Use {} for empty while loops
2017-06-10 06:34:24 +02:00
Cenk Gündoğan
72c3c9cf6a
Merge pull request #6325 from miri64/gnrc_ipv6_nib/feat/internal
...
gnrc_ipv6_nib: initial import of internal NIB functions
2017-06-09 22:05:47 +02:00
Martine Lenders
e92f97cb12
gnrc_ipv6_nib: initial import of internal NIB functions
2017-06-09 21:52:37 +02:00
Martine Lenders
0b42721511
Merge pull request #7155 from zhuoshuguo/gnrc_mac_use_csma_sender
...
gnrc_mac: use csma_sender API when needed for csma transmission
2017-06-09 17:48:37 +02:00
zhuoshuguo
7565cd1d10
gnrc_mac: use software csma when needed.
2017-06-09 16:45:24 +02:00
Cenk Gündoğan
933b3cb378
trickle: adjust old_interval to max / 2 in case of I > Imax
2017-06-09 16:13:49 +02:00
smlng
3ac6d6c80d
schedstats: refine ps output
...
- use unsigned int instead of double
2017-06-09 10:50:07 +02:00
Martine Lenders
1a4c01a912
Merge pull request #7138 from gebart/pr/netopt-ed-level
...
netopt: Add NETOPT_LAST_ED_LEVEL
2017-06-09 10:34:33 +02:00
BytesGalore
89716729c8
Merge pull request #7161 from cgundogan/pr/trickle_enhancements
...
trickle: enhancements
2017-06-09 09:15:54 +02:00
Cenk Gündoğan
9a62bb8307
shell: sc_gnrc_rpl: adjust to trickle enhancements
2017-06-09 09:03:24 +02:00
Cenk Gündoğan
04d89d3381
rpl: adjust to trickle enhancements
2017-06-09 09:03:24 +02:00
Cenk Gündoğan
e0fbb14963
trickle: enhancements
2017-06-09 09:03:24 +02:00
Joakim Nohlgård
533542314d
netopt: Add NETOPT_LAST_ED_LEVEL
2017-06-09 07:14:58 +02:00
Cenk Gündoğan
6add982d3f
rpl: send dis near parent timeout
2017-06-08 21:46:06 +02:00
smlng
1187376d9a
shell: add param checks to rtc commands settime and setalarm
2017-06-07 15:56:40 +02:00
Cenk Gündoğan
935292ce44
gcoap: make stack size configurable
2017-06-07 08:20:35 +02:00
d7543ccf31
sys/auto_init: use new bmx280 implementation for bme280 and bmp280
2017-06-02 14:54:17 +02:00
Martine Lenders
4e7afa44ea
Merge pull request #7103 from kb2ma/opt_gcoap_moveimplstatus
...
net/gcoap: add table of contents to module doc
2017-06-02 12:44:30 +02:00
Joakim Nohlgård
91d930c574
cpu/mips32r2_common: ifdef __attribute__((optimize))
...
Causes compilation error on Clang
2017-06-02 10:24:44 +01:00
1a2097e97e
Merge pull request #7082 from jia200x/openthread_core
...
pkg/openthread: core and tests
2017-06-01 20:20:37 +02:00
José Ignacio Alamos
017280db13
pkg/openthread: add OpenThread core
2017-06-01 13:44:05 -04:00
Ken Bannister
fac0ae1aa9
net/gcoap: Add table of contents to group documentation.
2017-06-01 12:45:33 -04:00
Hauke Petersen
4bc1d2916b
Merge pull request #7096 from haukepetersen/opt_gcoap_misc2
...
net/gcoap: some more minor improvements
2017-06-01 12:54:11 +02:00
Martine Lenders
b28a61d61c
Merge pull request #6670 from gebart/pr/newlib-split-syscalls
...
newlib: Split newlib into one generic part and one default syscalls part
2017-06-01 12:02:01 +02:00
Hauke Petersen
b104433d4e
net/gcoap: improved header documentation
...
- fixed/unified indention throughout the file
- use same style for @brief blocks
- removed colons from end of brief descriptions
- fixed in and out annotations for function parameters
2017-06-01 11:16:27 +02:00
Hauke Petersen
7ba22cfbf8
net/gcoap: added some additional debug output
2017-06-01 11:13:15 +02:00
Hauke Petersen
9d3abe0d12
Merge pull request #7097 from haukepetersen/opt_gcoap_moveimplstatus
...
net/gcoap: moved implemenation status to gcoap.h
2017-06-01 10:36:20 +02:00
Cenk Gündoğan
3921fc86a7
Merge pull request #6901 from BytesGalore/rpl_drop_dao_ack_on_mc
...
rpl: drop DAO-ACK when received via multicast
2017-05-30 21:28:58 +02:00
Martine Lenders
229ad28751
Merge pull request #7112 from rfuentess/doxygen_fixes
...
Doxygen: Minor series of fixes for the documentation
2017-05-30 21:06:06 +02:00
Raul Fuentes
808b56c07f
sock/udp.h: Changed wiki syntax to doxygen
2017-05-30 20:48:41 +02:00
BytesGalore
da38b77ba4
rpl: drop DAO-ACK when received on multicast
2017-05-30 18:05:00 +02:00
BytesGalore
c3843122dd
Merge pull request #7111 from cgundogan/pr/ndp_fallthrough
...
ndp: warn gcc-7 about intentional fall-through
2017-05-30 18:00:02 +02:00
Cenk Gündoğan
3c73d07e04
Merge pull request #7026 from smlng/shell/ccn_lite_cmd_fixup
...
shell: fix _ccnl_content command
2017-05-30 15:35:34 +02:00
Cenk Gündoğan
6065be76e1
ndp: warn gcc-7 about intentional fall-through
...
Since gcc-7 `Wimplicit-fallthrough` is activated by using `-Wextra`.
This leads to the following problem when compiling `gnrc_networking`:
```
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c: In function ‘gnrc_ndp_internal_set_state’:
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c:106:15: error: this statement may fall through [-Werror=implicit-fallthrough=]
t = ipv6_iface->reach_time;
~~^~~~~~~~~~~~~~~~~~~~~~~~
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c:109:9: note: here
case GNRC_IPV6_NC_STATE_DELAY:
^~~~
```
The fall-through in this code is intentional. There are several ways to
warn the comiler about such intentional fall-throughs, which include
e.g. attributed empty statements (`__attribute__ ((fallthrough));`).
I don't like tis approach however. The best way would probably be to
remove this fall-through from the code. However, to keep the diff
minimal, and since ndp will change in the future, I went for warning
the compiler using comments.
The compiler checks comments for several *fall through* regexs to
decide whether a fallthrough was intentional or not.
You can read more about this gcc option in [1]. A note about
fallthrough comment regexs is at the bottom of this article.
[1] https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/
2017-05-30 14:23:37 +02:00
Hauke Petersen
bb90e293a2
net/gcoap: make input parameters const
2017-05-26 16:34:40 +02:00
Martine Lenders
d4693648ba
Merge pull request #7095 from kaspar030/add_headerguard_check_script
...
dist: tools: add headerguard check script
2017-05-24 18:08:29 +02:00
Vincent Dupont
ee7a776a9f
Merge pull request #7059 from OTAkeys/pr/fix_ls_handler
...
sc_vfs: fix _ls_handler
2017-05-24 17:55:52 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
a65931c04a
add some missing header guards
2017-05-24 17:54:01 +02:00
Vincent Dupont
151c469d9e
sc_vfs: fix _ls_handler
...
Calls to vfs_closedir were missing at the end of _ls_handler causing umount
ro return an error.
2017-05-24 12:10:52 +02:00
Hauke Petersen
bb1d600778
net/gcoap: moved implemenation status to gcoap.h
2017-05-24 09:25:11 +02:00
Hauke Petersen
7a1fcdf0b8
Merge pull request #6469 from kb2ma/gcoap/observe
...
gcoap: Observe extension server
2017-05-24 09:11:15 +02:00
Ken Bannister
9d37be2729
gcoap: Add server-side Observe registration and notifications.
2017-05-23 17:55:04 -04:00
Hauke Petersen
d488fdc1e3
sys/drivers: guard l2filter.h, netstats.h includes
2017-05-23 13:39:49 +02:00
BytesGalore
2ef5cff688
Merge pull request #6072 from MichelRottleuthner/fatfs_testing
...
package: add generic FatFs
2017-05-23 09:03:19 +02:00
Hauke Petersen
09119708e9
net/gcoap: fixed/unified alignment in gcoap header
2017-05-22 13:55:20 +02:00
Hauke Petersen
ba5635889c
net/gcoap: make gcoap_op_state return count directly
2017-05-22 13:50:59 +02:00
Hauke Petersen
cd4109100f
net/gcoap: fixed coding style issue
2017-05-22 13:47:36 +02:00
Hauke Petersen
459f6083e9
net/gcoap: fixed typo in header doxygen
2017-05-22 13:47:20 +02:00
Martine Lenders
b64beb0888
Merge pull request #7055 from samkumar/feature-fix-fd_new
...
posix_sockets: Fix use of fd_new
2017-05-22 10:43:38 +02:00
da519a3abc
sys: fmt: add fmt_float() and print_float()
2017-05-20 14:47:29 +02:00
Cenk Gündoğan
b2c692b65f
Merge pull request #7028 from PeterKietzmann/pr_shell_ccnl_retrans
...
shell/ccnl: remove interest retransmission
2017-05-19 16:07:24 +02:00
Martine Lenders
b9ec282f04
Merge pull request #7072 from haukepetersen/fix_cpp11compat_doc
...
sys/cpp11-compat: fixed doxygen warnings
2017-05-19 11:06:41 +02:00
Hauke Petersen
359a89f28b
sys/shell/netif: enable setting of L2 addr filters
2017-05-18 15:24:26 +02:00
Hauke Petersen
31dfe382a3
net/gnrc/eth: enable filtering of L2 addresses
2017-05-18 15:24:25 +02:00
Hauke Petersen
145e4761c1
net/gnrc/802154: enable filtering of L2 addresses
2017-05-18 15:24:25 +02:00
Hauke Petersen
e8b0e0b9e7
net: added L2FILTER option to netopt
2017-05-18 15:24:25 +02:00
Hauke Petersen
fdadfe279c
net: added link layer address filter module
2017-05-18 15:24:25 +02:00
Martine Lenders
923090084f
Merge pull request #7076 from miri64/ndp/docfix/fix-rfc-link
...
ndp: doc: fix RFC link
2017-05-18 15:11:19 +02:00
Martine Lenders
c0f462d017
ndp: doc: fix RFC link
2017-05-18 14:58:37 +02:00
Hauke Petersen
b9992c34f6
s adapted doc
2017-05-18 14:53:03 +02:00
Hauke Petersen
647efa02be
sys/cpp11-compat: fixed doxygen warnings
2017-05-18 10:01:12 +02:00
Martine Lenders
1fdad5b184
gnrc_tcp: fix return on closed state
2017-05-17 18:39:38 +02:00
Sam Kumar
331c60409e
posix_sockets: fix use of fd_new
2017-05-17 08:01:54 -07:00
Sebastian Meiling
f0ae5d2dd8
Merge pull request #6969 from brummer-simon/gnrc_tcp-replace_msg_queue
...
gnrc_tcp: improvement: Replace tcbs msg queue with mbox
2017-05-17 15:13:03 +02:00
Sebastian Meiling
9944642f92
Merge pull request #6997 from brummer-simon/gnrc_tcp-abort_call
...
gnrc_tcp: improvement: abort() - call
2017-05-17 15:08:12 +02:00
Sebastian Meiling
dd4f8f7704
Merge pull request #6975 from OTAkeys/pr/ps_schedstatistics_fix
...
ps: fix schedstatistics
2017-05-17 13:50:42 +02:00
Martine Lenders
2c3db1e852
Merge pull request #7062 from miri64/doc/fix/cbor
...
cbor: fix documentation
2017-05-17 13:03:32 +02:00
Simon Brummer
42e15ed7c4
gnrc_tcp: improvement: Replace tcbs msg queue with mbox
2017-05-17 13:02:52 +02:00
Simon Brummer
b08b12ec8f
gnrc_tcp: improvement: abort() - call
2017-05-17 13:01:28 +02:00
Martine Lenders
53d5c9a4ae
cbor: fix documentation
2017-05-17 12:59:05 +02:00
Hauke Petersen
58cb30db6b
Merge pull request #7060 from haukepetersen/opt_cpu_isrstacksizecleanup
...
cpu: remove ISR stack related placeholders
2017-05-16 10:44:52 +02:00
Vincent Dupont
6d5b95517d
ps: fix schedstatistics
...
Fix xtimer_now() usage and fix columns alignment in ps command when
module schedstatistics is used.
2017-05-16 10:33:42 +02:00
smlng
1be74bc7a5
gnrc, tcp: set param THREAD_CREATE_STACKTEST for mem stats in ps
2017-05-15 13:16:18 +02:00
Peter Kietzmann
77f375416c
shell/ccnl: remove interest retransmission
2017-05-15 11:49:17 +02:00
3d48eee095
cleanup: apply remove_atoi_casts.cocci (coccinelle)
2017-05-13 12:39:48 +02:00
Hauke Petersen
383d49412e
sys/ps: only show isr stack stats if applicable
2017-05-12 18:07:07 +02:00
f5a4124866
Merge pull request #6976 from miri64/conn/cleanup/rm
...
net: remove conn API
2017-05-12 16:09:00 +02:00
smlng
cc24aab5a5
gnrc, tcp: fix assert
2017-05-12 09:39:25 +02:00
d347ec04f5
Merge pull request #7005 from OTAkeys/pr/fix_shell_no_echo
...
sys/shell: fix build when SHELL_NO_ECHO is defined
2017-05-11 19:38:59 +02:00
smlng
f40e70777a
shell: fix _ccnl_content command
2017-05-11 11:26:19 +02:00
MichelRottleuthner
e0f60ba10a
pkg: add package for FatFs with support for sdcard_spi and native
2017-05-10 12:38:56 +02:00
Peter Kietzmann
6d85c8230b
Merge pull request #7022 from cgundogan/pr/ccnl_buf_ptr_off_by_one
...
ccn-lite: shell: do not count white space after single word
2017-05-09 15:48:17 +02:00
Peter Kietzmann
ba39f3b620
Merge pull request #7023 from cgundogan/pr/ccnl_remove_leaks
...
ccn-lite: shell: remove leaks
2017-05-09 15:21:14 +02:00
Hauke Petersen
3511deb4d5
saul/gpio: differentiate SENSE_BTN and ACT_SWITCH
2017-05-09 10:47:31 +02:00
Cenk Gündoğan
3db032d41e
ccn-lite: shell: free all memory, not just prefix struct
2017-05-09 10:11:39 +02:00
Cenk Gündoğan
4dd8bd13d2
ccn-lite: shell: free prefix after preparing the content
2017-05-09 10:07:03 +02:00
Cenk Gündoğan
bbf8de0dbd
ccn-lite: shell: do not count white space after single word
...
If a single word is added to the content cache via `ccnl_cont /TEST
hello`, then the resulting wireshark dump of a successful `ccnl_int
/TEST` will contain a TLV of len(hello) plus 1 (whit space). By
incrementing `buf_ptr` only for loop iterations `> 2` fixes this. As a
bonus, I removed the superfluous `memset` to white space, as the buffer
is correctly terminated with a '\0' character.
2017-05-09 09:44:42 +02:00
Martine Lenders
81ab0fdc1f
Merge pull request #7018 from haukepetersen/fix_saul_doc
...
sys/saul_reg: fixed return val doc for write func
2017-05-09 08:59:51 +02:00
Hauke Petersen
dc4aa9768a
sys/saul_reg: fixed return val doc for write func
2017-05-08 13:52:24 +02:00
José Alamos
5dc146269d
sys/hashes: add AES-CMAC implementation
2017-05-08 13:52:11 +02:00
Vincent Dupont
669a6922f3
sys/shell: fix build when SHELL_NO_ECHO is defined
...
When SHELL_NO_ECHO was defined and not SHELL_NO_PROMPT build was broken
because _putchar was not defined.
This define _putchar when one of SHELL_NO_PROMPT or SHELL_NO_ECHO is not
defined.
2017-05-04 15:49:22 +02:00
Martine Lenders
13770361bb
net: remove conn API
...
conn was deprecated in 38217347
. 3 Releases later and now that no module
is using it RIOT-internally anymore, I think it is time to say goodbye.
2017-04-28 15:23:54 +02:00
Martine Lenders
3897b75096
Merge pull request #6974 from miri64/nhdp/cleanup/port-to-sock
...
nhdp: port to sock
2017-04-27 14:27:14 +02:00
Martine Lenders
ddda31c509
Merge pull request #6972 from brummer-simon/gnrc_tcp-cleanup-gnrc_tcp_tcb_init
...
gnrc_tcp: cleanup: shortend gnrc_tcp_tcb_init()
2017-04-26 14:46:52 +02:00
Martine Lenders
53a9dc36ed
nhdp: port to sock
2017-04-26 14:41:45 +02:00
Sebastian Meiling
c08cf4a596
Merge pull request #6968 from smlng/net/gnrc_tcp/cleanup
...
gnrc_tcp: optimize and cleanup operations on TCB list
2017-04-26 13:58:28 +02:00
Simon Brummer
2f0a17b80f
gnrc_tcp: cleanup: shortend gnrc_tcp_tcb_init()
2017-04-26 13:37:42 +02:00
smlng
ba09fad7ed
gnrc_tcp: optimize and cleanup operations on TCB list
2017-04-26 11:59:01 +02:00
Martine Lenders
006b12e4b3
Merge pull request #6960 from emmanuelsearch/delete-3des
...
sys: crypto: Remove 3DES crypto
2017-04-26 08:17:44 +02:00
Martine Lenders
92fe842149
Merge pull request #6961 from miri64/ipv6_addr/fix/off-by-one
...
ipv6_addr: provide fix for off-by-x error
2017-04-26 07:57:16 +02:00
Sebastian Meiling
9480488e92
Merge pull request #6742 from brummer-simon/gnrc_tcp-cleanup-minor_changes
...
gnrc_tcp: cleanup: minor changes
2017-04-25 22:05:54 +02:00
smlng
41c43fd837
rpl: make parent lifetime consistent with other timers
2017-04-25 20:09:41 +02:00
Simon Brummer
a9da0dc4f2
gnrc_tcp: cleanup: various minor changes
2017-04-25 20:02:44 +02:00
Martine Lenders
eef90c06fb
ipv6_addr: provide fix for off-by-x error
2017-04-25 19:19:43 +02:00
Emmanuel Baccelli
6589c01aa0
sys/crypto: remove 3DES
2017-04-25 18:34:18 +02:00
Ken Bannister
7c19ad65e2
gcoap: Fix compilation error when client token length macro set to 0.
2017-04-24 22:21:53 -04:00
Sebastian Meiling
5ee49c3bbc
Merge pull request #6938 from smlng/net/gnrc/pkt_opt
...
gnrc: cleanup of gnrc_pkt and enhance unittest
2017-04-24 13:56:01 +02:00
smlng
6d4095132c
sys: shell: gnrc_6ctx: further fix gnrc_6ctx_add error handling
2017-04-24 10:08:46 +02:00
smlng
d11754031a
gnrc: cleanup and corrections in gnrc_pkt
2017-04-22 20:56:54 +02:00
993ed203b5
Merge pull request #6947 from kaspar030/fix_NULL_zero_checks
...
some (ptr == 0) -> (ptr == NULL) fixes (found by coccinelle)
2017-04-21 15:54:56 +02:00
7c20266a22
sys: shell: gnrc_6ctx: fix gnrc_6ctx_add error handling
2017-04-20 23:40:22 +02:00
185c7ac11b
some (ptr == 0) -> (ptr == NULL) fixes (found by coccinelle)
2017-04-20 23:31:32 +02:00
smlng
3a6cb0dc71
sys, posix: fix cppcheck warnings and errors in posix_socket
2017-04-19 17:20:48 +02:00
Martine Lenders
38f383c68d
Merge pull request #6703 from OlegHahm/cppcheck_fixes
...
dist: enable cppcheck warnings for all files
2017-04-19 08:18:47 +02:00
smlng
25e62a7087
net, icmpv6: correct debug output
2017-04-18 11:57:40 +02:00
Oleg Hahm
fae24057df
conn: udp: eliminate redundant assignment
2017-04-14 14:36:16 +02:00
Joseph Noir
93770edce4
cpp11-compat: address cppcheck warnings
2017-04-14 14:36:15 +02:00
Oleg Hahm
a9cc8babba
gnrc: ndp: suppress wrong cppcheck warnings
2017-04-14 14:36:15 +02:00
Oleg Hahm
45cd9ad5c4
gnrc: 6lowpan-nd: suppress wrong cppcheck warnings
2017-04-14 14:36:15 +02:00
Oleg Hahm
191797bc6b
gnrc: 6lowpan-nd: removed superfluous check
2017-04-14 14:36:15 +02:00
Oleg Hahm
ec36be1d42
universal_address: fix cppcheck warning
2017-04-14 14:36:15 +02:00
Oleg Hahm
ffe2f68a66
shell: rpl: fix cppcheck warning
2017-04-14 14:36:15 +02:00
Oleg Hahm
c2dfd8439c
quad_math: fix or suppress cppcheck warnings
2017-04-14 14:36:14 +02:00
Martine Lenders
32c60cd0aa
universal_address: fix cppcheck warnings
2017-04-14 14:36:14 +02:00
Martine Lenders
c2c2516a53
gnrc: fix cppcheck warnings
2017-04-14 14:36:14 +02:00
Martine Lenders
b2bc244ce9
xtimer: fix cppcheck warnings
2017-04-14 14:36:14 +02:00
Martine Lenders
62ca7f9242
crypto: fix cppcheck warnings
2017-04-14 14:36:14 +02:00
Martine Lenders
812c55727c
Merge pull request #6886 from smlng/driver/mag3110/rework
...
drivers: mag3110 rework
2017-04-14 02:25:16 +02:00
Martine Lenders
abd39573a2
Merge pull request #6902 from miri64/doc/fix/spiffs-group
...
doc: fix grouping of SPIFFS
2017-04-14 02:21:02 +02:00
smlng
17e78f7d81
driver, mag3110: add saul auto init
2017-04-13 21:14:44 +02:00
Martine Lenders
9fc95504c8
Merge pull request #6898 from rfuentess/udp_sock
...
sock/udp.h: Minor fix to example
2017-04-13 18:47:47 +02:00
Martine Lenders
6046eacef6
Merge pull request #6894 from smlng/auto_init/saul/missing_headers
...
saul: add missing headers in auto_init
2017-04-13 16:40:10 +02:00
Martine Lenders
70bcaebec8
doc: fix grouping of SPIFFS
2017-04-13 16:35:31 +02:00
cfd10c394a
adapt to changed byteorder.h
2017-04-13 11:35:35 +02:00
smlng
c265e5a416
saul: add missing headers in auto_init
2017-04-11 16:39:58 +02:00
Martine Lenders
a5d444bd82
Merge pull request #6889 from BytesGalore/rpl_rem_forward_declaration
...
rpl: remove unnecessary forward declaration
2017-04-11 14:13:38 +02:00
BytesGalore
3ec69a2b2b
rpl: remvove forward declaration
2017-04-11 11:38:06 +02:00
Victor Arino
f0ff5a113f
shell: build rtc if available
2017-04-10 09:06:47 +02:00
57c26631da
sys/auto_init: fix io1_xplained saul integration
2017-04-07 16:59:04 +02:00
Martine Lenders
469786292d
Merge pull request #6779 from miri64/posix/cleanup/rm-fd
...
posix: remove fd subsystem
2017-04-07 11:02:04 +02:00
c65e57b308
Merge pull request #6835 from OTAkeys/pr/lsm6dsl
...
drivers: add lsm6dsl accelerometer/gyroscope device driver
2017-04-06 15:27:51 +02:00
Vincent Dupont
73d8149490
drivers: add lsm6dsl imu driver
2017-04-06 10:58:18 +02:00
Joakim Nohlgård
b81b66672e
newlib: Split newlib into one generic part and one default syscalls part
2017-04-05 13:55:38 +02:00
Joakim Nohlgård
96652c3353
Merge pull request #6848 from OTAkeys/pr/vfs_readdir_doc
...
vfs: fix readdir return value documentation
2017-04-05 08:28:55 +02:00
Martine Lenders
1caa024038
posix: remove fd subsystem
...
Fixes #637 .
This only provides a subset of vfs while being incompatible with it.
Since POSIX sockets don't use this module anymore it can be removed.
2017-04-04 19:53:12 +02:00
Martine Lenders
ac7671762d
Merge pull request #6778 from miri64/posix_sockets/enh/port-to-vfs
...
posix_sockets: port to vfs for file descriptors
2017-04-04 19:51:51 +02:00
kYc0o
e2e1500c6d
f tftp: address @aabadie comments.
2017-04-04 14:02:36 +02:00
kYc0o
9ee1e1f156
tftp: send DACK until server receives it
2017-04-04 01:55:46 +02:00
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
8c0249dc56
sys: div: add div_u64_by_125()
2017-03-20 15:32:20 +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
Martine Lenders
c5eca9f1ca
gnrc_netdev2: add missing doc on GNRC_NETDEV2_MAC_PRIO
2017-02-15 12:28:56 +01:00
Hauke Petersen
05c4e314c9
net/gnrc: remove deprecated nomac
2017-02-15 10:07:34 +01:00
Hauke Petersen
0567b5598a
Merge pull request #6570 from miri64/gnrc_zep/cleanup/rm
...
gnrc_zep: remove gnrc_zep
2017-02-15 10:02:37 +01:00
Martine Lenders
04823b9192
ps: add state name for STATUS_MBOX_BLOCKED
2017-02-14 16:02:27 +01:00
Hauke Petersen
6e6a14f449
drivers: remove outdated ltc4150 driver
2017-02-13 14:08:34 +01:00
Neil Jones
4d7b7a8641
sys: od: Fix build on MIPS gcc.
2017-02-09 12:26:50 +00:00
Neil Jones
e3c8386d12
sys: fmt: include stdio.h for mips.
2017-02-09 12:25:52 +00:00
Joakim Nohlgård
094107863f
Merge pull request #5688 from gebart/pr/atomics-refactor
...
core: Provide all C11 atomic operations
2017-02-09 09:00:16 +01:00
Joakim Nohlgård
f055137e02
sys/posix: Add missing Doxygen comment on spinlock flag member
2017-02-08 16:23:51 +01:00
Joakim Nohlgård
597db0358d
sys/posix/pthread: Use C11 atomic instead of atomic.h
2017-02-08 16:23:49 +01:00
Joakim Nohlgård
7376419350
gnrc/pktbuf: remove unused #include "atomic.h"
2017-02-08 16:23:47 +01:00
Martine Lenders
5b026c5753
netdev2: unify doc
2017-02-07 21:37:52 +01:00
Martine Lenders
5e983db605
gnrc_zep: remove gnrc_zep
...
This ZEP implementation is based on `gnrc_netdev`, it is complicated to
use, I'm not even sure anyone used it except me or if it is working
still. See #6121 for a better port of ZEP.
2017-02-07 17:41:28 +01:00
Peter Kietzmann
5bf4882592
Merge pull request #6453 from smlng/pr/5469-bis
...
drivers/kw2xrf: adapt to netdev2
2017-02-07 15:58:54 +01:00
Lotte Steenbrink
b28abc2d35
Merge pull request #6562 from miri64/sock/doc/ref-fix
...
doc: net: replace doc references of conn with sock
2017-02-07 15:13:54 +01:00
PeterKietzmann
e617d74fa8
drivers/kw2xrf: update default params on init
2017-02-07 15:08:14 +01:00
smlng
887f499eca
drivers/kw2xrf: adapt to new SPI interface
...
- add docu for structs, defines and functions
- exclude drivers/kw2xrf/include/overwrites.h (vendor header)
- add missing header guards
2017-02-07 15:08:05 +01:00
Johann Fischer
cf32ff7f19
drivers/kw2xrf: adapt for the netdev2 interface
...
Adapt the kw2xrf driver for the netdev2 interface.
This patch also adds overwrites.h, the header provides overwrite
values for the kw2xrf PHY.
2017-02-07 15:07:33 +01:00
smlng
5b2b7674d8
gnrc/pktdump: add tcp_hdr_print
2017-02-07 13:42:41 +01:00
smlng
43de60daf0
net: add tcp_hdr_print
2017-02-07 13:42:41 +01:00
Martine Lenders
4f5d046622
doc: net: replace doc references of conn with sock
2017-02-07 13:32:20 +01:00
Peter Kietzmann
4403cc931a
Merge pull request #6523 from haukepetersen/opt_dht_autoinit
...
drivers/dht: updated auto-init + some enhancements
2017-02-07 11:57:10 +01:00
Martine Lenders
37f6eb63f8
udp: fix formatter of checksum in udp_hdr_print()
2017-02-07 10:09:51 +01:00
Martine Lenders
b272e904fd
icmpv6: fix formatter of checksum in icmpv6_hdr_print()
2017-02-07 10:09:46 +01:00
Hauke Petersen
3afc3eb10b
drivers/dht: updated auto-init + some enhancements
...
- unified auto-init to use same style as other SAUl devices
- make use of named return values
- added some asserts
2017-02-07 09:59:23 +01:00
Simon Brummer
d4c477aa01
gnrc_tcp: cleanup: correct copyright updates and corrected doxygen comments
2017-02-06 18:26:45 +01:00
Martine Lenders
beaa214b83
Merge pull request #6551 from miri64/fmt/enh/print_byte_hex
...
fmt: add print_byte_hex() helper
2017-02-06 12:08:22 +01:00
Simon Brummer
7e7b832219
gnrc_tcp: cleanup: Enforce coding convention
2017-02-04 10:19:59 +01:00
Martine Lenders
dbfbfb0f23
Merge pull request #6546 from smlng/pr/sys/fix_uuid
...
sys/uuid: fix signedness warning
2017-02-03 17:31:29 +01:00
Martine Lenders
0cd2b746cc
fmt: add print_byte_hex() helper
2017-02-03 15:16:53 +01:00
Peter Kietzmann
04f6e15fbd
Merge pull request #6518 from haukepetersen/opt_autoinit_radios
...
sys/auto_init: optimized for at86rf and mrf24j40
2017-02-03 14:57:53 +01:00
Peter Kietzmann
a265e6ddea
Merge pull request #6530 from miri64/gnrc_netdev/doc/fix-groups
...
gnrc_netdev2: fix grouping of sub-headers in doc
2017-02-03 13:33:57 +01:00
smlng
ef154aaaba
sys/uuid: fix signedness warning
2017-02-02 16:43:12 +01:00
Simon Brummer
4857f16ee8
gnrc_tcp: cleanup: Restrict lines to 100 char boundries
2017-02-02 08:29:29 +01:00
Simon Brummer
a8b8b64036
gnrc_tcp: cleanup: update doxygen headers
2017-02-02 08:29:29 +01:00
Simon Brummer
62c0efb20a
gnrc_tcp: cleanup: removed trailing underscores from include guards
2017-02-02 08:29:29 +01:00
Simon Brummer
bc0bf3bc4f
gnrc_tcp: cleanup: removed internal fsm structs from public headers
2017-02-02 08:29:29 +01:00
Simon Brummer
67ed2a0ad8
gnrc_tcp: cleanup: internal/common.h added
2017-02-02 08:29:29 +01:00
zhuoshuguo
b8428d3e95
gnrc_netdev2: fix gnrc_netdev2_set_tx_feedback assert.
2017-02-01 15:24:15 +01:00
Martine Lenders
794be95395
Merge pull request #6531 from brummer-simon/gnrc_tcp-improvement-option_handling
...
gnrc_tcp: Improved Option Handling
2017-02-01 12:17:10 +01:00
Simon Brummer
e25fd0dd46
gnrc_tcp: Improved Option Handling
2017-02-01 08:28:59 +01:00
Joakim Nohlgård
9a3589dcfe
Merge pull request #6479 from haukepetersen/fix_lis3dh_mulle
...
drivers/lis3dh: fixed bug and simplified init()
2017-01-31 19:48:52 +01:00
Sebastian Meiling
b81e6b8898
Merge pull request #6511 from smlng/pr/tcp/mode_hdr_file
...
tcp: move header file and adapt includes
2017-01-31 19:25:41 +01:00
smlng
540fb53ac0
tcp: move header file and adapt includes
2017-01-31 19:14:54 +01:00
Martine Lenders
46e74229c0
gnrc_netdev2: fix grouping of sub-headers in doc
2017-01-31 18:47:56 +01:00
25ce12f3ef
drivers/tsl2561: initial implementation + saul support
2017-01-31 17:49:16 +01:00
smlng
7fdd473271
pktdump: add icmpv6 print
2017-01-30 15:24:14 +01:00
Hauke Petersen
56c70fcfee
sys/auto_init/netif: optimized for mrf24j40
2017-01-30 15:11:28 +01:00
Hauke Petersen
b8e0a51096
sys/auto_init/at86rf: optimized at86rf2xx sequence
2017-01-30 15:10:27 +01:00
Cenk Gündoğan
562cee9bdb
Make: newlib: use sh instead of exec/fork
2017-01-27 12:07:59 +01:00
Hauke Petersen
ed2bb9d3f8
drivers/lis3dh: fixed bug and simplified init()
...
- changed to SPI_MODE_0
- made init() function use the params struct as parameter
2017-01-26 10:12:44 +01:00
672da2c457
drivers/mrf24j40: initial mrf24j40 support
2017-01-26 10:05:20 +01:00
Hauke Petersen
24ceb954ea
drivers/sdcard_spi: adapted to SPI interface changes
2017-01-25 16:46:46 +01:00
Hauke Petersen
3d80b9c581
drivers/lis3dh: adapted to SPI API changes
2017-01-25 16:46:46 +01:00
Martine Lenders
5ea160e6fe
Merge pull request #6004 from miri64/posix/enh/use-sock-for-sockets
...
posix_sockets: port to sock
2017-01-24 17:40:01 +01:00
Cenk Gündoğan
616d7a216a
Merge pull request #6455 from miri64/gnrc_ndp/fix/tentative
...
gnrc_ndp: do not add new neighbors as TENTATIVE on 6LR
2017-01-24 16:41:30 +01:00
Martine Lenders
1ccdc4643f
posix_sockets: port to sock
2017-01-24 15:17:15 +01:00
Hauke Petersen
5d8f686cf6
Merge pull request #6031 from MichelRottleuthner/sdcard_spi_testing
...
add driver for sd-cards (using spi)
2017-01-24 14:18:11 +01:00
Hauke Petersen
10c46866d2
Merge pull request #5987 from aabadie/arduino_sketch_on_arduino
...
sys/arduino: make arduino sketch works on avr based boards
2017-01-24 14:10:18 +01:00
d1db946188
Merge pull request #6344 from haukepetersen/opt_pm_misc
...
pm: misc cleanup and fixes
2017-01-24 14:07:36 +01:00
Martine Lenders
2fd69653af
gnrc_ndp: do not add new neighbors as TENTATIVE on 6LR
2017-01-23 14:02:26 +01:00
Sebastian Meiling
7f7329ea71
Merge pull request #4744 from brummer-simon/devel-gnrc_tcp
...
gnrc_tcp: initial implementation
2017-01-23 09:32:34 +01:00
Simon Brummer
abd307b89d
gnrc_tcp : initial implementation
2017-01-22 09:27:58 +01:00
Martine Lenders
85d8397464
Merge pull request #6117 from kb2ma/gcoap/sock
...
gcoap: rebase networking on sock
2017-01-21 10:40:13 +01:00
Ken Bannister
342c3f2ed3
gcoap: Remove coap.h include file, which is no longer used.
...
Also change references in dependencies to the net/gcoap.h include.
2017-01-20 22:00:25 -05:00
Ken Bannister
af1eca907f
gcoap: Rebase messaging on sock API
2017-01-20 22:00:25 -05:00
Ken Bannister
fa815993ae
gcoap: Move from gnrc directory up to net directory
2017-01-20 16:14:13 -05:00
Kees Bakker
a0a76d66d2
drivers: Add driver for BME280
2017-01-20 20:26:43 +01:00
Michel Rottleuthner
ac2ae7cb56
drivers: added driver for accessing sd_cards over spi
2017-01-20 18:11:26 +01:00
Oleg Hahm
9a38c1085c
Merge pull request #6428 from OTAkeys/fix/xtimer_mutex_infinite_loop
...
xtimer: fix mutex unlocking in _mutex_timeout
2017-01-20 16:43:38 +01:00
Hauke Petersen
825958d3e2
sys/auto_init: unified logging for mma8x5x
2017-01-20 09:05:57 +01:00
Hauke Petersen
a631cc86ca
sys/auto_init: unified logging for saul&netif
2017-01-20 09:04:39 +01:00
Oleg Hahm
3c6678b037
*: fix mismatching endifs for header guards
2017-01-19 18:30:53 +01:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Vincent Dupont
eacffdf490
xtimer: fix mutex unlocking in _mutex_timeout
2017-01-19 18:26:52 +01:00
Oleg Hahm
693636690c
Merge pull request #6399 from OlegHahm/timex_constants
...
timex: unambiguous time conversion macros
2017-01-19 17:29:26 +01:00
Francisco Acosta
70fbcbf7ed
Merge pull request #6311 from miri64/native/enh/multi-tap
...
cpu/native: allow for multiple netdev2_tap devices
2017-01-19 14:56:55 +01:00
Martine Lenders
7599a81fd6
Merge pull request #6314 from haukepetersen/add_uuid
...
sys: add uuid module for central ID/addr generation
2017-01-19 14:12:09 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
Martine Lenders
2a05385560
Merge pull request #6155 from lebrush/sema-non-ipc
...
Semaphore implementation without IPC
2017-01-19 12:22:43 +01:00
Oleg Hahm
b9b6e4934c
Merge pull request #5203 from OlegHahm/cbor_bound_checking
...
cbor: bounds checking on read and no_copy string deserialization
2017-01-19 12:21:18 +01:00
Martine Lenders
1f6f02e196
cpu/native: adapt start-up and auto-init for multiple netdev2_tap
2017-01-19 12:07:10 +01:00
Hauke Petersen
ab2339cc95
sys: added unique ID generation module
2017-01-19 11:09:29 +01:00
Hauke Petersen
0fc8c665f1
sys/pm_layered: fixed doxygen group
2017-01-19 11:07:59 +01:00
Cenk Gündoğan
c7579573f5
Merge pull request #6220 from miri64/ndp/enh/const
...
ndp: sixlowpan_nd: import protocol constants
2017-01-19 10:03:11 +01:00
Peter Kietzmann
616d35e96f
Merge pull request #6153 from haukepetersen/opt_driver_mma8x5x
...
drivers/mma8x5x: remodeled driver
2017-01-19 09:56:31 +01:00
Victor Arino
066db5857a
sys/posix: adapt semaphore to new implementation
2017-01-19 08:59:17 +01:00
Victor Arino
791b68a295
sys/sema: re-implement without IPC
2017-01-19 08:59:17 +01:00
Francisco Acosta
45721d5fd7
Merge pull request #6414 from miri64/xtimer/fix/debug
...
xtimer: fix for DEBUG
2017-01-18 23:47:32 +01:00
Martine Lenders
c41b3294af
ndp: sixlowpan_nd: import protocol constants
...
For the new neighbor discovery I want the protocol related constants in
a central place (will remove the spread-out definitions of the old
implementation when I remove that one)
2017-01-18 21:27:44 +01:00
Oleg Hahm
8f71b4c103
Merge pull request #6397 from OlegHahm/txtsnd_pseudomodule
...
shell: introduce txtsnd pseudomodule
2017-01-18 21:21:42 +01:00
Oleg Hahm
72afbbab89
Merge pull request #6212 from smlng/pr/gnrc_sock_udp/portrange
...
gnrc_sock_udp: add udp portrange
2017-01-18 21:20:26 +01:00
Oleg Hahm
df7927dc94
shell: introduce txtsnd pseudomodule
...
This commit allows to enable/disable the txtsnd shell command. The
command is used to send strings over L2 in GNRC. Until now the command
was automatically enabled if GNRC and shell_commands were present, which
may lead to confusion if no L2 packet handler is registered.
2017-01-18 20:58:56 +01:00
Matias Devenuta
63bcccf43d
cbor: Packed struct to bypass unaligned stack
...
This can happen due to cast using buggy GCC on ARMv7
Credit to our shy french pal
2017-01-18 20:40:30 +01:00
Martine Lenders
712bd09b2c
xtimer: fix for DEBUG
2017-01-18 19:38:05 +01:00
Lucio Torre
5f26b7686f
cbor: fix typo
2017-01-18 19:33:00 +01:00
Lucio Torre
04fc0b35a7
cbor: introduce cbor_serialize_byte_stringl
2017-01-18 19:33:00 +01:00
Lucio Torre
f6db56929f
cbor: check return value for zero
2017-01-18 19:33:00 +01:00
Lucio Torre
d783d784c9
cbor: add zero copy string deserialization
2017-01-18 19:33:00 +01:00
Lucio Torre
1c64d45b31
cbor: introduce bounds checking on read
2017-01-18 19:32:59 +01:00
Oleg Hahm
24c205d3a3
xtimer: fix formatter for xtimer_now in DEBUG
2017-01-18 16:20:02 +01:00
smlng
e28d14f77f
gnrc, sock_udp: correct includes
2017-01-18 13:23:12 +01:00
smlng
a9cb29c46b
gnrc_sock_udp: optimized remote ep handling
2017-01-18 13:23:12 +01:00
smlng
e2cf221a58
gnrc_sock_udp: get source port from dynmic port range
...
- get a new source port from a predefined range
- check if port already in use, if required
- refinded consistency checks for params of send()
2017-01-18 13:23:12 +01:00
smlng
2c5f07b62b
gnrc_sock: add dynamic port range
2017-01-18 13:23:12 +01:00
Hauke Petersen
96180a61b2
sys/auto_init: adapted to mma8x5x changes
2017-01-18 10:51:15 +01:00
Peter Kietzmann
f5c4505f1f
Merge pull request #6075 from TizenTeam/sandbox/pcoval/on/master/review
...
sys: Fix pthread includes to support avr-libs
2017-01-18 10:07:51 +01:00
Peter Kietzmann
6ac2ec1b83
Merge pull request #6385 from haukepetersen/opt_drivers_saulconfigmove
...
drivers: move SAUL config to _params.h + minor fixes
2017-01-18 09:01:52 +01:00
Philippe Coval
20c3aaa448
sys: Fix pthread includes to support avr-libs
...
Missing malloc.h and clock_id_t were causing issues to build.
It was tested with this configuration:
- linux ubuntu 14.04.5
- arduino-mega2560 board
- avr-libc-1.8.0-4.1
This change was needed to build iotivity example
Bug: https://github.com/RIOT-OS/RIOT/issues/6241
Change-Id: I82ce246093b3467dfe9746f999bcc9335dbb65f6
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2017-01-17 19:44:22 +01:00
Peter Kietzmann
7c252eddae
Merge pull request #4642 from haukepetersen/opt_hdc1000
...
drivers/hdc1000: remodeled driver + SAUL integration
2017-01-17 16:02:03 +01:00
Hauke Petersen
9ad5d48065
drivers/si70xx: move SAUL config to params.h
2017-01-17 11:35:24 +01:00
Hauke Petersen
13942225eb
drivers/jc42: move SAUL config to params.h
2017-01-17 11:34:55 +01:00
Hauke Petersen
232b8eb2a5
drivers/bmp180: move SAUL config to params.h
2017-01-17 11:34:16 +01:00
Hauke Petersen
7e99e5135a
sys/auto_init: added sequence for hdc1000 sensors
2017-01-17 10:48:22 +01:00
Hauke Petersen
75fabde99d
Merge pull request #6312 from miri64/auto_init/fix/stack_array_order
...
auto_init: fix array-initializer order for gnrc_netdev2 stacks
2017-01-17 09:48:22 +01:00
Martine Lenders
548507c37e
Merge pull request #6370 from OlegHahm/crypto_remove_twofish_rc5
...
sys: crypto: remove twofish and rc5
2017-01-17 08:30:04 +01:00
Joakim Nohlgård
21d0266a9a
sys/auto_init/saul: Fix some -Wsign-compare warnings
2017-01-16 08:56:13 +01:00
Martine Lenders
0f824b6756
iana: rename to portrange
2017-01-15 16:42:44 +01:00
Oleg Hahm
c2893d4a88
sys: crypto: remove twofish and rc5
2017-01-15 14:53:43 +01:00
3545073f49
drivers/jc42: More formatting fixes
2017-01-15 13:10:37 +01:00
01092dd7ca
drivers/jc42 Minor formatting
2017-01-15 13:10:36 +01:00
0f22e13ccb
drivers/jc42: Add JEDEC JC42.4 temperature sensors
...
This patch adds a driver for the jc42 compatible
temperature sensors. All sensors compatible with
jc42.4 should work. Examples include the mcp9808
and more.
2017-01-15 13:10:36 +01:00
Ludwig Knüpfer
93b1fc1fde
Merge pull request #6342 from haukepetersen/rm_core_rebooth
...
core: drop `reboot.h`
2017-01-14 09:48:52 +01:00
Martine Lenders
82d8d3d569
auto_init: fix array-initializer order for gnrc_netdev2 stacks
2017-01-13 16:24:43 +01:00
Peter Kietzmann
4f02c4d9c4
Merge pull request #6284 from aabadie/fix_si70xx_saul
...
drivers/si70xx: fix saul auto initialization
2017-01-13 16:21:52 +01:00
Hauke Petersen
8c7f2d3e9d
s syscalls: use pm_off for _exit()
2017-01-13 11:01:02 +01:00
Hauke Petersen
d0301dfa34
sys/newlib+shell: use pm_reboot() for reboot()
2017-01-13 10:17:58 +01:00
Martine Lenders
3ba12182c5
Merge pull request #6158 from lebrush/mutex-timeout
...
sys: add mutex lock with timeout function
2017-01-12 20:18:23 +01:00
Victor Arino
17d6d2a5b5
sys/xtimer: implement mutex lock with timeout
2017-01-12 13:20:26 +01:00
92f6fc6888
drivers: add layered power modes module
2017-01-12 11:24:15 +01:00
Peter Kietzmann
82ec622748
Merge pull request #6168 from BytesGalore/base64_fix_expected_encode_size
...
sys/base64: corrected output size determination
2017-01-11 11:51:06 +01:00
48ea21447b
drivers/si70xx: fix saul auto initialization
2017-01-11 09:14:28 +01:00
Oleg Hahm
6ec1de6783
doc: fix doxygen groups for PPP
2017-01-10 20:14:00 +01:00
BytesGalore
49f89b4268
sys/base64: corrected output size determination
2017-01-10 18:30:38 +01:00
Peter Kietzmann
a8297595e6
Merge pull request #6108 from haukepetersen/opt_nrf_nrfmin
...
cpu/nrf5x: ported nrfmin driver to netdev2
2017-01-10 16:52:54 +01:00
Hauke Petersen
f82c7340a5
sys/auto_init: added bootstrapping for nrfmin
2017-01-10 11:54:49 +01:00
Hauke Petersen
d855cf1ecb
sys/auto_init: adapted init code for XBee devices
2017-01-10 11:47:31 +01:00
Hauke Petersen
61378430e2
sys/net/gnrc: added XBee-to-GNRC glue code
2017-01-10 11:47:31 +01:00
BytesGalore
1c8ea7eab2
Merge pull request #6297 from thomaseichinger/pr/fix_doc_base64
...
sys/base64: fix a documentation confusion
2017-01-08 10:15:54 +01:00
34e44ca4b2
Merge pull request #6263 from kaspar030/remove_unneeded_strings.h
...
sys: posix: remove strings.h
2017-01-07 09:29:27 +01:00
Thomas Eichinger
95e8d73532
sys/base64: fix a documentation confusion
2017-01-06 11:07:03 -08:00
kYc0o
4fc6b89d87
sys/hashes/sha256: remove unnecessary include
2017-01-04 16:54:13 +01:00
zhuoshuguo
6a0ac75d2c
gnrc_mac: add mac tx and rx internal types and API.
2017-01-04 13:59:16 +01:00
Oleg Hahm
84b2910657
Merge pull request #6253 from gebart/pr/newlib-nano-include-dir-fix
...
LLVM+newlib include path search fixes
2017-01-04 11:19:54 +01:00
3b1d67badd
sys/arduino: make arduino sketch works on avr based boards
2017-01-03 13:01:30 +01:00
Cenk Gündoğan
5fd26e28e7
Merge pull request #6262 from smlng/pr/cppcheck/fix_nhdp_address
...
cppcheck: fix warning in nhdp_address
2016-12-27 16:26:10 +01:00