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

4022 Commits

Author SHA1 Message Date
Vincent Dupont
b9b838f1dc mma8652: add support for all mma8x5x accelerometers 2016-11-16 14:14:07 +01:00
3af5e3e315 sys: net: uhcpc: port to sock 2016-11-14 14:50:04 +01:00
2b1cd628a9 sys: net: sock: add uint32_t ipv4 address to address union 2016-11-13 12:18:12 +01:00
742387acc0 Merge pull request #6102 from smlng/pr/gcoap/fix_compiler_error
gcoap: fix compiler error on macOS
2016-11-11 14:00:40 +01:00
Oleg Hahm
c53ba48f8f Merge pull request #6104 from smlng/pr/macos/cbor/fix_redefined_macro
cbor: fix redefined macro error on macOS
2016-11-11 09:37:20 +01:00
Martine Lenders
c227bd567d Merge pull request #6106 from miri64/net/enh/nano-spec-fix
net: fix header dumps for nanospec newlib
2016-11-11 02:09:19 +01:00
Martine Lenders
11d3cd8efa net: fix header dumps for nanospec newlib 2016-11-10 21:21:28 +01:00
smlng
e867d83eff cbor: fix redefined macro error on macOS 2016-11-10 16:16:06 +01:00
smlng
ebd89a76f4 gcoap: fix compiler error on macOS 2016-11-10 14:13:29 +01:00
2972f8fd86 net: gnrc: gcoap: make use of DEBUG_EXTRA_STACKSIZE 2016-11-10 13:57:02 +01:00
Martine Lenders
9ce5a5b02c Merge pull request #6083 from miri64/gnrc_sock_ip/fix/fix-memcpy-type
gnrc_sock_ip: fix memcpy()/memset() sizeof-type
2016-11-09 22:38:06 +01:00
Martine Lenders
653e36277c gnrc_sock_ip: fix memcpy()/memset() sizeof-type
The type in the `sizeof()` is just plain wrong. This fixes it.
2016-11-09 21:24:28 +01:00
e0164660eb Merge pull request #6064 from miri64/gnrc_sixlowpan_nhc/fix/forwarding
gnrc_sixlowpan_nhc: fix forwarding case
2016-11-09 15:56:21 +01:00
Martine Lenders
6d80df1a8d Merge pull request #6065 from cgundogan/pr/cpp_pls_do_not_use_isystem_for_default_includes
newlib: don't use -isystem for default includes
2016-11-09 15:43:41 +01:00
Martine Lenders
87261a7be1 Merge pull request #6082 from haukepetersen/add_board_microbit
boards: added support for BBC micro:bit
2016-11-09 15:28:42 +01:00
Martine Lenders
593ad5237d Merge pull request #6067 from cgundogan/pr/cpp_rm_exception_from_noexcept_func
cpp11-compat: no exceptions in noexcept function
2016-11-09 13:01:21 +01:00
Hauke Petersen
38861341f2 sys: added 5x5 font 'Mineplex' 2016-11-09 11:59:45 +01:00
Martine Lenders
fcff65b6d8 od: quick-fix for newlib-nano 2016-11-08 17:16:53 +01:00
Martin Elshuber
b582e64b09 gnrc_sixlowpan_iphc.c: Updated comments some logic 2016-11-08 13:04:12 +01:00
Martin Elshuber
faa47a0e03 gnrc_sixlowpan_iphc: Fixed encoding when COMP=0
Summary:

Even ehen COMP is cleared, the algorithm always elides part of the address when a matching
context is found.

This behviour occurs because in the line

  if ((src_ctx != NULL) || ipv6_addr_is_link_local(&(ipv6_hdr->src)))

the COMP bit is not tested.

