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

349 Commits

Author SHA1 Message Date
Martine Lenders
0aef65bd76 Merge pull request #3559 from OlegHahm/channel_26_as_default
ieee802.15.4: switch to 26 as default channel
2015-08-05 15:51:57 +02:00
Oleg Hahm
761183bfd7 ieee802.15.4: switch to 26 as default channel
In order to avoid collisions with IEEE 802.11b networks, channel 25 or
26 is the best choice.

See for instance https://www.cs.umd.edu/~ctas/bibs/2007/4.pdf
2015-08-04 18:02:27 +02:00
Joakim Gebart
abc0a3f97f drivers/include/periph/timer.h: add dev_enums.h include until all platforms have been updated 2015-08-03 22:52:22 +02:00
Hauke Petersen
b21e21e6e1 drivers/periph: updated the timer interface a bit
- fixed some formatting to comments fit 80 char page width
- made tim_t overridable by the CPU
- defined TIMER_DEV() and TIMER_UNDEF macros
2015-08-03 13:56:16 +02:00
Cenk Gündoğan
4638a57e38 ng_at86rf2xx: use doxygen todo 2015-08-03 11:00:21 +02:00
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
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
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
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
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
Joakim Gebart
3ede02683c drivers/servo: Handle inexact frequencies from periph_pwm 2015-05-30 12:41:07 +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
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +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
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
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
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
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
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
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
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
Ludwig Ortmann
be8d62a967 drivers/isl29125: beautify indentation 2015-05-12 07:25:54 +02:00
Ludwig Ortmann
0db92da19d drivers/isl29125: initial import 2015-05-12 07:23:41 +02:00
Joakim Gebart
b64ca89dc4 netdev: doxygen: documentation fix for NETDEV_DEFAULT 2015-05-10 09:56:19 +02:00
Joakim Gebart
dba0c94cc2 netdev: Doxygen add missing @defgroup netdev_802154 2015-05-10 09:42:08 +02:00
Oleg Hahm
e9145fb911 Merge pull request #2939 from gebart/pr/whitespace-fixes1
Whitespace fixes
2015-05-09 23:46:31 +02:00
bapclenet
3bce17b3e4 at86rf2xx/tx_pwr for 212B and 233 2015-05-09 13:30:52 +02:00
Joakim Gebart
453efc8ea1 drivers/include/hdc1000.h: Unix line endings 2015-05-09 09:02:57 +02:00
bapclenet
e33437958b at86rf2xx/212b_frequency - adapt 868MHz and 915MHz frequency 2015-05-08 12:46:56 +02:00
Joakim Gebart
db9d3ddf48 nvram: Add generic SPI connected NVRAM interface. 2015-05-04 10:39:42 +02:00
Joakim Gebart
a982af330c drivers: Add API for NVRAM devices with byte level erase. 2015-05-04 10:39:32 +02:00
Ludwig Ortmann
8ba166df6d drivers/isl29020: fix some spelling errors 2015-05-02 08:33:15 +02:00
Hauke Petersen
3778fb3dde drivers: added driver for PCD8544 LCD display 2015-04-30 13:46:03 +02:00
Hauke Petersen
fefac35c1c drivers: new driver for at86rf2xx family radios 2015-04-27 18:56:59 +02:00
Hauke Petersen
ab7f1dc2cd drivers/xbee: changed default for channel & panID 2015-04-20 18:12:40 +02:00
Hauke Petersen
bf4733fd88 drivers/periph/spi: added missing stdint.h include 2015-04-16 18:09:32 +02:00
PeterKietzmann
9e17d1b9fd doc/drivers/srf: edit author and copyright 2015-04-13 13:07:56 +02:00
altairpearl
b47cc8d93d drivers : Update include guards to remove leading underscores 2015-03-30 20:00:28 +05:30
Hauke Petersen
8a20f2f401 drivers: added support for Xbee modules 2015-03-24 23:19:29 +01:00
Oleg Hahm
985a6525cc Merge pull request #2690 from Darredevil/patch-13
Repair header file include guards for /drivers
2015-03-24 11:04:18 -05:00
Alexandru Caciulescu
57dd7d35a1 drivers/include/servo: Repair header file include guards 2015-03-24 17:55:43 +02:00
Alexandru Caciulescu
d31f9cbb1b drivers/include/rgbled: Repair header file include guards 2015-03-24 17:55:42 +02:00
Alexandru Caciulescu
2c5164004c drivers/include/pir: Repair header file include guards 2015-03-24 17:55:42 +02:00
Alexandru Caciulescu
451bf78549 drivers/include/periph: Repair header file include guards 2015-03-24 17:55:42 +02:00
Alexandru Caciulescu
2b88c861c9 drivers/include/nrf24l01: Repair header file include guards 2015-03-24 17:55:41 +02:00
Alexandru Caciulescu
78618961f0 drivers/include/mq3: Repair header file include guards 2015-03-24 17:55:41 +02:00
Alexandru Caciulescu
ebaf61cc94 drivers/include/ltc4150: Repair header file include guards 2015-03-24 17:55:41 +02:00
Alexandru Caciulescu
7d68efcc38 drivers/include/lsm303dlhc: Repair header file include guards 2015-03-24 17:55:40 +02:00
Alexandru Caciulescu
81787154d0 drivers/include/lps331ap: Repair header file include guards 2015-03-24 17:55:40 +02:00
Alexandru Caciulescu
3d39c855c6 drivers/include/netdev: Repair header file include guards 2015-03-24 17:55:40 +02:00
Alexandru Caciulescu
a25a4d4fe5 drivers/include/cc110x_legacy: Repair header file include guards 2015-03-24 17:55:39 +02:00
Joakim Gebart
5ea9eaf386 drivers/ina220: Add driver for INA220 current and power sensor. 2015-03-19 17:22:22 +01:00
Ludwig Ortmann
cec87139a5 core, cpu, drivers, tests: remove trailing space 2015-02-18 13:52:48 +01:00
Fabian Nack
ae4616c5d8 drivers: Added MPU-9150 9-Axis motion sensor driver 2015-02-13 10:08:38 +01:00
Martine Lenders
0eb2d78dda doc: use my real name 2015-02-08 18:52:16 +01:00
Johann Fischer
b540def4b1 drivers/hdc1000: Acquire exclusive access to I2C bus and minor bug fixes
fix doxygen warnings
 change default address
