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

710 Commits

Author SHA1 Message Date
Peter Kietzmann
e539db10ee Merge pull request #4104 from gebart/pr/drop-timer-reset
periph/timer: Drop timer_reset
2015-10-26 08:36:01 +01:00
Peter Kietzmann
835c2db5a5 Merge pull request #3135 from jfischer-phytec-iot/pr@tcs37727
Driver for TCS3772 Color Light-to-Digital Converter
2015-10-23 10:05:31 +02:00
Johann F
c6cec830f9 drivers/tcs37727: initial commit for tcs37727 driver
The driver supports lux and ct calculation and autogain funktion.
2015-10-22 12:05:19 +02:00
Hauke Petersen
7a91be7c93 drivers: added dependencies for srf08 2015-10-22 11:06:38 +02:00
Peter Kietzmann
2aa8c9f4a1 Merge pull request #4127 from haukepetersen/opt_makedep_dri
make: moved driver deps to drivers/Makefile.dep
2015-10-22 11:03:19 +02:00
Peter Kietzmann
97dc546be1 Merge pull request #4131 from gebart/pr/periph-timer-doxyfix
periph/timer: Fix Doxygen module grouping
2015-10-22 10:57:58 +02:00
Peter Kietzmann
020d708683 Merge pull request #4112 from dkm/patch-1
servo ctor fix
2015-10-21 17:24:59 +02:00
Joakim Nohlgård
4c6e8769f6 periph/timer: Fix Doxygen module grouping 2015-10-21 16:53:55 +02:00
Hauke Petersen
0399995305 make: moved driver deps to drivers/Makefile.dep 2015-10-21 15:18:12 +02:00
Marc Poulhiès
0464892aee drivers/servo: fix initialization
The pwm to initialize must be read from arguments.
2015-10-20 21:41:35 +02:00
Hauke Petersen
9591d2049b drivers/i2c: removed init_slave for now 2015-10-20 16:57:39 +02:00
Joakim Nohlgård
cbaeccdb90 periph/timer: Drop timer_reset 2015-10-17 20:11:03 +02:00
Joakim Nohlgård
7b5ed7c055 Merge pull request #3867 from daniel-k/pr/at86rf2xx_sleep_mode
at86rf2xx: implement sleep mode
2015-10-13 18:27:27 +02:00
Thomas Eichinger
2b29abed8e Merge pull request #4071 from thomaseichinger/hauke-fix-gpio-gpiodev
drivers/gpio: renamed GPIO(x,y) macro to GPIO_PIN
2015-10-13 16:05:19 +02:00
daniel-k
502786b9f7 at86rf2xx: implement sleep mode 2015-10-13 15:06:52 +02:00
Thomas Eichinger
0db6246582 Merge pull request #4078 from daniel-k/pr/at86rf2xx_detect_broadcast
at86rf2xx: detect broadcast and set NETIF flag when receiving
2015-10-13 12:54:58 +02:00
Hauke Petersen
0ce94291ac drivers/gpio: renamed GPIO(x,y) macro to GPIO_PIN 2015-10-13 11:40:03 +02:00
daniel-k
78192ebb7e at86rf2xx: detect broadcast and set NETIF flag when receiving 2015-10-12 18:28:05 +02:00
Thomas Eichinger
7bf121903a Merge pull request #3729 from daniel-k/net_at86rf2xx_tx_feedback
netdev: add TX feedback events
2015-10-12 16:43:26 +02:00
daniel-k
9c36546026 netdev: add TX feedback events 2015-10-12 15:50:39 +02:00
Peter Kietzmann
10bddd5ca6 Merge pull request #3755 from daniel-k/pr/at30tse75x
drivers/at30tse75x: add device driver for AT30TSE75x temperature sensor
2015-10-02 14:55:04 +02:00
daniel-k
396b76c039 drivers/at30tse75x: add device driver for AT30TSE75x temperature sensor 2015-10-02 13:34:21 +02:00
smlng
3ed71ae2c6 drivers/kw2x: fix packet address setting
- fix dst address reversed in packet header
 - code and docu cleanup
 - based on at86rf2xx
