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

938 Commits

Author SHA1 Message Date
Joakim Nohlgård
e2f7ac78f0 Merge pull request #4040 from gebart/pr/periph-timer-init-freq
periph/timer: Change timer_init API to support arbitrary (integer) frequencies
2016-02-15 23:36:44 +01:00
Joakim Nohlgård
9db8d671ab Merge pull request #4757 from haukepetersen/opt_periph_random
drivers/periph: renamed random and more
2016-02-14 17:56:57 +01:00
DipSwitch
62469957ae Merge pull request #4193 from OlegHahm/cc110x_proto
cc110x: make protocol configurable
2016-02-14 16:47:04 +01:00
Hauke Petersen
b59f94593e drivers/periph: renamed random to hwrng + opts 2016-02-14 12:58:30 +01:00
Joakim Nohlgård
d1a57d040a Merge pull request #4638 from gebart/pr/periph-pwm-api-change
drivers: Optimized periph PWM interfaces
2016-02-14 08:54:47 +01:00
Joakim Nohlgård
933ee91f72 drivers/periph/timer: Change timer_init definition to support arbitrary (integer) frequencies 2016-02-13 21:29:36 +01:00
Joakim Nohlgård
2108b85d85 saul: add missing doxygen opening comment 2016-02-13 21:25:13 +01:00
Joakim Nohlgård
8d11fab8bd drivers/lis3dh: Add SAUL support 2016-02-13 21:25:07 +01:00
Hauke Petersen
d6b8336cb9 drivers/srf02: added func to reprogramm address 2016-02-12 16:40:51 +01:00
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
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
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
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
Oleg Hahm
21dc560a19 Merge pull request #2906 from LudwigOrtmann/pr/isl29125
ISL29125 driver import
2015-05-13 08:42:40 +02:00
Oleg Hahm
7e4ccbbee7 Merge pull request #2959 from authmillenon/at86rf2xx/fix/offset
ng_at86rf2xx: fix offset error on send
2015-05-12 22:55:02 +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
Oleg Hahm
69f07c601f Merge pull request #2949 from OlegHahm/crash_panic_foobar
core: panic unification
2015-05-10 21:54:43 +02:00
Oleg Hahm
92b41df711 ng_at86rf2xx: use correct check for CPUID_LEN 2015-05-10 21:50:07 +02:00
Martine Lenders
e5155390d0 ng_at86rf2xx: fix offset error on send 2015-05-10 14:02:42 +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
Oleg Hahm
828839316b core: renamed crash.h to panic.h 2015-05-09 18:44:10 +02:00
Martine Lenders
ebb88ce72f Merge pull request #2877 from bapclenet/at86rf2xx/212b
at86rf2xx/212b_frequency
2015-05-09 16:48:35 +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
Oleg Hahm
b48eb4ac34 at86r231: removed pointless checks
Checking the length for bool options is pretty pointless.
2015-05-07 20:46:56 +02:00
Oleg Hahm
6aeb8ca3d1 at86rf231: complete debug messages for getset 2015-05-07 20:46:56 +02:00
Oleg Hahm
a97ee2b0a4 at86rf231: disable SFD IRQ by default 2015-05-06 15:58:02 +02:00
Oleg Hahm
c8aff36237 netconf: added option to en/disable the SFD IRQ
Also includes the implementation for the AT86RF231
2015-05-06 15:58:02 +02:00
Joakim Gebart
2738e9f9a8 nvram_spi: Implement generic SPI NVRAM driver. 2015-05-04 10:39:46 +02:00