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

558 Commits

Author SHA1 Message Date
Hauke Petersen
350cfc7a2b Merge pull request #3095 from haukepetersen/opt_gpio
drivers/gpio: changed periph driver interface
2015-06-15 13:57:03 +02:00
Hauke Petersen
55e0362814 drivers/xbee: use GPIO_UNDEF instead of GPIO_NUMOF 2015-06-14 16:12:47 +02:00
Hauke Petersen
4a4ee44abc drivers/gpio: added GPIO_UNDEF define 2015-06-14 16:12:20 +02:00
Jonas
404e7b1016 driver/kw2xrf: set HW-address according to CPUID; Correct broadcast handling 2015-06-13 22:30:04 +02:00
Hauke Petersen
2cc2d9f740 drivers: adjusted drivers to changed GPIO interface 2015-06-12 19:10:29 +02:00
Hauke Petersen
b49f11bed7 drivers/gpio: overhaul of the periph GPIO driver
- merged init_in and init_out
- renamed init_int to init_exti
- made datatypes overwritable
2015-06-12 19:09:32 +02:00
Hauke Petersen
6f2f716363 Merge pull request #3158 from authmillenon/xbee/enh/addr-len
xbee: make address length configurable
2015-06-12 14:34:21 +02:00
Martine Lenders
f4392f7661 xbee: make address length configurable
6LoWPAN-ND states [1] that the IPv6 address should be generated from the
EUI-64 of the interface, since it can be assumed as globally unique and
would not require duplicate address detection. Currently the xbee module is
not able to use any other address for short address with IPv6 since
NETCONF_OPT_SRC_LEN always returns 2. This patch fixes that.

[1] https://tools.ietf.org/html/rfc6775#section-5.2
2015-06-11 19:51:35 +02:00
Ludwig Ortmann
af5af90cba drivers/dht: add support for DHT21 2015-06-06 17:08:47 +02:00
Hauke Petersen
f5ec1926e6 Merge pull request #3106 from gebart/pr/servo-updates
drivers/servo: Add test program, handle inexact frequencies
2015-06-04 12:08:06 +02:00
haukepetersen
4a19e255d7 drivers/ng_at86rf: disable ack req on bcast/mcast 2015-06-02 23:07:03 +02:00
Peter Kietzmann
6dc0e789e1 Merge pull request #3101 from gebart/pr/warning-fixes
Various warning fixes
2015-05-31 17:03:49 +02:00
Johann F
d317ea2d3a drivers/hdc1000: fix hdc1000_startmeasure function
Change i2c_write_bytes to i2c_write_byte because it was
seriously wrong at this point.
2015-05-30 20:18:34 +02:00
Joakim Gebart
3ede02683c drivers/servo: Handle inexact frequencies from periph_pwm 2015-05-30 12:41:07 +02:00
Joakim Gebart
1c855cb230 drivers/at86rf231: fix unused-parameter 2015-05-29 14:23:01 +02:00
Peter Kietzmann
c839e65479 Merge pull request #3025 from OlegHahm/netconf_retransmit
netconf: at86rf231: configure maximum retransmits
2015-05-29 10:10:56 +02:00
Ludwig Ortmann
4a05f47bcf drivers/dht: initial import
Unified driver for DHT11 and DHT22.
2015-05-29 06:24:18 +02:00
Hauke Petersen
9943f51080 global: renamed cpu-conf.h into cpu_conf.h 2015-05-28 15:45:05 +02:00
Oleg Hahm
76e4c820e5 ng_netconf: ng_at86rf2xx: set retransmissions
Introduces a netconf option to configure the maximum amount of
retransmissions and implements this for the at86rf2xx radios.
2015-05-28 13:35:36 +02:00
Martine Lenders
e28a64f282 ng_at86rf2xx: add NETCONF_OPT_PROTO to _get 2015-05-26 15:25:37 +02:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
Oleg Hahm
9739acaf1b Merge pull request #3032 from OlegHahm/at86rf_reset_delay
ng_at86rf2xx: set reset delay properly
2015-05-21 23:08:28 +02:00
Lucas Jenss
426170b064 Improve naming of thread stacksize/priority constants
As discussed in #2725, this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:

* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
Johann Fischer
b0e73b9a8c Merge pull request #2983 from jfischer-phytec-iot/pr@kw2x-rf-autoinit
boards/pba-d-01-kw2x: add network interface auto init
2015-05-20 10:00:23 +02:00
Oleg Hahm
961d302d72 ng_at86rf2xx: set reset delay properly 2015-05-19 15:08:44 +02:00
Hauke Petersen
354e5db5a8 Merge pull request #2963 from OlegHahm/fix_2962
at86rf2xx: fix EUI64 computation
2015-05-19 10:59:34 +02:00
Oleg Hahm
6e6f1792af Merge pull request #2586 from OlegHahm/remove_obsolete_cc110x_rpl_warning
cc110x: remove warning about the transceiver mode
2015-05-19 01:34:54 +02:00
Oleg Hahm
cfc3bf5f70 ng_at86rf2xx: replace printf with DEBUG 2015-05-18 21:21:57 +02:00
Jonas
9b66477180 adapted new auto-init process to kw2xrf driver
added kw2xrf to auto-init
2015-05-18 17:12:44 +02:00
Peter Kietzmann
b3e78ddc33 Merge pull request #3016 from gebart/pr/tab-indentation
Inconsistent indentation in some files
2015-05-18 15:45:15 +02:00
Oleg Hahm
67042901bc xbee: remove superfluous includes 2015-05-18 15:30:25 +02:00
Oleg Hahm
92f4dec8da xbee: use last 2 octets of EUI64 for short address
Dependency two CPUID and hard coded default short address are
superfluous now.
2015-05-18 15:30:25 +02:00
Oleg Hahm
c45eaf62de ng_at86rf2xx: compute unique EUI64 from CPUID
The EUI64 for the at86rfxx is computed from the full CPUID by using
sliding xor.
2015-05-18 15:30:25 +02:00
895b629630 Merge pull request #2901 from kaspar030/fix_auto_init_netif
network: make auto_init_ng_netif less board-dependant
2015-05-18 13:09:55 +02:00
Oleg Hahm
5a5f9df898 cc110x: remove warning about the transceiver mode
* RPL is currently working with both transceiver modes (wake on radio
  _and_ constant RX)
2015-05-18 11:41:27 +02:00
Hauke Petersen
fc52bfa164 Merge pull request #3014 from gebart/pr/ng_at86rf2xx-array-bounds
drivers/ng_at86rf2xx: correct array bounds on tx_pow_to_dbm
2015-05-18 10:35:14 +02:00
Hauke Petersen
7926d921df Merge pull request #2973 from bapclenet/at86rf2xx/212b
at86rf2xx/915MHz fix
2015-05-18 10:13:52 +02:00
Joakim Gebart
0ae1a3d7e5 drivers/nrf24l01p: Replace tabs by spaces 2015-05-18 07:10:53 +02:00
Joakim Gebart
83065236ec drivers/mag3110: Replace tabs by spaces 2015-05-18 07:10:52 +02:00
Joakim Gebart
9597cfd946 drivers/cc110x: Replace tabs by spaces 2015-05-18 07:10:52 +02:00
Joakim Gebart
5dbeef5a95 drivers/ng_at86rf2xx: correct array bounds on tx_pow_to_dbm
There are only 37 entries in the array in the C file as well as in the
table in the data sheet.

Fixes the following cppcheck error:

    drivers/ng_at86rf2xx/ng_at86rf2xx_getset.c:49: error (arrayIndexOutOfBounds): Array 'dbm_to_tx_pow_868[37]' accessed at index 37, which is out of bounds.
2015-05-18 06:15:10 +02:00
a89b382297 drivers: xbee: adapt to new auto_init_ng_netif scheme 2015-05-17 21:02:00 +02:00
3c00ff0c9b drivers: adapt ng_at86rf2xx to new auto_init_ng_netif scheme 2015-05-17 21:02:00 +02:00
Oleg Hahm
287aa4cdbf Merge pull request #2992 from gebart/pr/pwm-return-value
periph_pwm: Return actual frequency (like the docs say)
2015-05-17 13:06:08 +02:00
Ludwig Ortmann
fe4391b179 drivers/isl29125: fix group description 2015-05-16 13:56:16 +02:00
Joakim Gebart
92a743560d drivers/periph/pwm: Update return value doxygen to match long description 2015-05-16 10:00:03 +02:00
Oleg Hahm
4d64b98f2c Merge pull request #2756 from jremmert-phytec-iot/pr@ng_kw2xrf
driver/kw2xrf: added ng_netdev implementation for the Freescale kw2x radio
2015-05-14 12:51:00 +02:00
bapclenet
dd8cc82da0 at86rf2xx/915MHz fix 2015-05-14 09:24:47 +02:00
Jonas
3287e71d45 Initial import of tests for kw2x radio
squash: driver: fixed typo to pass doccheck

squash: driver: bug fixes after test

squash: adapted Makefiles for correct build behaviour

restructured, no spi interaction in isr anymore

major bugfixes and restructurization

comments addressed

introduce new netconf option, ..AUTOCCA

squash: minor bugfix and add auto-init mechanism

squash: minor fixes to make travis happy
2015-05-13 13:06:59 +02:00
Jonas
49f09477af Initial commit of ng_kw2xrf radio driver
squash: removed tab indent
2015-05-13 11:21:14 +02:00