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

3869 Commits

Author SHA1 Message Date
Joakim Nohlgård
6768ae9c1f xtimer: Rename timer_callback_t -> xtimer_callback_t 2016-07-06 22:23:06 +02:00
Joakim Nohlgård
4fe674f746 xtimer: Add missing space 2016-07-06 22:23:06 +02:00
Joakim Nohlgård
7c70d3bc4f xtimer: Add Eistec copyright and author 2016-07-06 22:23:05 +02:00
Joakim Nohlgård
4d862955c2 xtimer: Rename XTIMER -> XTIMER_DEV 2016-07-06 22:23:04 +02:00
Joakim Nohlgård
2f832117f8 xtimer: prefix _lltimer_now, _lltimer_mask with _xtimer 2016-07-06 22:23:04 +02:00
Joakim Nohlgård
8c90b1020b xtimer: Split header into API and implementation 2016-07-06 22:23:04 +02:00
kYc0o
124bddb72c auto_init/netif/auto_init_cc2420: change variable names 2016-07-06 20:23:49 +02:00
46bd2f45d9 sys: xtimer: replace XTIMER_MASK with XTIMER_WIDTH in board config 2016-07-06 18:16:15 +02:00
Hauke Petersen
8d3cb3ace9 sys/auto_init: added initialization for cc2420 2016-07-06 18:14:48 +02:00
kYc0o
62a9773a9c boards/waspmote-pro: add support for Waspmote PRO v1.2 2016-07-05 13:05:12 +02:00
Joseph Noir
ed2c94764b Merge pull request #4643 from gebart/pr/clang-warning-fixes
Clang: Add support for C++
2016-06-23 13:06:55 +02:00
Oleg Hahm
a701262cc7 Merge pull request #5546 from mali/fixtypos
sys/arduino: fix typos in documentation
2016-06-12 12:11:19 +02:00
Laurent Navet
b702049134 sys/arduino: fix typos in documentation 2016-06-12 10:45:25 +02:00
Aaron Sowry
1ae7bc23d8 shell: set NULL pointer for data pakets with zero-length payload 2016-06-09 10:01:17 +12:00
Martine Lenders
e9bbd54f58 Merge pull request #5033 from Yonezawa-T2/validate_ipv6_size
gnrc_ipv6: validates payload size
2016-06-07 17:50:28 +02:00
Aaron Sowry
384fce3ae7 shell: Enable setting acknowledgement request flag from shell 2016-06-07 23:08:00 +12:00
Yonezawa-T2
0de34c91c6 gnrc_ipv6: validates payload size 2016-06-07 10:01:23 +09:00
Martine Lenders
a7d7b1188d Merge pull request #5517 from aabadie/saul_luminosity
sys/phydat: adding luminosity unit (Lux)
2016-06-06 11:38:54 +02:00
e2e3704973 sys/phydat: adding illuminance unit (Lux) 2016-06-06 11:04:11 +02:00
Cenk Gündoğan
7c5c3f2673 gnrc_rpl: doc fix 2016-06-05 23:05:59 +02:00
Martine Lenders
3c9e8ac80d csma_sender: allow for multi-interface configuration 2016-06-05 14:29:03 +02:00
Martine Lenders
90201bfb6e csma_sender: assure preconditions 2016-06-05 14:28:31 +02:00
Martine Lenders
a3f2cdd6ea csma_sender: port to netdev2 2016-06-05 13:57:26 +02:00
Martine Lenders
925013cd4c csma_sender: doc fixes 2016-06-05 13:57:10 +02:00
Martine Lenders
26acd3b7ae csma_sender: some style fixes 2016-06-05 13:57:09 +02:00
Martine Lenders
70b3b1426b csma_sender: proper prefixing for public functions and macros 2016-06-05 13:57:09 +02:00
Martine Lenders
c1c797496c csma_sender: adapt for changes in master 2016-06-05 13:57:09 +02:00
Martine Lenders
1b74fcab6e csma_sender: fix dependencies 2016-06-05 13:57:02 +02:00
Martine Lenders
8426ca99ca Merge pull request #4178 from rousselk/csma-sender
New 'csma_sender' helper module
2016-06-04 14:49:21 +02:00
Martine Lenders
98949f5cb4 Merge pull request #5498 from kaspar030/make_msg_content_ptr_void_star
core: change msg.content.ptr type to void *
2016-06-03 13:59:25 +02:00
Martine Lenders
c3dcfcf640 Merge pull request #5504 from Yonezawa-T2/sixlowpan_print_elided_address
sixlowpan_print: fix dump for elided source/destination address
2016-06-03 12:28:25 +02:00
Yonezawa-T2
7a030004ad sixlowpan_print: fix dump for elided source/destination address 2016-06-03 18:56:05 +09:00
Peter Kietzmann
e8e9619f01 Merge pull request #5501 from Yonezawa-T2/gnrc_sixlowpan_iphc_propagate_error
gnrc_sixlowpan_iphc: propagate UDP decode error
2016-06-03 10:07:06 +02:00
Peter Kietzmann
c6e18a91d0 Merge pull request #5500 from Yonezawa-T2/gnrc_sixlowpan_iphc_debug_format
gnrc_sixlowpan_iphc: fix compile error for debug output
2016-06-03 09:46:58 +02:00
Yonezawa-T2
ba4b099d93 gnrc_sixlowpan_iphc: propagate UDP decode error 2016-06-03 11:35:22 +09:00
Yonezawa-T2
a6c14dadb3 gnrc_sixlowpan_iphc: fix compile error for debug output 2016-06-03 11:33:08 +09:00
7718f114cb all: remove pointer casts for msg.content.ptr 2016-06-02 23:13:42 +02:00
Martine Lenders
35077bb224 Merge pull request #4871 from kaspar030/remove_netdev2_isr_arg
drivers: netdev2: remove netdev2 event_callback isr_arg
2016-06-02 13:30:30 +02:00
Martine Lenders
9b1ad7820c Merge pull request #5491 from MohmadAyman/isr_stack_usage
cpu: add capability to show stack usage of ISR
2016-06-02 12:31:06 +02:00
aee6a6ad60 Merge pull request #5307 from kaspar030/add_fmt_types
sys: fmt: add fmt_u64_dec(), print_u64_dec()
2016-06-02 11:12:40 +02:00
3ad195963d drivers: netdev2: rename isr_arg 2016-06-02 11:11:40 +02:00
d7b17684e4 drivers: net: adapt to removed event_callback argument 2016-06-02 11:11:40 +02:00
5923f6b137 sys: fmt: add fmt_u64_dec() 2016-06-02 10:40:19 +02:00
MohmadAyman
8da1eb9f7a ps: provide ISR stackusage information 2016-06-02 09:48:37 +02:00
Oleg Hahm
cc0e8d5b36 Merge pull request #5474 from aabadie/iotlab_no_shell
sys/shell: fix build issue when deactivating shell echo (iotlab)
2016-06-01 23:01:34 +02:00
Joakim Nohlgård
92370e846d sys/cpp11-compat: Add braces around mutex initializer
Fixes Clang warning/error:

    In file included from .../riot/sys/cpp11-compat/thread.cpp:26:
    In file included from .../riot/sys/cpp11-compat/include/riot/thread.hpp:39:
    .../riot/sys/cpp11-compat/include/riot/mutex.hpp:47:45: error:
     suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
      inline constexpr mutex() noexcept : m_mtx{0} {}
                                                ^
                                                {}
    1 error generated.
