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

4067 Commits

Author SHA1 Message Date
smlng
374fd3cd66 cppcheck: fix warning in sc_saul_reg 2016-12-21 14:30:42 +01:00
Joakim Nohlgård
fd7a1de9c4 newlib: Refactor makefile to fix LLVM compilation failures 2016-12-21 13:10:54 +01:00
Sebastian Meiling
9b312a8aae Merge pull request #6250 from smlng/pr/shell/commands/fix_strtok_r_error
shell: fix strtok_r compile error
2016-12-21 11:08:44 +01:00
Ludwig Knüpfer
d0de9aac7b sys/isrpipe: fix group
- create group for isrpipe instead of adding it to sys directly
- alter file description accordingly
2016-12-20 20:47:27 +01:00
Ludwig Knüpfer
af1968e52a sys/hashes: fix doxygen group
- fix group membership
- improve description style
2016-12-20 20:42:13 +01:00
smlng
d17e57310f shell: fix strtok_r compile error 2016-12-20 19:44:46 +01:00
Joakim Nohlgård
fdf6726ab5 newlib: adjust include path for newlib-nano to match change in gcc-arm-embedded toolchain 2016-12-20 17:34:12 +01:00
Joakim Nohlgård
d33dd06f73 Revert "newlib: don't use -isystem for default includes"
This reverts commit fb3c2b2bc9.

The reverted commit broke Clang compilation.
2016-12-20 17:33:00 +01:00
smlng
645ea902dd cppcheck: grnc/netif/hdr fix cppcheck warnings 2016-12-20 16:49:10 +01:00
Hauke Petersen
ae1bf7e493 Merge pull request #6200 from kaspar030/refactor_synchronous_uart
sys: refactor synchronous uart
2016-12-19 09:44:40 +01:00
Francisco Acosta
22322214c5 Merge pull request #6193 from aabadie/bmp180_saul
drivers/bmp180: move bmp180 driver to saul auto init using the correct way
2016-12-16 17:05:39 +01:00
Martine Lenders
ee7f0013b8 Merge pull request #6199 from zhuoshuguo/fix_gnrc_priority_queue_doc
gnrc_priority_queue:  fix doxygen document.
2016-12-16 16:05:17 +01:00
26835f4f2c drivers/bmp180: move bmp180 to saul auto init the correct way 2016-12-16 15:24:34 +01:00
9dea130a9e drivers: ethos: make use of isrpipe module 2016-12-16 09:48:09 +01:00
dd70231bed sys: uart_stdio: make use of isrpipe 2016-12-16 09:48:08 +01:00
b89d81fdba sys: add isrpipe 2016-12-16 09:48:08 +01:00
Martine Lenders
490b907cd3 Merge pull request #6086 from miri64/gnrc_pktbuf_static/fix/i5748
gnrc_pktbuf_static: fix #5748
2016-12-16 07:18:38 +01:00
Martine Lenders
5e236cdc16 gnrc_pktbuf_static: fix #5748 2016-12-15 20:57:32 +01:00
e60e4f0fc9 sys: fmt: fix scn_u32_dec() documentation 2016-12-15 09:42:55 +01:00
Cenk Gündoğan
0bab8c0d61 Merge pull request #6216 from cgundogan/pr/gnrc_netdev2_eth.c
gnrc_netdev2_eth: check bytes_expected > 0
2016-12-15 09:29:52 +01:00
Martine Lenders
cfe20f8cd9 Merge pull request #6219 from miri64/timex/enh/more_conversion
timex: more conversion macros
2016-12-15 09:26:23 +01:00
Martine Lenders
ad2a9573af timex: more conversion macros 2016-12-14 16:21:56 +01:00
Martine Lenders
c6c29eb1ae gnrc_ndp: fix invalid doc references 2016-12-14 16:18:19 +01:00
Cenk Gündoğan
4ebf6363df gnrc_netdev2_eth: check bytes_expected > 0 2016-12-14 14:40:11 +01:00
smlng
ad698267fb gnrc_pktbuf: add asserts
- fix static analyzer warning
    - update @pre doc accordingly
2016-12-13 18:18:11 +01:00
Martine Lenders
50b1e7b6a5 gnrc_sock_udp: fix possibly dereferenced NULL pointer (#6203) 2016-12-13 09:03:57 +01:00
zhuoshuguo
944e1462ce gnrc_priority_queue: fix doxygen document. 2016-12-10 18:56:13 +01:00
Martine Lenders
be702411e2 Merge pull request #6069 from zhuoshuguo/gnrc_mac_internal_helper
gnrc_netif: add fetch-address and fetch-netif-flag functionalities.
2016-12-02 14:46:52 +01:00
zhuoshuguo
d749962134 gnrc_netif: add fetch-address and fetch-netif-flag functionalities. 2016-12-02 13:22:47 +01:00
Martine Lenders
4bf9d590f5 Merge pull request #5942 from zhuoshuguo/add_gnrc_mac_definition
gnrc: add l2_address into gnrc_netdev2_t
2016-11-30 17:59:43 +01:00
Francisco Acosta
84d0d61279 Merge pull request #5608 from gebart/pr/xtimer-ticks
xtimer: Allow arbitrary timer frequency, second attempt
2016-11-29 23:00:31 +01:00
Emmanuel Baccelli
cab947b05a fixed insconsistencies in the doc for sock
fixed insconsistency concerning headers needed

fixed insconsistency concerning headers needed

fixed insconsistency concerning headers needed
2016-11-29 21:28:49 +01:00
Michael Andersen
76da4d8d12 rtt_stdio: update for new xtimer api 2016-11-29 20:44:31 +01:00
Joakim Nohlgård
7c48c891a0 xtimer: Update xtimer usage to match API changes 2016-11-29 20:44:31 +01:00
Peter Kietzmann
e547ff1d60 Merge pull request #6013 from haukepetersen/opt_periph_uartreturntypes
periph/uart: added names to return values
2016-11-29 19:14:09 +01:00
Joakim Nohlgård
8217e49330 sys/xtimer: avoid C99 initializer list to make file C++11 compatible 2016-11-28 11:00:43 +01:00
Joakim Nohlgård
a23bfc64ff xtimer: Introduce xtimer_diff, xtimer_less for comparing timestamps 2016-11-28 11:00:42 +01:00
Joakim Nohlgård
b5554dd7e0 xtimer: Introduce xtimer_now_usec convenience functions 2016-11-28 11:00:42 +01:00
Joakim Nohlgård
63e91151cd xtimer: Add tick conversion 2016-11-28 11:00:42 +01:00
Joakim Nohlgård
199140e50b sys/div: Add support for big 64 bit numbers 2016-11-28 11:00:42 +01:00
Joakim Nohlgård
94da9c2975 sys/div: Add div_u64_by_15625div512
64-bit version of div_u32_by_15625div512

also updated tests-div to use correct order for expected and actual values in unit tests (embUnit)
2016-11-28 11:00:42 +01:00
Joakim Nohlgård
3d3efc3492 xtimer: Move ifdef outside Doxygen block 2016-11-28 11:00:42 +01:00
Martine Lenders
0946bda027 Merge pull request #6143 from miri64/gnrc_sock/enh/include-af
gnrc_sock: move net/af.h include to sock_types.h
2016-11-18 15:47:19 +01:00
Martine Lenders
bd533dd785 gnrc_sock: move net/af.h include to sock_types.h 2016-11-18 12:33:01 +01:00
Peter Kietzmann
711415360f Merge pull request #5433 from OTAkeys/pr/mma8x5x
mma8652: add support for all mma8x5x accelerometers
2016-11-18 09:02:42 +01:00
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