2015-10-02 10:11:16 +02:00
Peter Kietzmann
7770fab9e8 Merge pull request #3994 from daniel-k/pr/rtt_ticks_convert
periph/rtt: add macros for ticks to time conversion
2015-09-30 10:06:27 +02:00
Peter Kietzmann
d18063cbe1 Merge pull request #3929 from haukepetersen/opt_periph_i2c
drivers/i2c: optimized I2C periph driver interface
2015-09-30 08:58:29 +02:00
Joakim Nohlgård
7b10e59ef3 Merge pull request #3868 from daniel-k/pr/at86rf2xx_disable_clock_output
at86rf2xx: disable clock output
2015-09-30 07:50:41 +02:00
daniel-k
5aeeabf4a9 at86rf2xx: cancel receiving when preparing for TX 2015-09-29 17:16:39 +02:00
Oleg Hahm
4cfb8140e4 Merge pull request #3978 from LudwigOrtmann/pr/namechange
documentation: update my name (Ortmann -> Knüpfer)
2015-09-28 10:38:41 +02:00
Ludwig Knüpfer
eda6328e21 documentation: update my name (Ortmann -> Knüpfer) 2015-09-27 18:58:30 +02:00
Oleg Hahm
f035bced0c doc: put network devices and sensors in subgroups 2015-09-27 18:25:43 +02:00
daniel-k
e754963c52 at86rf2xx: mask MSB in PHR for 802.15.4 compliance 2015-09-24 16:21:42 +02:00
14d0ef6c4d drivers: add cc110x driver 2015-09-23 18:55:11 +02:00
daniel-k
e433231941 periph/rtt: add macros for ticks to time conversion 2015-09-22 16:59:05 +02:00
Hauke Petersen
a4183454e8 drivers/i2c: optimized I2C periph driver interface
- added SPI_DEV and SPI_UNDEF macros
- made types and speed values overritable by CPU
- moved old device enum to dev_enums.h
- reformatted a little bit to comply to 80 char line length
2015-09-22 14:43:47 +02:00
Oleg Hahm
0a54f57043 kw2xrf: short address getter and iid option 2015-09-22 11:41:05 +02:00
Joakim Nohlgård
98c465008b all: Update @gebart family name, email 2015-09-20 13:47:39 +02:00
Oleg Hahm
312db3f0f1 make: remove superfluous nrf24l01p from Makefile 2015-09-18 06:53:24 +02:00
daniel-k
b5863c9e29 at86rf2xx: disable clock output 2015-09-16 19:00:33 +02:00
a5dd9cb29b drivers: nrf24l01p: rename DELAY microsecond defines to *_US 2015-09-16 10:58:56 +02:00
21dfa698bc drivers: encx24j600: switch to xtimer 2015-09-16 10:58:55 +02:00
e9301e236d drivers: ltc4150: use xtimer 2015-09-16 10:58:52 +02:00
4bbc5ae4d2 drivers: nvram_spi: use xtimer 2015-09-16 10:58:52 +02:00
01f03a54f1 drivers: pcd8544: use xtimer 2015-09-16 10:58:52 +02:00
4445d940ea drivers: sht11: use xtimer 2015-09-16 10:58:52 +02:00
cbd7d42e06 drivers: mpu9150: use xtimer 2015-09-16 10:58:52 +02:00
3edc40e4c5 drivers: nrf24l01p: use xtimer 2015-09-16 10:58:51 +02:00
e934063b15 srf08: use xtimer 2015-09-16 10:58:51 +02:00
c9aa280710 drivers: xbee: switch to xtimer 2015-09-16 10:58:51 +02:00
94c5512751 drivers: lm75: switch to xtimer 2015-09-16 10:58:51 +02:00
39533eb28c drivers: hih6130: switch to xtimer 2015-09-16 10:58:51 +02:00
ada06e9d22 drivers: dht: adapt to xtimer 2015-09-16 10:58:51 +02:00
940db9dad5 drivers: ng_at86rf2xx: use xtimer instead of hwtimer 2015-09-16 10:58:51 +02:00
Cenk Gündoğan
400c95aa6b drivers/periph_common/spi: reuse trans_bytes for loop counter 2015-09-15 09:47:13 +02:00
Martine Lenders
93f555ef69 Merge pull request #3782 from OlegHahm/RIOT_assert
core: RIOT's own assert macro
2015-09-12 13:12:34 +02:00
Hauke Petersen
d99aaff2fb drivers/srf02: various optimizations
- switched to use xtimer
- simplified interface slightly
- optimized reading of results
- some style cleanups
- updated the documentation
2015-09-07 12:02:38 +02:00
bd698bf574 drivers: add encx24j600 ethernet driver 2015-09-04 18:49:08 +02:00
c84199ce10 sys: netdev2.h: add link up/down event types 2015-09-04 18:03:13 +02:00
Oleg Hahm
e2639d7f83 core: use enums for panic 2015-09-04 16:14:35 +02:00
daniel-k
6f705a5189 at86rf2xx: implement CSMA settings 2015-09-01 18:45:47 +02:00
38a3b2ea7b sys: add improved network device API 2015-08-26 16:51:52 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Martine Lenders
b969eeb217 gnrc: rename ng_netbase to gnrc 2015-08-18 16:11:55 +02:00
10a77b7775 drivers: add periph_common
This module contains shared functions for periph implementations.
2015-08-14 14:46:35 +02:00
BytesGalore
394ddb6900 drivers: renamed further remaining *NG_* macros 2015-08-12 17:21:45 +02:00
Martine Lenders
8f9e1656e1 at86rf2xx: remove ng_ prefix 2015-08-10 00:08:21 +02:00
Martine Lenders
e8d5d5576a gnrc: piggy-back some code style changes 2015-08-07 16:53:05 +02:00
Martine Lenders
9cf5e5fb6a ieee802154: remove ng_ prefix 2015-08-07 14:36:04 +02:00
Hauke Petersen
97a19016cf drivers: adapted to renamed NETOPT header 2015-08-06 15:36:56 +02:00
6e3e41b729 drivers: remove cc110x 2015-08-06 12:13:18 +02:00
73c256302a drivers: remove at86rf231 2015-08-06 12:13:18 +02:00
5d8349298f remove bulk of legacy network stack and drivers 2015-08-06 12:12:47 +02:00
Martine Lenders
6d9b928818 Merge pull request #3536 from cgundogan/pr/doc/todo
Make use of doxygen todo
2015-08-05 15:59:01 +02:00
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
Thomas Eichinger
4c4e54ad34 Merge pull request #3503 from OlegHahm/cc2420_freq_fix
cc2420: mask FSCTRL register for frequency access
2015-07-31 12:48: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
Oleg Hahm
f23e7f90d2 cc2420: mask FSCTRL register for frequency access 2015-07-27 20:15:20 +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