2016-06-01 16:21:18 +02:00
Cenk Gündoğan
4a70299d6a Merge pull request #5300 from cgundogan/pr/gnrc_rpl/without_validation
gnrc_rpl: validation configurable on compile-time
2016-06-01 14:10:55 +02:00
4a595d7b19 drivers/bmp180: add saul adaptation 2016-06-01 11:15:01 +02:00
Cenk Gündoğan
0613c8faf4 gnrc_rpl: validation configurable on compile-time 2016-06-01 09:07:55 +02:00
Cenk Gündoğan
25baea1e50 gnrc_rpl: separate validation from msg handling 2016-06-01 09:05:24 +02:00
Cenk Gündoğan
2f9a37a624 gnrc_rpl: move len macros to header file 2016-06-01 09:05:24 +02:00
Cenk Gündoğan
a10151d5f0 Merge pull request #5440 from cgundogan/pr/auto_init/rpl
auto_init: initialize gnrc_rpl
2016-06-01 07:59:41 +02:00
Aaron Sowry
63a87fb639 Implement NETOPT_ACK_REQ configuration option.
Allows setting the acknowledgement request bit of 802.15.14
headers via netdev.
2016-06-01 10:11:28 +12:00
Peter Kietzmann
a81a7cea44 Merge pull request #5482 from brummer-simon/random-init-by-seed
Added random_init_by_array(uint32_t init_key[], int key_length) ...
2016-06-01 00:02:38 +02:00
Oleg Hahm
5ed98da18a Merge pull request #5324 from cgundogan/pr/trickle/enhance
trickle: uses random.h and includes some enhancements
2016-05-31 23:36:35 +02:00
Oleg Hahm
d1d1c4ee6d Merge pull request #5377 from miri64/shell/fix/icmpv6-cmd-cast
shell: commands: ping6: fix operator order for casting
2016-05-31 22:56:37 +02:00
Cenk Gündoğan
e33011248f gnrc_rpl: doc: add note about auto-initialization 2016-05-31 22:13:32 +02:00
Cenk Gündoğan
1b4607ab43 auto_init: initialize gnrc_rpl 2016-05-31 22:13:32 +02:00
Simon Brummer
5e20cd9b67 Added random_init_by_array to tinymt32 wrapper 2016-05-31 20:12:24 +02:00
Cenk Gündoğan
6ee680d1f2 Merge pull request #5478 from cgundogan/pr/rpl_p2p/fix
rpl_p2p: rm non-existing fib flag
2016-05-31 19:58:19 +02:00
chrysn
e348a8df80 PS: Display waiting for flags
This adds support for the recently introduced thread flags mechanism to
the `ps` module; while previously it would show a thread in state
"(null)" when it is blocked on thread_flags_wait_any or
thread_flags_wait_all, it now shoes the state "bl anyfl" or "bl allfl",
respectively. The labels are kept that short to not mess with the
fixed-width layout.
2016-05-31 18:27:14 +02:00
Martine Lenders
a3a02a09be shell: commands: ping6: fix operator order for casting 2016-05-31 18:04:19 +02:00
Cenk Gündoğan
5c42d430ec rpl_p2p: rm non-existing fib flag 2016-05-31 11:03:19 +02:00
0c4b760f11 sys/shell: fix build issue when deactivating shell echo (iotlab) 2016-05-29 14:21:11 +02:00
Oleg Hahm
16daabbcfb Merge pull request #5418 from OlegHahm/tlsf_stats
pkg tlsf: statistics
2016-05-27 14:06:15 +02:00
Oleg Hahm
1777409472 ps: add heap statistics for TLSF (if enabled) 2016-05-27 13:48:06 +02:00
fdf12d01b3 sys/shell: adding definition for deactiving prompt and/or echo in shell 2016-05-26 09:36:23 +02:00
Oleg Hahm
b3a4a0f542 Merge pull request #5178 from OlegHahm/netstats_l3
net: introduce IPv6 netstats
2016-05-25 15:12:46 +02:00
Oleg Hahm
6707c20b7d netstats: initial import of IPv6 netstats 2016-05-25 14:44:53 +02:00
Oleg Hahm
ad5ad76db2 Merge pull request #5430 from mtausig/hash_interface
Unified interface of hashing functions
2016-05-24 17:12:25 +02:00
Mathias Tausig
ca5564f643 Cleanup: Corrected code style with uncrustify 2016-05-24 16:57:06 +02:00
Mathias Tausig
b30945a2f8 hashes: Cleanup (removed unneccesary increment operator) 2016-05-24 16:57:06 +02:00
Mathias Tausig
dfee5c3274 hashes: Unified the cryptographic hash functions
- Same signatures for XXX_init, XXX_update and XXX_final
- Same naming conventions and parameter types for all funtions in sha1.h
2016-05-24 16:52:30 +02:00
Andreas "Paul" Pauli
c805853c34 Merge pull request #5376 from OlegHahm/doxy_fixes
doc: document THREAD_STACKSIZE correctly and fix PRNG documentation
2016-05-18 15:00:10 +02:00
Cenk Gündoğan
4303847333 trickle: use random_uint32_range 2016-05-18 08:11:36 +02:00
Cenk Gündoğan
218ec47426 Merge pull request #5447 from cgundogan/pr/ndp/check_null
gnrc_ndp: check nc_entry before using it
2016-05-18 07:30:21 +02:00
Oleg Hahm
00ebb4b2ed gnrc: netapi: assert for correct ACK msg type 2016-05-17 22:33:49 +02:00
Cenk Gündoğan
1791ef5581 gnrc_ndp: check nc_entry before using it 2016-05-17 09:52:16 +02:00
Ian Martin
31c6bcc4d8 xtimer: return after xtimer_spin() when within an ISR 2016-05-10 13:30:40 -04:00
Martine Lenders
4a13324abb Merge pull request #5281 from authmillenon/gnrc_ipv6/fix/ext-fix-with-nhc
gnrc_ipv6: fix asserts for NHC
2016-04-27 08:39:39 +02:00
Oleg Hahm
b5bec6a58b doc: xtimer: be a bit more precise 2016-04-26 13:55:54 +02:00
Martine Lenders
b8787b64c4 Merge pull request #5267 from cgundogan/pr/gnrc_rpl/reduce_scope_now
gnrc_rpl: reduce scope of now
2016-04-22 18:23:37 +02:00
Martine Lenders
bf135c4750 Merge pull request #5362 from cgundogan/pr/gnrc_ipv6/remove_unnecessary_check
gnrc_ipv6: remove superfluous check for if_entry
2016-04-22 18:18:43 +02:00
Martine Lenders
82a3aae8be gnrc_ipv6: fix asserts for NHC 2016-04-22 10:11:38 +02:00
Yonezawa-T2
3e70191aee Merge pull request #2842 from FrancescoErmini/drivers_xbee_encryption
drivers/xbee: add optional AES encryption support
2016-04-21 10:26:06 +09:00
Oleg Hahm
f6e9a789ed random: doc: document generic PRNG interface
The header was still referring to the Mersenne Twister only
2016-04-20 18:47:04 +02:00
Francesco Ermini
9fa4684203 drivers/xbee: encryption support
add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