2015-01-28 10:26:02 +01:00
Hauke Petersen
19738bc61d Merge pull request #2338 from gebart/pr/spi-cpol-cpha-docs
periph/spi: Update clock polarity and phase documentation for clarity.
2015-01-22 14:17:48 +01:00
Joakim Gebart
cc7acaaef0 periph/spi: Update clock polarity and phase documentation for clarity.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-22 09:03:44 +01:00
Ludwig Ortmann
42659dfa4f Merge pull request #2335 from thomaseichinger/deprecate_radio_driver
drivers/radio_driver: mark as deprecated
2015-01-21 14:20:28 +01:00
Thomas Eichinger
3f3e70b7a0 drivers/radio_driver: mark as deprecated 2015-01-21 13:10:19 +01:00
Peter Kietzmann
647d0aef5f Merge pull request #2330 from PeterKietzmann/fix_nrf24l01p_driver
drivers/nrf24l01p: fixes
2015-01-21 12:10:01 +01:00
PeterKietzmann
e56b821774 drivers/nrf24l01p: change API and fix initial setup 2015-01-21 09:47:18 +01:00
Joakim Gebart
ca56de8251 lis3dh: New device driver for LIS3DH accelerometer sensors.
LIS3DH MEMS digital output motion sensor ultra low-power high
performance 3-axes "nano" accelerometer

Manufacturer website:

  http://www.st.com/web/catalog/sense_power/FM89/SC444/PF250725

Data sheet:

  http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00274221.pdf

tests/driver_lis3dh is a simple test application for testing on actual
hardware.

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-20 14:53:27 +01:00
Thomas Eichinger
fe643f7077 periph/i2c: added means to make I2C thread-safe
As discussed in #2289 this changes provide means to
use the i2c interface safely within multible threads.
2015-01-19 12:18:03 +01:00
Hauke Petersen
3439247248 drivers/periph/spi: added locking mechanism 2015-01-17 15:13:51 +01:00
Joakim Gebart
c9df451379 cc110x-legacy: Comment style and spelling/grammar fixes.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-15 10:56:58 +01:00
Oleg Hahm
363c12e822 Merge pull request #2283 from thomaseichinger/rf231_lqi_fix
drivers/at86rf231: fix reading of rssi value
2015-01-13 13:33:54 +01:00
Thomas Eichinger
f2396971e1 drivers/at86rf231: fix reading of rssi value 2015-01-12 16:40:21 +01:00
Oleg Hahm
ab191ad8a0 driver: added missing closing bracket 2015-01-12 09:54:29 +01:00
Oleg Hahm
e6c230a81f driver: convert to UNIX line endings 2015-01-12 09:52:41 +01:00
Johann Fischer
a51c91e5be add mag3110 magnetometer driver 2015-01-09 11:10:59 +01:00
Johann Fischer
ae10cc8af5 add mma8652 accelerometer driver 2015-01-08 11:44:32 +01:00
Peter Kietzmann
2fb2f499f9 Merge pull request #2123 from jfischer-phytec-iot/pr@mpl3115a2
Driver for  Freescale MPL3115A2 Pressure/Altitude Sensor
2015-01-07 23:28:57 +01:00
Johann Fischer
b545f4dfe6 add driver for tmp006 thermopile sensor 2015-01-07 13:53:23 +01:00