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

829 Commits

Author SHA1 Message Date
Cenk Gündoğan
37c2cddf32 drivers/mma8652: convert raw data to milli g 2016-02-12 16:25:15 +01:00
Joakim Nohlgård
f6bd9cab57 drivers/servo: adapted to PWM interface changes 2016-02-12 16:10:01 +01:00
Cenk Gündoğan
192f20eabe drivers/mma8652: set to STANDBY before configuration 2016-02-12 16:09:59 +01:00
Hauke Petersen
eff628ad9b drivers/periph/pwm: modernized PWM driver interface 2016-02-12 15:52:37 +01:00
Joakim Nohlgård
73b4804c4c drivers/srf08: Remove tautological null-pointer check 2016-02-11 15:13:36 +01:00
Joakim Nohlgård
d8deae0375 drivers/kw2xrf: Comment out unused LUT 2016-02-11 15:13:30 +01:00
Hauke Petersen
3bf85cb508 drivers: added driver for BH1750FVI light sensors 2016-02-09 16:01:32 +01:00
Hauke Petersen
f3ac84d43a drivers: s/CPUID_ID_LEN/CPUID_LEN/ 2016-02-08 11:10:59 +01:00
Hauke Petersen
cd71c7725f drivers/cpuid: s/CPUID_ID_LEN/CPUID_LEN/ + fixes 2016-02-08 11:10:59 +01:00
9e3e485ec0 drivers: net: add ethos (ethernet over serial) driver 2016-02-07 19:15:14 +01:00
Oleg Hahm
2f5683b3f7 cc110x: make protocol configurable 2016-02-05 16:12:46 +01:00
Peter Kietzmann
8225bc92cb Merge pull request #4749 from Yonezawa-T2/xbee_error_init
xbee: add error handling on initialization
2016-02-05 13:00:12 +01:00
Yonezawa-T2
9e1bc0d94d xbee: add error handling on initialization 2016-02-05 19:03:38 +09:00
Hauke Petersen
4cf9c74e2b Merge pull request #4739 from haukepetersen/fix_lsm303dlhc_saul
drivers/lsm303dlhc: normalized SAUL readings
2016-02-04 17:35:52 +01:00
Hauke Petersen
84b44f03dd Merge pull request #4740 from cgundogan/pr/saul/pull_modes
saul: make pull-up/pull-down mode configurable
2016-02-04 16:34:40 +01:00
Cenk Gündoğan
b860ad3715 saul: make pull-up/pull-down mode configurable 2016-02-04 14:57:00 +01:00
Hauke Petersen
0bde97f167 drivers/lsm303dlhc: normalized SAUL readings 2016-02-04 11:51:28 +01:00
Hauke Petersen
555c010623 drivers/gpio: added default ISR context struct 2016-01-27 17:00:23 +01:00
Marc Poulhiès
de5a7e00c6 drivers/nrf24l01p : dynamic ack and dynamic payload
Add method for enabling/disable dynamic ack and dynamic payloads on
nrf24l01+ devices.
Also add function for reseting one or more interrupts.
2016-01-26 09:59:53 +01:00
Joakim Nohlgård
9af084ec18 drivers/periph/uart: Add missing #include <stddef.h>
Required for size_t
2016-01-19 14:11:35 +01:00
Johann F
97120f1cce drivers/kw2xrf/kw2xrf.c: fix MAX_PKT_LENGTH
This patch fixes MAX_PKT_LENGTH on kw2x radio
2016-01-07 01:37:00 +01:00
Hauke Petersen
94c0cc86af Merge pull request #4504 from PeterKietzmann/extend_gpio_api
periph/gpio: extend gpio API doc
2016-01-05 12:04:22 +01:00
PeterKietzmann
4c41f7a994 periph/uart: extend uart API doc 2015-12-22 16:11:21 +01:00
PeterKietzmann
d251b604ad periph/gpio: extend gpio API doc 2015-12-22 16:10:37 +01:00
Thomas Eichinger
65124aa966 drivers/at86rf2xx: clear channels for rf23x series too 2015-12-18 13:56:18 +01:00
Yonezawa-T2
c36766a31f OSX: fix warnings/errors thrown by clang on OS X
gnrc_ipv6_nc, gnrc_sixlowpan, gnrc_netdev2_eth, gnrc_ipv6, xbee, sixlowpan,
sc_gnrc_6ctx
2015-12-10 11:23:56 +09:00
Daniel Krebs
bb4fe8d256 Merge pull request #3954 from daniel-k/pr/at86rf2xx_fix_lqi
at86rf2xx: fix lqi reading
2015-12-08 16:10:52 +01:00
daniel-k
a643789ab5 at86rf2xx: fix LQI reading 2015-12-08 14:46:56 +01:00
Hauke Petersen
22cc26e9d7 drivers: added driver for enc28j60 ethernet chip 2015-12-08 11:51:18 +01:00
Thomas Eichinger
10323329ce Merge pull request #4412 from DipSwitch/pr/at86rf2xx-phy-mode
at86rf2xx: Add support for channel page
2015-12-08 11:40:47 +01:00
Oleg Hahm
0250d62509 Merge pull request #4358 from OlegHahm/eliminate_pedantic_errors
Eliminate pedantic errors
2015-12-08 02:05:30 +01:00
Oleg Hahm
bcb56fd542 Merge pull request #4429 from OlegHahm/at86rf231_proto_netopt_fix
at86rf2xx: dereference NETOPT_PROTO option
2015-12-07 22:47:38 +01:00
Peter Kietzmann
27e063823f Merge pull request #4264 from jfischer-phytec-iot/fix@kw2xrf-_assemble_tx_buf
drivers/kw2xrf/kw2xrf.c: fix bug and cleanup in _assemble_tx_buf
2015-12-07 21:17:38 +01:00
Oleg Hahm
426816b9ae drivers: fix pedantic compiler warnings 2015-12-07 20:28:52 +01:00
Oleg Hahm
9a11aec32e at86rf2xx: dereference NETOPT_PROTO option
netopt_t options are passed as pointers to the driver.
2015-12-07 18:48:56 +01:00
Johann Fischer
63fd7dc53a drivers/kw2xrf/kw2xrf.c: fix bug and cleanup _assemble_tx_buf
BUG: the pktbuf was released at the wrong place and
return value of _assemble_tx_buf was not verified.
2015-12-07 12:56:32 +01:00
cd471867e6 drivers: encx24j600: make use of netdev2_eth module 2015-12-07 11:40:39 +01:00
fa711ceb8d drivers: netdev2: add module for shared ethernet code 2015-12-07 11:40:39 +01:00
Joakim Nohlgård
e9f385ae1d at86rf2xx: Add support for channel page 2015-12-05 10:37:04 +01:00
Marc Poulhiès
738d05e6b1 drivers/servo: allow for overriding default parameters
This is mandatory on platforms where both settings are strongly tied (eg. lm4f120)
2015-12-03 15:13:46 +01:00
Thomas Eichinger
ef8dc7733a Merge pull request #4391 from thomaseichinger/pr/rf2xx_include_fix
drivers/at86rf2xx: don't inlcude the header in itselfs
2015-12-03 12:12:43 +01:00
Thomas Eichinger
1f2460d662 drivers/at86rf2xx: don't inlcude the header in itselfs 2015-12-03 11:15:30 +01:00
Hauke Petersen
81ed820528 drivers/pcd8544: fixed include guard 2015-12-02 11:20:02 +01:00
e53dc6f5e2 Merge pull request #3538 from haukepetersen/add_sensif_actif
Introducing SAUL, the [S]ensor [A]ctuator [U]ber [L]ayer
2015-12-01 11:01:20 +01:00
Hauke Petersen
84a094d092 drivers/lsm303dlhc: added SAUL integration 2015-11-30 20:33:55 +01:00
Hauke Petersen
5274c4e851 drivers/lps331ap: added SAUL integration 2015-11-30 20:33:54 +01:00
Hauke Petersen
7a4d6227c4 drivers/l3g4200d: added SAUL integration 2015-11-30 20:33:54 +01:00
Hauke Petersen
18361631a0 drivers/isl29020: added SAUL integration 2015-11-30 20:33:54 +01:00
Hauke Petersen
0390561e06 drivers: added S(ensor) A(ctuator) U(ber) L(ayer) 2015-11-30 20:33:53 +01:00
Jonas
e9f86c1126 Implemented the NETOPT_CCA_THRESHOLD option for KW2xrf 2015-11-30 13:15:25 +01:00
Kévin Roussel
8bfd856abe Implemented the NETOPT_CCA_THRESHOLD option for AT86RF231 2015-11-30 13:15:14 +01:00
Martine Lenders
507b4381d2 Merge pull request #4335 from authmillenon/gnrc_netdev2/enh/namescheme
gnrc_netdev2: harmonize naming scheme to rest of GNRC
2015-11-27 14:16:42 +01:00
Martine Lenders
3c00cec299 gnrc_netdev2: harmonize naming scheme to rest of GNRC 2015-11-27 13:03:37 +01:00
Peter Kietzmann
25fd90b741 Merge pull request #4350 from RBartz/fix_tcs37727_driver
drivers/tcs37727: fixed ATIME setup in init function
2015-11-27 09:38:05 +01:00
Hauke Petersen
f0b0db8f06 drivers: various doxygen fixes
- fixed group naming scheme to 'drivers_xx'
- introduced a group for actuators (analog to the sensors)
- added missing doxygen to ltc4150 driver
2015-11-23 12:15:50 +01:00
Ruediger Bartz
d188293b15 drivers/tcs37727: fixed ATIME setup in init function 2015-11-20 11:41:52 +01:00
Hauke Petersen
aee4e564c0 drivers/cc110x: moved includes
let the driver follow the same structure than other drivers
for now: keeping 'private' includes in a local include folder
2015-11-20 10:32:43 +01:00
Hauke Petersen
421e69030a Merge pull request #4315 from haukepetersen/doc_periph_fixes
doc: various fixes related to 'periph'
2015-11-19 22:59:26 +01:00
Hauke Petersen
4e94d97da7 drivers/at86rf2xx: added default params definition 2015-11-19 16:17:20 +01:00
Hauke Petersen
95086da431 doc/drivers/sys: fixed all refs to drivers_periph_xx 2015-11-19 16:09:25 +01:00
Hauke Petersen
77b790375f drivers/periph: some doxygen fixes
- added todos to periph module description
- repaired group names (e.g. s/driver_xx/drivers_xx/)
2015-11-19 15:57:36 +01:00
Hauke Petersen
cb6f3e9566 drivers/l3g4200d: fixed initialization 2015-11-18 16:34:50 +01:00
Oleg Hahm
a5b7c5d4e8 Revert "at86rf2xx: cancel receiving when preparing for TX"
This reverts commit 5aeeabf4a9.
2015-11-12 12:10:16 +01:00
Oleg Hahm
b978510188 802154 drivers: set first bit to 0 in 16 bit addr
The first bit is required to be 0 for short addresses when used with 6LoWPAN  by https://tools.ietf.org/html/rfc4944#section-12.
2015-11-03 11:06:54 +09:00
Oleg Hahm
b40f1742f1 at86rf2xx: remove superfluous mask 2015-11-03 11:06:21 +09:00
Oleg Hahm
6bf7c8ef5f at86rf2xx: added protocol setter 2015-10-31 19:52:48 +09:00
Hauke Petersen
82afb07f16 drivers/xbee: adapted to UART interface changes 2015-10-27 14:59:39 +01:00
Hauke Petersen
634ae1541b drivers/periph: remodeled UART driver interface 2015-10-27 14:59:37 +01:00
Hauke Petersen
06743ba29e drivers/periph/gpio: fixed includes 2015-10-27 13:29:37 +01:00
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