modify drivers/xbee/xbee.c

fix white spaces on xbee.c

Update xbee encryption driver

white line at end xbee.h

fix error

fix sc_netif.c

fix rebase master interactive

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

modify drivers/xbee/xbee.c

fix white spaces on xbee.c

Update xbee encryption driver

white line at end xbee.h

fix error

fix rebase  conflict 4

fix same missing in patches changes

fix ascii to hex index parser

fix syntax rules

fix syntax issue 2

add _netopt_strmap NETOPT_ENCRYPTION e NETOPT_ENCRYPTION_KEY

fix trailng white spaces
2016-04-20 17:43:09 +02:00
Martine Lenders
452fc917c6 Merge pull request #5352 from authmillenon/gnrc_netdev/doc/add-deprecation
gnrc_netdev: add deprecation note
2016-04-20 15:11:25 +02:00
kYc0o
d071b2a23d Merge pull request #5309 from authmillenon/gnrc_ndp/fix/gua-hack
gnrc_ndp: don't let addresses timeout
2016-04-20 14:36:51 +02:00
Hauke Petersen
4ace70199e Merge pull request #5326 from authmillenon/gnrc_ipv6/fix/revert5179
gnrc_ipv6: Revert #5179
2016-04-20 14:34:07 +02:00
Martine Lenders
6dbb51553b gnrc_netdev: add deprecation note 2016-04-20 14:00:58 +02:00
Martine Lenders
8968b7602f gnrc_ndp: don't let addresses timeout
This is a temporary quick-fix for #5122 to not have GUAs removed on an
interface.
It solves the issue by both not letting the registration run out on the router
and by not letting the lifetime of an auto-configured address expire.
2016-04-20 13:31:53 +02:00
Cenk Gündoğan
66507c8cfe gnrc_ipv6: remove superfluous check for if_entry 2016-04-20 09:41:45 +02:00
Martine Lenders
84a9ddb2db gnrc_sixlowpan_iphc: fix comparison signage 2016-04-20 06:55:24 +02:00
Oleg Hahm
5d65d59b34 Merge pull request #5232 from gebart/pr/jfischer-nhc-fix
gnrc_sixlowpan_iphc.c: handle forwarded GNRC_NETTYPE_IPV6 packet
2016-04-19 14:09:11 +02:00
Cenk Gündoğan
7b8e2d5231 Merge pull request #5330 from authmillenon/gnrc_rpl/fix/non-stack-ll
gnrc_rpl: use non-stack variable for link-local matching
2016-04-18 23:13:54 +02:00
Ian Martin
963f8a495d sys/xtimer: eliminate XTIMER_SHIFT_ON_COMPARE 2016-04-18 12:06:20 -04:00
Martine Lenders
f86bf8c9cd gnrc_rpl: use non-stack variable for link-local matching 2016-04-18 17:14:27 +02:00
Martine Lenders
f90b607180 Merge pull request #5320 from cgundogan/pr/shell/icmpv6_without_nc
shell: icmpv6_echo: guard call to *_nc_still_reachable
2016-04-17 16:32:19 +02:00
Oleg Hahm
8690a888f5 Merge pull request #5295 from OlegHahm/msg_init_queue_assert
core: assert correct msq queue size on creation
2016-04-17 14:49:54 +02:00
Martine Lenders
85dfed3249 Merge pull request #5283 from kaspar030/make_msg_use_list
core: msg: use new list instead of priority_queue
2016-04-17 14:48:50 +02:00
Martine Lenders
d64b922db0 Revert "gnrc ipv6: replace check by assert"
This reverts commit 856e1ee0d2.
2016-04-17 14:06:54 +02:00
Martine Lenders
9789eb249e Revert "doc: mandatory netif snip for gnrc_ipv6 receive()"
This reverts commit f15e038efe.
2016-04-17 14:06:41 +02:00
Oleg Hahm
bb35913840 core: assert correct msq queue size on creation
The return value was never checked. Hence, this runtime check was rather
pointless. Better assert the correct size during development.
2016-04-17 13:55:21 +02:00
Cenk Gündoğan
1e6b2bcd5d trickle: uses random.h and includes some enhancements 2016-04-15 15:30:28 +02:00
Hauke Petersen
190c144ac6 sys/saul_reg: fixed return value for rm() 2016-04-15 15:06:25 +02:00
Cenk Gündoğan
2d8c3b47df shell: icmpv6_echo: guard call to *_nc_still_reachable 2016-04-14 22:05:23 +02:00
592558ff33 sys: net: gnrc: fix IS_WIRED netopt call 2016-04-13 15:22:36 +02:00
Hauke Petersen
5fe57b4659 Merge pull request #4725 from kaspar030/ethos_br_hack
simplified border router setup
2016-04-12 17:39:07 +02:00
DipSwitch
21edec412a posix: Remove _t from struct names 2016-04-11 21:46:54 +02:00
DipSwitch
af96279c40 gnrc/nhdp: Remove _t from struct names 2016-04-11 21:46:54 +02:00
DipSwitch
4275e18c08 doc: Fix minior doxygen errors in fib 2016-04-11 21:46:53 +02:00
DipSwitch
54413ece9f fib: Remove _t from struct names 2016-04-11 21:46:53 +02:00
DipSwitch
7714133f7d universal_address: Remove _t from struct names 2016-04-11 21:46:53 +02:00
DipSwitch
cd04690070 saul: Remove _t from struct names 2016-04-11 21:46:53 +02:00
edb5f08e5f sys: net: gnrc_uhcpc: use IS_WIRED for border interface, fix log prefix 2016-04-11 17:03:28 +02:00
8f2e1d2a3f sys: net: gnrc: uhcp: consider non-ethernet device as wireless 2016-04-11 17:03:28 +02:00
228d642abe sys: net: gnrc: uhcpc: only start if multiple interfaces found 2016-04-11 17:03:28 +02:00
376b5646ea sys: net: gnrc: uhcpc: fix pedantic errors 2016-04-11 17:03:28 +02:00
4fb07a852d sys: net: add UHCP protocol code and gnrc client implementation 2016-04-11 17:03:28 +02:00
Hauke Petersen
7c02c616bd Merge pull request #4863 from gebart/pr/saul-adc
SAUL: Add periph/adc support
2016-04-11 13:13:25 +02:00
Cenk Gündoğan
c0790aaa52 gnrc_sixlowpan_ctx: use correct member for ctx id in debug 2016-04-11 01:26:18 +02:00
kYc0o
82696da9f1 Merge pull request #5191 from malosek/inet_csum_16bit_fix
sys: net: crosslayer: fixed inet csum for 16bit platforms
2016-04-10 18:00:09 +02:00
kYc0o
6df58ac767 gnrc: use correct l2addr print len 2016-04-10 16:31:38 +02:00
3f021d4db6 sys: cpp11-compat: add missing priority_queue.h include 2016-04-10 02:32:46 +02:00
Martine Lenders
627b80e4c3 netopt: fix typo in documentation 2016-04-09 13:25:36 +02:00
Cenk Gündoğan
8a07982645 seq: bitwise and instead of mod 2016-04-08 23:53:46 +02:00
Cenk Gündoğan
6f9d3a15ac gnrc_rpl: reduce scope of now 2016-04-08 19:55:07 +02:00
Joakim Nohlgård
50b48c28eb sys/saul: Add analog inputs to SAUL via periph/adc 2016-04-08 10:18:12 +02:00
Joakim Nohlgård
bc5ededbbe sys/newlib: Update _read_r and _write_r to match newlib prototypes in reent.h 2016-04-06 07:46:19 +02:00
Oleg Hahm
a59e100d41 ieee802154: replace literals for lengths by macros 2016-04-04 15:24:47 +02:00
Lotte Steenbrink
5f6cc67c23 Merge pull request #5222 from BytesGalore/fib_use_universal_address_return_values
fib: use return constants for `universal_address_compare()`
2016-04-03 13:46:03 +01:00
BytesGalore
8589e8f5bc fib: removed obsolete check for default route match 2016-04-02 23:15:33 +02:00
BytesGalore
2bbd2d14d3 fib: use return constants for universal_address_compare() 2016-04-02 10:02:09 +02:00
Johann Fischer
f405891b68 gnrc_sixlowpan_iphc.c: handle forwarded GNRC_NETTYPE_IPV6 packet 2016-04-02 07:52:47 +02:00
Cenk Gündoğan
909c018b24 Merge pull request #5131 from jia200x/newlib_makefile_fix
Makefile: Newlib: Added pattern to NEWLIB_INCLUDE_PATTERN
2016-04-01 15:16:32 +02:00
José Ignacio Alamos Aste
36a7d2962d Makefile: Newlib: Added pattern to NEWLIB_INCLUDE_PATTERN 2016-04-01 14:55:28 +02:00
Martine Lenders
8ab89c473a Merge pull request #4713 from authmillenon/pkg/port/emb6
pkg: initial import of emb6 stack
2016-04-01 00:35:54 +02:00
Martine Lenders
0620028e90 xtimer: doc: document required initialization of target fields 2016-03-31 19:08:53 +02:00
kYc0o
ecf7b46155 Merge pull request #4443 from Yonezawa-T2/native_tty_uart
native: add UART driver based on /dev/tty
2016-03-31 12:50:13 +02:00
Joakim Nohlgård
be8cf8b7fb sys/newlib: Fix function definitions to match newlib prototypes 2016-03-31 10:32:51 +02:00
Yonezawa-T2
c4bc42419b netdev2_tap: continue reading even if no spaces left in pktbuf
On OS X, `netdev2_tap` suspends monitoring file descriptor until `_recv` is
called. If no spaces in left in pktbuf, `gnrc_netdev2_eth` does not call `_recv`
that results in deadlock.

