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

581 Commits

Author SHA1 Message Date
Martine Lenders
93151bcf45 ng_at86rf2xx: don't ifdef type definitions 2015-07-31 00:08:03 +02:00
Hauke Petersen
360d90d0b1 driver/ng_at86rfxxx: fixed formatting in header 2015-07-30 15:02:03 +02:00
Oleg Hahm
03b7c7349a Merge pull request #3457 from authmillenon/gnrc/api/rename-netconf
gnrc: rename ng_netconf to ng_netopt
2015-07-28 18:21:09 +02:00
Martine Lenders
6f56b983f0 gnrc: replace all instances of ng_netconf with ng_netopt 2015-07-28 13:33:12 +02:00
Martine Lenders
89c776ce26 ng_at86rf2xx: substract maximum MAC header length for MTU getter 2015-07-22 20:27:08 +02:00
Thomas Eichinger
d10631adec Merge pull request #3434 from gebart/pr/ng_at86rf2xx-fixes-1
ng_at86rf2xx: Clean up state transitions and netdev implementation
2015-07-22 17:55:58 +02:00
Joakim Gebart
93da3ce47a drivers/ng_at86rf2xx: Go to idle state before calling TX_COMPLETE event handler 2015-07-20 19:01:53 +02:00
Joakim Gebart
0fcb514644 drivers/ng_at86rf2xx: Prevent stuck in TX_ARET_ON when doing multiple back-to-back transmissions 2015-07-20 19:01:53 +02:00
Joakim Gebart
c978c51da2 drivers/ng_at86rf2xx: Refactor set_freq implementation for 212B
Uses BPSK-40 for all frequencies.
2015-07-20 19:01:53 +02:00
Joakim Gebart
95a9bd9060 drivers/ng_at86rf2xx: Initialize idle_state variable on driver init 2015-07-20 19:01:53 +02:00
Joakim Gebart
234f54be65 drivers/ng_at86rf2xx: Print DEBUG message after switching to idle state
Reduce time spend idling in TX mode when debugging.
2015-07-20 19:01:53 +02:00
Joakim Gebart
26adc42ee6 drivers/ng_at86rf2xx: Replace some magic numbers in netdev
Set frame version to v1 (2006, 2011)
2015-07-20 19:01:53 +02:00
Joakim Gebart
0e1f8f1efe drivers/ng_at86rf2xx: Clean up state transition code.
- Force TRX_OFF before SLEEP
 - Add function to reset the state machine
 - Reset state machine after hardware reset during initialization
 - Get rid of redundant at86rf2xx_get_state
2015-07-20 19:01:53 +02:00
Joakim Gebart
9781ea99cc drivers/hih6310: Initial commit of HIH6310 driver
Honeywell HumidIcon Digital Humidity/Temperature Sensors: HIH-6130/6131 Series

Only basic humidity and temperature measurement support is implemented.

Missing:
 - Alarm interrupts
 - Command mode (reconfigure i2c address, alarm levels, alarm polarity, custom ID)
2015-07-20 18:41:14 +02:00
Thomas Eichinger
c72f37a30b Merge pull request #3174 from daniel-k/periph_rtt_conv
periph/rtt: add macros for time to tick conversion
2015-07-18 17:55:07 +02:00
Joakim Gebart
9292373720 at86rf231: Set AT86RF231_MIN_CHANNEL to 0 to support AT86RF212B 2015-07-14 20:23:14 +02:00
Joakim Gebart
b10e33dfc0 drivers/adt7310: Add ADT7310 temperature sensor driver
This is a driver for Analog Devices ADT7310 +/-0.5°C Accurate, 16-Bit
Digital SPI Temperature Sensor.

Only basic reading is supported. Interrupt and compare are not
implemented yet.

See: http://www.analog.com/en/products/analog-to-digital-converters/integrated-special-purpose-converters/integrated-temperature-sensors/adt7310.html
2015-07-09 23:39:32 +02:00
Joakim Gebart
c9bdbd1a74 lis3dh: Refactor, add INT1 handling, improve FIFO mode 2015-07-07 12:03:28 +02:00
daniel-k
bf40103a26 at86rf2xx: don't populate disabled interrupt flags to IRQ_STATUS 2015-07-01 17:16:30 +02:00
Martine Lenders
3238ccd47e Merge pull request #3159 from authmillenon/ng_net/feat/iid
ng_net: add IID option and simplify upper layers accordingly
2015-07-01 12:47:49 +02:00
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
Martine Lenders
5ac2c61236 xbee: add NETCONF_OPT_IPV6_IID handler 2015-06-15 12:32:14 +02:00
Martine Lenders
d9ed439f03 ng_at86rf2xx: add NETCONF_OPT_IPV6_IID handler 2015-06-15 12:32:14 +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
daniel-k
80c13d109b periph/rtt: add macros for time to tick conversion 2015-06-08 17:19:20 +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