This patch fixes the problem by setting [src|dst]_ctx to NULL if the
context must not be used.
2016-11-07 19:53:04 +01:00
Cenk Gündoğan
3365bd8a23 cpp11-compat: no exceptions in noexcept function 2016-11-07 16:38:53 +01:00
Cenk Gündoğan
fb3c2b2bc9 newlib: don't use -isystem for default includes 2016-11-07 16:01:41 +01:00
zhuoshuguo
70369d6591 gnrc_mac: fix includes. 2016-11-07 15:47:13 +01:00
Martine Lenders
1605b506c9 gnrc_sixlowpan_nhc: fix forwarding case 2016-11-07 15:46:56 +01:00
zhuoshuguo
1a44c0f71b gnrc_mac: add l2 address into netdev2. 2016-11-07 10:33:33 +01:00
Martine Lenders
e6ad438a0b Merge pull request #5941 from zhuoshuguo/gnrc_mac_type
gnrc: create the basic "gnrc_mac" type for providing common MAC functionalities
2016-11-07 10:11:54 +01:00
zhuoshuguo
6f39d8c809 gnrc_mac: add gnrc_mac module into netdev2. 2016-11-04 17:04:50 +01:00
Martine Lenders
9e45cc7067 Merge pull request #6047 from miri64/gcoap/fix/netreg-generic
gcoap: use generic netreg initializers
2016-11-04 13:59:02 +01:00
Martine Lenders
dc907b76fa gcoap: use generic netreg initializers
PR #5526 introduced mbox support for netreg so using these functions
is now required.
2016-11-03 12:56:58 +01:00
José Ignacio Alamos Aste
fe686d9b29 PPP: Added header definitions 2016-11-02 11:30:38 -03:00
Peter Kietzmann
11a8969ab0 Merge pull request #6003 from miri64/core/doc/msg-init-queue-power-of-two
doc: make the 2^x requirement for msg_queue more visible
2016-11-01 12:16:09 +01:00
Martine Lenders
f93ab1a1f6 doc: make the 2^x requirement for msg_queue more visible 2016-11-01 11:07:59 +01:00
Martine Lenders
6dac4bd530 Merge pull request #5950 from zhuoshuguo/add_packet_queue_module_to_gnrc_mac
gnrc: Add priority packet queue module to gnrc
2016-11-01 07:45:31 +01:00
Ken Bannister
f3431fb49e gcoap: initial commit 2016-10-31 22:41:52 -04:00
zhuoshuguo
0ebe2a0309 gnrc: add priority packet queue module. 2016-10-31 16:53:01 +01:00
Martine Lenders
e7b17dccfc Merge pull request #5945 from miri64/sock/api/ipv4-init-helper
sock: change IPv4 address type to array
2016-10-31 12:56:29 +01:00
Martine Lenders
6d5fdbfa1c sock: document byte order for port 2016-10-31 10:53:26 +01:00
Martine Lenders
9e6b7e8dbf sock: change IPv4 address type to array 2016-10-31 10:53:26 +01:00
Oleg Hahm
1c58f108b0 Merge pull request #6020 from lluminita/sntp_implementation
sntp: initial import
2016-10-30 22:41:48 +01:00
Luminita
cf3f02c2e1 sntp: initial import 2016-10-30 22:00:02 +01:00
Martine Lenders
04f8cc20a0 Merge pull request #6021 from miri64/gnrc_sock/fix/actually-bind-implicitly
gnrc_sock: actually bind implicitly
2016-10-30 19:31:22 +01:00
Martine Lenders
7310c87f30 Merge pull request #5472 from jia200x/ipv4_defs
ipv4: header definitions
2016-10-30 19:07:59 +01:00
Martine Lenders
60d7b7efa2 gnrc_sock_udp: fixed minor bug 2016-10-30 18:48:41 +01:00
Martine Lenders
eb50b33fb5 gnrc_sock: actually **bind** implicitly 2016-10-29 20:58:27 +02:00
José Ignacio Alamos Aste
afbf9b21fb added ipv4 and ICMPv4 definitions and helpers 2016-10-29 10:43:37 -03:00
Hauke Petersen
0d4a0a156f sys/slip: use named UART return values 2016-10-28 10:32:00 +02:00
Hauke Petersen
ac94d38657 Merge pull request #6005 from miri64/conn/deprecate
conn: add deprecation note
2016-10-27 17:04:58 +02:00
BytesGalore
eda796da00 Merge pull request #5998 from mali/fix_sys_headers_guards
sys: fix include headers guards
2016-10-27 12:47:05 +02:00
Martine Lenders
38217347c5 conn: add deprecation note 2016-10-27 12:25:49 +02:00
Hauke Petersen
f6413ee5f5 Merge pull request #5772 from miri64/gnrc/feat/sock
gnrc_sock: provide port for sock_ip and sock_udp
2016-10-27 11:43:44 +02:00
Laurent Navet
5fe337bc6c sys: fix include headers guards 2016-10-26 21:53:58 +02:00
Martine Lenders
20e1fce5b7 ieee802154: centralize default values 2016-10-26 15:32:12 +02:00
Martine Lenders
9508c8f5a5 tests: provide gnrc_sock_ip tests 2016-10-26 15:20:39 +02:00
Martine Lenders
1a6ebf2aae gnrc_sock_ip: provide port for sock_ip 2016-10-26 15:20:39 +02:00
Martine Lenders
b971c575ad gnrc_sock_udp: provide port for sock_udp 2016-10-26 15:20:38 +02:00
Hauke Petersen
fb24f6d26e sys: added auto-init code for W5100 devices 2016-10-26 08:36:58 +02:00
Martine Lenders
0016463687 all: fix for new netreg_entry_t structure 2016-10-25 22:17:18 +02:00
Martine Lenders
97adff5eac gnrc_netreg: add arbitrary callback support 2016-10-25 21:35:57 +02:00
Martine Lenders
b84d955921 gnrc_netreg: add mbox support 2016-10-25 21:31:54 +02:00
Hauke Petersen
bc232a5642 Merge pull request #5524 from miri64/gnrc_netreg/api/helper-macro
gnrc_netreg: introduce helper macro/function for entry init
2016-10-25 21:21:25 +02:00
Lucas Jenß
4e20feb453 Merge pull request #5975 from miri64/cbor/bug/i5420
cbor: fix off-by-one error
2016-10-25 19:20:52 +02:00
Martine Lenders
dc45cd2610 gnrc: use new netreg helper functions everywhere 2016-10-25 18:47:30 +02:00
Peter Kietzmann
a94138bca3 Merge pull request #5984 from smlng/pr/shell_fix_usage
shell: exclude hl and stats from usage if module not present
2016-10-24 20:29:27 +02:00
smlng
4c44a931b7 shell, netstats: fix unused function error 2016-10-24 19:52:15 +02:00
Martine Lenders
f341947612 cbor: fix off-by-one error 2016-10-24 15:52:05 +02:00
Martine Lenders
3225f020e5 Merge pull request #5964 from kaspar030/make_fix_appdir_bindir
make: remove trailing slash from BINDIR and APPDIR variables
2016-10-24 14:33:40 +02:00
smlng
3b02e08dea shell: exclude hl and stats from usage if module not present 2016-10-21 21:32:11 +02:00
Lotte Steenbrink
3d23724802 Merge pull request #5973 from Lotterleben/conn_fix_ascii_art
conn.h: fix ascii art
2016-10-20 17:11:54 +02:00
Lotte Steenbrink
1157137f8f conn.h: fix ascii art 2016-10-20 07:34:44 -07:00
Martine Lenders
633292af30 Merge pull request #5958 from miri64/gnrc_pktqueue/doc/fix
gnrc_pktqueue: fix doc
2016-10-20 12:12:46 +02:00
Martine Lenders
523e6975dd Merge pull request #5955 from Cherden/master
gnrc_netif_hdr: Packet dump format of if_pid, rssi and lqi
2016-10-19 17:59:46 +02:00
560a509036 make: remove trailing slash from BINDIR variable 2016-10-18 23:27:59 +02:00
3b30d510bf Merge pull request #5923 from miri64/sock/api/add-missing-func+doc
sock_tcp: Add missing function and doc
2016-10-17 16:04:32 +02:00
Martine Lenders
6e2f1c566b sock_tcp: Add missing function and doc 2016-10-17 14:46:57 +02:00
Martine Lenders
a4cc50d5b7 gnrc_pktqueue: fix doc 2016-10-17 13:26:19 +02:00
Dennis Kirsch
8c25ffeba8 gnrc_netif_hdr: Fix debug output format of if_pid, rssi and lqi 2016-10-17 10:11:08 +02:00
Martine Lenders
b9330d462b sock: Some formatting fixes
Follow-up on #5929
2016-10-12 17:55:48 +02:00
Martine Lenders
8c56c9031b Merge pull request #5929 from kaspar030/sock_change_no_timeout_value
sock: change "no timeout" value from 0 to UINT32_MAX
2016-10-12 16:08:03 +02:00
aace13624b sock: change "no timeout" value from 0 to UINT32_MAX 2016-10-12 15:19:16 +02:00
Martine Lenders
4e8659c72a shell: ncache: Fix #5930 2016-10-12 15:00:32 +02:00
Martine Lenders
d4ba3bd184 sock: doc fixes 2016-10-11 10:24:45 +02:00
Lotte Steenbrink
826282d9e1 gnrc.h: extend documentation 2016-10-10 14:44:46 -07:00
Martine Lenders
f93ab584d8 sock: make queue_array parameter a pointer
Since sock_tcp_t isn't defined at this moment (only declared) the
compiler is complaining about the use of an array in the parameter list
here.

    sys/include/net/sock/tcp.h:119:32: error: array type has incomplete element type ‘sock_tcp_t {aka struct
sock_tcp}’
                         sock_tcp_t queue_array[], unsigned queue_len,
                                    ^