With this commit, `gnrc_netdev2_eth` calls `_recv` with NULL buffer and non-zero
length parameter, that indicates the driver to drop frame and resume working.
2016-03-31 16:59:12 +09:00
Martine Lenders
0ab8aae529 emb6: add conn_udp wrapper 2016-03-30 18:56:02 +02:00
Martine Lenders
4dbc26fd4e Merge pull request #3551 from authmillenon/pkg/port/lwip
lwIP: Initial import
2016-03-30 18:22:10 +02:00
Martine Lenders
c5dc5b2d24 Merge pull request #5208 from kaspar030/fix_ethos_compile
drivers: ethos: fix compile errors
2016-03-30 17:37:52 +02:00
Martine Lenders
5431df6a7e lwip: initial import of conn_udp wrapper 2016-03-30 17:35:51 +02:00
Martine Lenders
410f44f07d lwip: initial import of conn_ip wrapper 2016-03-30 17:35:50 +02:00
036e7f248d drivers: ethos: fix compile errors 2016-03-30 17:09:58 +02:00
Peter Kietzmann
dcafbb8d0c Merge pull request #4835 from authmillenon/netdev2_test/feat/init
netdev2_test: initial import
2016-03-30 16:59:08 +02:00
Martine Lenders
97de8aa52b netdev2_test: initial import
Imports a generic framework to test and experiment with netdev2-based
modules.
2016-03-30 15:56:25 +02:00
Toon Stegen
eae002c957 sys/include: include stdint when using uint8_t 2016-03-30 15:34:25 +02:00
Peter Kietzmann
3fa8a267b3 Merge pull request #5155 from OlegHahm/diskio_cleanup
doc diskio: RIOTized style and added doxygen
2016-03-30 15:14:25 +02:00
Oleg Hahm
230e105599 Merge pull request #4738 from authmillenon/gnrc_ipv6/fix/accept-dst-for-all-if
gnrc_ipv6: accept packets for global dst at all interfaces
2016-03-30 15:05:35 +02:00
Martine Lenders
5532f92057 gnrc_ipv6: accept packets for global dst at all interfaces 2016-03-30 14:54:48 +02:00
Oleg Hahm
1f4d73dde1 Merge pull request #4801 from OlegHahm/netstats
netstats: introduce L2 netstats
2016-03-30 14:42:49 +02:00
Oleg Hahm
3dfedd3fc7 Merge pull request #5198 from Yonezawa-T2/fix_compile_auto_init_slip
auto_init_slip: fix comparison between signed and unsigned
2016-03-30 13:41:06 +02:00
Oleg Hahm
0925737e28 doc diskio: RIOTized style and added doxygen 2016-03-30 12:54:51 +02:00
Yonezawa-T2
266ed4a2c8 auto_init_slip: fix comparison between signed and unsigned 2016-03-30 19:08:43 +09:00
Cenk Gündoğan
9dbfdcac0b Merge pull request #4279 from BytesGalore/fib_prefix_handling_change
fib: changed handling of the net prefix by the FIB
2016-03-30 11:19:49 +02:00
BytesGalore
38d5fc2476 universal_address: replaced returned literals by defined constants
* added and adjusted doxy for the new defined return values
* stripped whitespaces for statements in the compare functions
2016-03-30 10:29:00 +02:00
BytesGalore
1bc9c3bfd2 fib: changed handling of the net prefix
Until now the prefix length has been determined automatically by the FIB
This PR changes it to be provided as msb(yte) in the global_flags of an entry
2016-03-30 10:05:05 +02:00
Yonezawa-T2
35cf255330 rpl: fix compile error in DEBUG 2016-03-30 14:16:06 +09:00
Martine Lenders
932bec50ed lwip: add port for RIOT 2016-03-30 00:10:38 +02:00
malo
06f0d4ea17 sys: net: crosslayer: fixed inet csum for 16bit platforms
Signed-off-by: malo <malo@25cmsquare.io>
2016-03-29 23:31:10 +02:00
Oleg Hahm
4d70c0d52b shell: introduce parameter to reset netstats 2016-03-29 22:34:09 +02:00
Oleg Hahm
021e94ee6a netdev2: introduce linklayer netstats 2016-03-29 22:34:09 +02:00
Oleg Hahm
a8f2d2df67 netstats: netapi_get and shell command 2016-03-29 22:29:58 +02:00
f626ee5969 Merge pull request #4557 from kaspar030/introduce_intrusive_singly_linked_list
core: mutex: several optimizations
2016-03-29 22:25:43 +02:00
3d9020eb46 sys: cpp11-compat: adapt to changed mutex implementation 2016-03-29 21:50:18 +02:00
c0f39bb55f sys: posix: pthread: fix mutex usage 2016-03-29 21:50:17 +02:00
Martine Lenders
6504671a33 Merge pull request #5179 from OlegHahm/ipv6_recv_assert_instead_check
gnrc ipv6: replace check by assert
2016-03-29 19:42:00 +02:00
Oleg Hahm
376874284b Merge pull request #3721 from cgundogan/pr/rpl/gnrc_rpl_p2p
rpl: introducing P2P-RPL
2016-03-29 19:04:27 +02:00
Oleg Hahm
f15e038efe doc: mandatory netif snip for gnrc_ipv6 receive() 2016-03-29 18:42:58 +02:00
Cenk Gündoğan
ed208c2da8 Merge pull request #4668 from haukepetersen/add_phydat_ffp
sys/phydat: dump function can handle fixed floating points
2016-03-29 15:51:00 +02:00
Hauke Petersen
2a4b7cbc91 sys/phydat: dump function can handle fixed floats 2016-03-29 15:23:04 +02:00
Hauke Petersen
95d26d3b94 sys/fmt: added format for fixed floating points 2016-03-29 15:23:04 +02:00
kYc0o
87175905da Merge pull request #5144 from Yonezawa-T2/fix_pointer_debug_output
debug: fix compilation error for %p formatter
2016-03-29 13:44:29 +02:00
Yonezawa-T2
1ce140d910 debug: fix compilation error for %p formatter 2016-03-29 11:46:29 +09:00
Oleg Hahm
48735dc22c auto_init: fix typo 2016-03-28 23:00:50 +02:00
Oleg Hahm
ccc7b38ada auto_init: fixup for #5185 2016-03-28 22:50:12 +02:00
Oleg Hahm
34d2940afb Merge pull request #5185 from OlegHahm/netdev_setup_params
netdev2: use params parameter for setup
2016-03-28 22:34:10 +02:00
Oleg Hahm
59674a679b netdev2: use params parameter for setup 2016-03-28 20:22:20 +02:00
Oleg Hahm
3ba99aabe4 xbee: fix naming inconsistency 2016-03-28 20:22:20 +02:00
Oleg Hahm
028c9d8029 Merge pull request #5139 from authmillenon/gnrc_ndp/fix/unset-isrouter-on-rtr-sol
gnrc_ndp: unset isRouter flag for neighbor sending RS
2016-03-28 19:29:33 +02:00
Martine Lenders
802136dd9a gnrc_ndp: unset isRouter flag for neighbor sending RS 2016-03-28 19:16:51 +02:00
Martine Lenders
6aacfa8a42 Merge pull request #5176 from OlegHahm/netstats_only
net: introduce netstats
2016-03-26 11:29:52 +01:00
Oleg Hahm
d6498162f2 netdev2: introduce netstats 2016-03-25 21:43:16 +01:00
Oleg Hahm
856e1ee0d2 gnrc ipv6: replace check by assert
The existence of netif is mandatory here.
2016-03-25 17:30:50 +01:00
Cenk Gündoğan
30217f8a7b Merge pull request #5040 from kYc0o/rid_of_vtimer
sys/compat/vtimer: get rid of
2016-03-25 14:35:35 +01:00
Oleg Hahm
9370e49375 Merge pull request #5142 from Yonezawa-T2/native_rename_enable_irq
native: fix build on OS X
2016-03-25 14:17:27 +01:00
Oleg Hahm
5db537fbab ccn-lite: add shell function to remove FIB entry 2016-03-24 18:48:08 +01:00
Oleg Hahm
d3ddbf3223 shell: adapt ccnl commands to changed API
Also removes some code duplication
2016-03-24 18:48:08 +01:00
Oleg Hahm
279de8ebe6 pkg ccn-lite: added CCN-Lite FIB shell command 2016-03-24 18:48:08 +01:00
Oleg Hahm
587a435a71 pkg ccn-lite: adapt to updated CCN-Lite version 2016-03-24 18:48:08 +01:00
Martine Lenders
9dcb5cc476 Merge pull request #5134 from OlegHahm/netif_default
make: introduce netdev_default pseudomodule
2016-03-24 18:23:49 +01:00
kYc0o
f92b025b85 vtimer: get rid of 2016-03-24 17:10:54 +01:00
Oleg Hahm
10f5f1aa33 make: introduce netif_default pseudomodule
Additionally the dependencies for GNRC specific modules are centralized in Makefile.dep.
2016-03-24 16:47:30 +01:00
Cenk Gündoğan
c7a29918ca Merge pull request #5169 from cgundogan/pr/gnrc_netif/DELETE_ALL_INTERFACES
gnrc_ipv6_netif: remove existing interfaces on INIT
2016-03-24 16:34:54 +01:00
Cenk Gündoğan
8bc65a9626 gnrc_ipv6_netif: remove existing interfaces on INIT 2016-03-24 16:10:51 +01:00
Hauke Petersen
2510fe03f5 Merge pull request #4646 from authmillenon/at86rf2xx/api/netdev2
at86rf2xx: port to netdev2
2016-03-24 15:03:15 +01:00