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

4206 Commits

Author SHA1 Message Date
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
Cenk Gündoğan
b8a6d0e500 doc: sock: fix broken markdown link 2016-12-27 13:53:25 +01:00
Martine Lenders
71f778aa65 tests: provide unittests for ucrc16 2016-12-27 00:58:11 +01:00
Martine Lenders
107bf0ae63 ucrc16: provide lightweight CRC16 implementation 2016-12-27 00:56:50 +01:00
smlng
18ec3105f2 cppcheck: fix warning in nhdp_address 2016-12-23 21:00:23 +01:00
smlng
3cc164d185 network: add initial iana header file 2016-12-23 20:35:33 +01:00
Sebastian Meiling
1fb2179b2f Merge pull request #6255 from smlng/pr/cppcheck/fix_saul_shellcmd
cppcheck: fix warning in sc_saul_reg
2016-12-22 15:07:22 +01:00
2121c6effd sys: posix: remove not needed strings.h 2016-12-22 12:25:31 +01:00
Oleg Hahm
c330732d66 Merge pull request #6251 from LudwigKnuepfer/pr/doxygen-hashpipe
doc: hashes and isrpipe doxygen fixes
2016-12-21 23:04:54 +01:00
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