2016-10-07 15:06:38 +02:00
Martine Lenders
c7870eac5f Merge pull request #5913 from miri64/sock/api/invalid-addresses
sock: define behavior on invalid addresses
2016-10-07 10:54:10 +02:00
Martine Lenders
6c1e805f9e sock: define behavior on invalid addresses 2016-10-06 21:56:19 +02:00
Thomas Eichinger
7337dadad4 Merge pull request #5851 from hamilton-mote/hamilton-rtt-stdio
sys/rtt_stdio: Support SEGGER RTT for stdin/stdout
2016-10-06 11:39:14 -07:00
Michael Andersen
1d6b9c6f8d sys/rtt_stdio: Support SEGGER RTT for stdin/stdout 2016-10-04 19:26:23 -07:00
BytesGalore
1eae646de7 Merge pull request #5908 from mtausig/ciphers_doc
ciphers: Documented return values of init functions
2016-10-04 20:25:26 +02:00
b016fb43fa Merge pull request #5884 from miri64/sock/doc/fix
sock: doc fixes
2016-10-04 18:33:26 +02:00
Martine Lenders
f4d39274fb sock: doc fixes 2016-10-04 17:22:54 +02:00
Peter Kietzmann
359f3b5fc7 Merge pull request #5897 from miri64/ieee802154/enh/cleanup
ieee802154: clean-up (Intra-PAN behavior + broadcast)
2016-10-04 14:10:00 +02:00
Mathias Tausig
3a3b26e70a ciphers: Added defines for return values of cipher_init() and [specific cipher]_init() functions
New definitions: CIPHER_INIT_SUCCESS and CIPHER_ERR_BAD_CONTEXT_SIZE
2016-10-04 13:01:38 +02:00
Mathias Tausig
bc3f49a7d0 ciphers: Documented return values of init functions 2016-10-04 09:30:22 +02:00
DipSwitch
6a484d19cb ndp: fix debug in message in gnrc_ndp_internal_send_nbr_sol 2016-10-03 11:56:22 +02:00
Martine Lenders
a0454b3787 ieee802154: remove need for IEEE802154_BCAST flag 2016-09-30 14:57:05 +02:00
Martine Lenders
9f29e56020 netdev2_ieee802154: remove NETDEV2_IEEE802154_PAN_COMP flag 2016-09-30 13:09:26 +02:00
Martine Lenders
ff2f9983f0 Merge pull request #5880 from OlegHahm/fix_debug_newlines
debug: add missing line breaks
2016-09-28 15:21:28 +02:00
Martine Lenders
6f0018f66a Merge pull request #5694 from miri64/gnrc/enh/0-length-payload
gnrc_pktbuf: allow for 0-sized payload snips
2016-09-28 07:09:23 +02:00
Oleg Hahm
b428979a1d debug: add missing line breaks 2016-09-27 23:38:41 +02:00
526917b8cc Merge pull request #5758 from miri64/sock/api/initial
sock: Introduction of new application layer API
2016-09-27 23:10:35 +02:00
Martine Lenders
fdc8c39ba2 od: don't dump 0-length chunks 2016-09-27 21:49:58 +02:00
Martine Lenders
5dad8f1edd gnrc_pktbuf: allow for 0-sized payload snips 2016-09-27 21:49:57 +02:00
Martine Lenders
f99bbbfda9 Merge pull request #5381 from cgundogan/pr/netstats_rpl
gnrc_rpl: introduce control plane traffic statistics
2016-09-27 21:06:00 +02:00
Cenk Gündoğan
cfb487ffc4 gnrc_rpl: shell: add 'rpl stats' cmd to shell 2016-09-27 20:40:04 +02:00
Cenk Gündoğan
ad6677b33f gnrc_rpl: netstats_rpl: introduce statistics 2016-09-27 20:40:04 +02:00
Martine Lenders
3c005b64b6 Merge pull request #5692 from BytesGalore/md5_change_parameter_type
hashes/md5: changed data-parameter types to `void*`
2016-09-27 20:07:11 +02:00
BytesGalore
4fa3a83910 hashes/md5: changed data-parameter types to void* 2016-09-27 18:53:43 +02:00
Martine Lenders
3a204d69b4 Merge pull request #5691 from BytesGalore/sha1_change_parameter_type
hashes/sha1: changed data-parameter pointers to `void*`
2016-09-27 18:48:31 +02:00
BytesGalore
9818d053f4 hashes/sha256: changed data pointer parameters to void* 2016-09-27 06:36:08 +02:00
Martine Lenders
262d0d7573 gnrc_netreg: introduce helper macro/function for entry init 2016-09-26 16:00:56 +02:00
Oleg Hahm
9088883047 Merge pull request #5864 from miri64/ndp/fix/incl-header
ndp: add missing header include
2016-09-23 20:46:30 +02:00
Martine Lenders
9dc4023112 ndp: add missing header include
sys/include/net/ndp.h uses IPv6 addresses in NDP message type definitions but up
until now the according header wasn't included.
2016-09-23 20:23:42 +02:00
Oleg Hahm
3c61787b81 Merge pull request #5816 from makomi/shell
sys/shell: fix cppcheck warnings
2016-09-23 18:49:06 +02:00
Oleg Hahm
6a8a829a42 Merge pull request #5803 from miri64/auto_init_gnrc_netif/fix/mac-prios
auto_init_gnrc_netif: set priorities one lower than 6LoWPAN
2016-09-23 00:38:33 +02:00
Cenk Gündoğan
2366e013de Merge pull request #5854 from smlng/pr/gnrc_rpl/expose_config_params
gnrc_rpl: adapt default parameters and expose to Makefile
2016-09-22 10:07:36 +02:00
b2b42c7b71 Merge pull request #5451 from mali/uno
boards: add arduino uno and duemilanove support
2016-09-22 09:29:49 +02:00
Laurent Navet
3ff576e46a tests: adapt for arduino uno and duemilanove support
- blacklist arduino-uno and arduino-duemilanove for
  coap, libfixmath_unittests, lwip, nhdp,
  pthread, pthread_barrier, pthread_cleanup, pthread_condition_variable
  pthread_cooperation, pthread_rwlock and pthread_tls tests.

- fix sys/pipe build

- unittests: boards added to BOARD_INSUFICIENT_MEMORY list.
2016-09-21 21:12:58 +02:00
smlng
0784b9a812 gnrc_rpl: add explanatory links to RFC sections 2016-09-21 13:45:25 +02:00
smlng
4ae107626a gnrc_rpl: correct (some) default params 2016-09-21 13:34:36 +02:00
smlng
fbafcc39ac gnrc_rpl: modify RPL default parameters in Makefile 2016-09-21 13:33:55 +02:00
Martine Lenders
4fa36e6128 auto_init_gnrc_netif: set priorities one lower than 6LoWPAN 2016-09-20 15:43:11 +02:00
add6e1d36d Merge pull request #5674 from aabadie/driver_io1_xplained
drivers/io1_xplained: initial implementation of Atmel IO1 Xplained extension board
2016-09-16 10:35:49 +02:00
Matthias Kolja Miehl
1d1e6c44e4 sys/shell: fix cppcheck warnings 2016-09-13 22:07:57 +02:00
Oleg Hahm
b35b270fe4 Merge pull request #5813 from makomi/hamming256
sys/ecc/hamming256: fix variableScope (cppcheck)
2016-09-05 16:54:00 +02:00
Martine Lenders
9874a6d69a Merge pull request #5811 from makomi/gnrc
sys/net/gnrc: fix cppcheck errors/ warnings
2016-09-05 13:06:04 +02:00
BytesGalore
5893c9ba0f Merge pull request #5806 from makomi/base64
sys/base64: fix variableScope (cppcheck)
2016-09-05 08:48:52 +02:00
Matthias Kolja Miehl
95baea86d6 sys/net/gnrc: gnrc_zep: fix nullPointer error 2016-09-05 02:24:11 +02:00
Matthias Kolja Miehl
0e1d749340 sys/net/gnrc: gnrc_rpl_control_messages: fix variableScope 2016-09-05 02:24:05 +02:00
Matthias Kolja Miehl
b108a57637 sys/net/gnrc: gnrc_ipv6_ext: fix variableScope 2016-09-05 02:23:59 +02:00
Matthias Kolja Miehl
08fd7f857b sys/ecc/hamming256: fix variableScope 2016-09-05 02:22:37 +02:00
Matthias Kolja Miehl
1e8d768701 sys/base64: fix variableScope 2016-09-05 02:21:50 +02:00
Martine Lenders
09703e1fdf fixup! sock: Introduction of new application layer API
Add more error classes
2016-09-02 19:02:33 +02:00
Martine Lenders
d17ef910f0 fixup! sock: Introduction of new application layer API
Include missing header
2016-09-02 18:59:34 +02:00
3aa1ffb5fb drivers/io1_xplained: initial implementation including temperature/LED/GPIO and auto init 2016-09-02 10:42:09 +02:00
Martine Lenders
b43ffab953 Merge pull request #5515 from miri64/csma_sender/fix/adaptations
csma_sender: fixes and adaptions
2016-09-02 10:12:38 +02:00
Martine Lenders
dd7fb1c63b Merge pull request #5228 from OlegHahm/gnrc_ipv6_hdr_get
gnrc ipv6: convenient function to get the header
2016-09-01 23:16:49 +02:00
Martine Lenders
cd505b5a71 Merge pull request #5767 from zhuoshuguo/fix_sys_crypto_header_include_guards
fix sys/crypto header include guards.
2016-09-01 18:05:36 +02:00
Shuguo Zhuo
4a0720fd21 sys/crypto: Rename header include guards. 2016-09-01 16:56:13 +02:00
Martine Lenders
3f82b530ad Merge pull request #5765 from zhuoshuguo/revise_sys_embunit_header_include_guards
Fix sys/embunit header include guards.
2016-09-01 16:13:38 +02:00
Shuguo Zhuo
76f593af11 sys/embunit: revised header include guards. 2016-09-01 15:33:23 +02:00
Peter Kietzmann
cd548cad46 Merge pull request #5751 from miri64/gnrc_udp/fix/consider-netif-hdr
gnrc_udp: consider netif header in send dispatch
2016-08-30 23:10:13 +02:00
Martine Lenders
9ba68cc88d Merge pull request #5749 from miri64/gnrc_udp/fix/missing-duplication
gnrc_udp: add missing duplitation step
2016-08-30 22:35:00 +02:00
Oleg Hahm
00dd2fdcd8 sys: newlib: conditionally ignore wchar warning
For certain versions of newlib this warning is ignored.
2016-08-30 09:04:01 +02:00
Joakim Nohlgård
455fb6cd4d Merge pull request #5742 from kaspar030/fix_lto
LTO fixes
2016-08-29 19:00:09 +02:00
Oleg Hahm
0703d80563 Merge pull request #5661 from OlegHahm/ccnl_update
pkg: ccn_lite update
2016-08-29 16:16:22 +02:00
Ludwig Knüpfer
fcb08fac04 Merge pull request #5756 from kaspar030/remove_config
sys: remove config module
2016-08-27 10:17:51 +02:00
b3a061e0ab sys: remove config module 2016-08-27 07:57:09 +02:00
Martine Lenders
73861e2c15 fixup! sock: Introduction of new application layer API
Fix some typos
2016-08-25 17:55:11 +02:00
smlng
c1fe8d5d9d gnrc_rpl: fix prefix length 2016-08-25 16:35:17 +02:00
Martine Lenders
ce205afc57 fixup! sock: Introduction of new application layer API
sock_ip: Provide proto parameter to send in case sock == NULL.
2016-08-25 16:02:47 +02:00