Oleg Hahm
32606382a1
drivers 802154: always memset cpuid before setting
2016-04-04 18:20:19 +02:00
Oleg Hahm
416b9759e2
drivers 802154: use memset for eui64 padding
2016-04-04 16:53:21 +02:00
Martine Lenders
4d46a5f91e
Merge pull request #5242 from OlegHahm/eliminate_ieee802154_literals
...
ieee802154: replace literals for lengths by macros
2016-04-04 16:37:08 +02:00
Oleg Hahm
a59e100d41
ieee802154: replace literals for lengths by macros
2016-04-04 15:24:47 +02:00
Oleg Hahm
6f58862fec
driver: assure required buffer size
...
The cpuid buffer is also used as a temporary buffer to store the EUI-64 of the transceiver, so we need to make sure that it is always big enough.
May be padded with zeroes for smaller CPUIDs.
2016-04-03 22:38:13 +02:00
Oleg Hahm
aa043a50bf
drivers encx24j600: introduce netstats
...
This driver was missing netstats completely so far.
2016-04-03 18:05:07 +02:00
Oleg Hahm
4ba73928ac
drivers enc28j60: correctly initialize netstats
...
Driver's netstats should be initialize in init, not isr...
2016-04-03 18:04:32 +02:00
Thomas Eichinger
e5e67b3870
drivers/at86rf2xx: mask frame length according to data sheet
...
After some discussion on the devel mailing list about smuggeling in corrupted frames by e.g. SDRs I'd propose we mask the length field according to the datasheet again. It was done before in at86rf2xx_get_length but this funtion did get used anymore along the way.
2016-04-02 12:29:22 -03:00
malo
86eb928642
drivers: si70xx: fixed left shift compiler warning for 16bit platforms
...
Signed-off-by: malo <malo@25cmsquare.io>
2016-04-02 00:54:04 +02:00
Hauke Petersen
af8f4040ac
drivers/xbee: fixed missing newline in DEBUG
2016-04-01 11:48:35 +02:00
Hauke Petersen
9a4df61005
drivers/periph: fixed UNDEF values to UINT_MAX
2016-04-01 10:57:26 +02:00
Yonezawa-T2
c4bc42419b
netdev2_tap: continue reading even if no spaces left in pktbuf
...
On OS X, `netdev2_tap` suspends monitoring file descriptor until `_recv` is
called. If no spaces in left in pktbuf, `gnrc_netdev2_eth` does not call `_recv`
that results in deadlock.
With this commit, `gnrc_netdev2_eth` calls `_recv` with NULL buffer and non-zero
length parameter, that indicates the driver to drop frame and resume working.
2016-03-31 16:59:12 +09:00
Oleg Hahm
4f17d2bd9c
Merge pull request #5211 from kaspar030/ethos_fixes
...
drivers: ethos: misc fixes
2016-03-31 00:43:55 +02:00
a833d838b9
drivers: ethos: don't error if recv buffer is larger than needed
2016-03-30 23:47:07 +02:00
Martine Lenders
c5dc5b2d24
Merge pull request #5208 from kaspar030/fix_ethos_compile
...
drivers: ethos: fix compile errors
2016-03-30 17:37:52 +02:00
036e7f248d
drivers: ethos: fix compile errors
2016-03-30 17:09:58 +02:00
Peter Kietzmann
3fa8a267b3
Merge pull request #5155 from OlegHahm/diskio_cleanup
...
doc diskio: RIOTized style and added doxygen
2016-03-30 15:14:25 +02:00
Oleg Hahm
1f4d73dde1
Merge pull request #4801 from OlegHahm/netstats
...
netstats: introduce L2 netstats
2016-03-30 14:42:49 +02:00
Oleg Hahm
0925737e28
doc diskio: RIOTized style and added doxygen
2016-03-30 12:54:51 +02:00
Oleg Hahm
7bce5a9ef8
Merge pull request #5189 from OlegHahm/cc110x_fix_typo
...
cc110x: fix typo
2016-03-30 01:17:39 +02:00
Oleg Hahm
86a83f8f86
cc110x: use CPP check instead of runtime check
2016-03-29 22:51:53 +02:00
Oleg Hahm
021e94ee6a
netdev2: introduce linklayer netstats
2016-03-29 22:34:09 +02:00
Oleg Hahm
a8f2d2df67
netstats: netapi_get and shell command
2016-03-29 22:29:58 +02:00
Rene Herthel
44ee645373
drivers/lis3mdl: Initial create of lis3mdl
2016-03-29 21:02:18 +02:00
Oleg Hahm
0ed54f0d4e
cc110x: fix typo (missing semicolon)
2016-03-29 20:11:35 +02:00
Yonezawa-T2
1ce140d910
debug: fix compilation error for %p formatter
2016-03-29 11:46:29 +09:00
Oleg Hahm
34d2940afb
Merge pull request #5185 from OlegHahm/netdev_setup_params
...
netdev2: use params parameter for setup
2016-03-28 22:34:10 +02:00
Oleg Hahm
59674a679b
netdev2: use params parameter for setup
2016-03-28 20:22:20 +02:00
Oleg Hahm
3ba99aabe4
xbee: fix naming inconsistency
2016-03-28 20:22:20 +02:00
e64cffa359
drivers: cc110x: compile fix
2016-03-26 20:53:13 +01:00
Martine Lenders
69b63b7c5a
cc110x: generate IID from hardware address
2016-03-26 19:16:05 +01:00
Martine Lenders
536255696e
cc110x: take whole CPU ID for hardware address generation
2016-03-26 19:15:43 +01:00
Oleg Hahm
26b3263f8a
netdev2: moved ethernet header into subdir
2016-03-25 15:10:07 +01:00
Hauke Petersen
2510fe03f5
Merge pull request #4646 from authmillenon/at86rf2xx/api/netdev2
...
at86rf2xx: port to netdev2
2016-03-24 15:03:15 +01:00
Martine Lenders
5bfc9e43fb
at86rf2xx: port to netdev2
2016-03-23 17:45:16 +01:00
Peter Kietzmann
ad149dcd68
Merge pull request #4804 from haukepetersen/opt_srf02_impltrigger
...
driver/srf02: expose trigger and read to API
2016-03-23 07:50:35 +01:00
941bdbbc56
drivers/bmp180: initial implementation
2016-03-22 19:51:03 +01:00
Hauke Petersen
c86a06d585
drivers/srf02: fixed missing i2c_release in init()
2016-03-22 17:07:04 +01:00
Hauke Petersen
ff2ff5d008
drivers/srf02: expose trigger and read to API
2016-03-22 17:07:04 +01:00
Hauke Petersen
b68b14b49b
Merge pull request #4666 from haukepetersen/opt_driver_dhtsaul
...
drivers/dht: added support for SAUL
2016-03-22 11:06:16 +01:00
DipSwitch
5b5810ab7b
Merge pull request #5109 from DipSwitch/pr/fix_core_inc_irq
...
core: Fix/refactor function naming in core/incude/irq.h
2016-03-22 08:12:24 +01:00
Cenk Gündoğan
2b3fc6d3b3
drivers/mma8652: add saul driver
2016-03-21 16:16:11 +01:00
Cenk Gündoğan
e6de2924ad
drivers: mma8652: add mma8652_params_t for initialization
2016-03-21 16:16:11 +01:00
DipSwitch
0bb4748a94
core: Fix/refactor function naming in core/incude/irq.h
2016-03-20 16:47:34 +01:00
Hauke Petersen
08ce2a5090
drivers/dht: adapted to GPIO changes
2016-03-17 14:55:31 +01:00
Hauke Petersen
e51d634aeb
drivers: adapted gpio_init(_x)() calls
2016-03-17 14:55:30 +01:00
Hauke Petersen
2515a3f9ef
drivers/gpio: changed the way the mode is configured
...
- joined pushpull and dir into one single mode parameter
- with this enabled the configuration of open-drain mode
2016-03-17 14:37:24 +01:00
Hauke Petersen
7c86467ef0
drivers/dht: added SAUL support
2016-03-17 10:39:42 +01:00
Hauke Petersen
d1d7192d93
drivers/saul: added default NOTSUP function
2016-03-17 10:29:34 +01:00
Oleg Hahm
1fe7c4b17b
led: move header into include directory
2016-03-16 16:09:45 +01:00
Hauke Petersen
fd082a8503
drivers: added LED control header
2016-03-15 19:02:15 +01:00
Hauke Petersen
272f12dfb8
Merge pull request #5045 from haukepetersen/opt_boards_leddefines
...
boards: unified LED macros
2016-03-15 19:01:05 +01:00
Hauke Petersen
53b42424ff
drivers/lm75a: removed LED_xx_yy calls
2016-03-15 18:37:54 +01:00
Martine Lenders
1caf0bcc8a
Merge pull request #4645 from authmillenon/netdev2/enh/ieee802154
...
netdev2: add basic IEEE 802.15.4 support
2016-03-15 18:28:29 +01:00
Martine Lenders
b0b76ba3a6
gnrc: initial import of GNRC<->netdev2 glue code for 802.15.4
2016-03-15 17:11:22 +01:00
Hauke Petersen
1a8a73af63
drivers/ethos: adapted to changed UART cb type
2016-03-15 14:24:32 +01:00
Hauke Petersen
368d96ccd1
drivers/xbee: adapted to changed uart cb type
2016-03-15 11:59:08 +01:00
Hauke Petersen
2d2126e909
drivers/uart: use uint8_t for data in cb signature
2016-03-15 10:57:44 +01:00
Hauke Petersen
40ae604c3b
drivers/dac: reworked DAC driver interface
2016-03-14 20:13:24 +01:00
Hauke Petersen
9bcfec9032
drivers/mq3: adapted to ADC driver changes
2016-03-14 13:06:24 +01:00
Hauke Petersen
58a8884acf
drivers/periph: remodeled the ADC periph interface
2016-03-14 10:38:42 +01:00
Martine Lenders
8bacb0fb62
Merge pull request #5011 from dkm/pr/servo.fix
...
drivers/servo: fix API doc
2016-03-13 08:48:00 +01:00
Joakim Nohlgård
dc303a4f0b
sys/uart_stdio: rename STDIO -> UART_STDIO_DEV, move to header
2016-03-11 12:04:00 +01:00
Hauke Petersen
49ac533eba
drivers/spi: made conf and speed types overridable
2016-03-09 17:59:25 +01:00
Marc Poulhiès
7c0c942e8e
drivers/servo: fix API doc
...
Parameters for servo_init/servo_set are in ms only when using default values for SERVO_RESOLUTION and SERVO_FREQUENCY.
When using non default values, user must scale values to be in the range of [0, SERVO_RESOLUTION]
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2016-03-09 13:28:27 +01:00
Martine Lenders
b1a9dfe384
netdev2_ieee802154: import of common IEEE802.15.4 netdev2 module
2016-03-07 21:11:05 +01:00
Hauke Petersen
af48dadb26
Merge pull request #4807 from gebart/pr/saul-lis3dh
...
drivers/lis3dh: Add SAUL support
2016-03-02 13:23:29 +01:00
Martine Lenders
3fc3a695db
Merge pull request #4885 from authmillenon/cc110x/fix/info
...
cc110x: only set info values if != NULL
2016-03-01 20:39:52 +01:00
Martine Lenders
327f7c442c
Merge pull request #4816 from kaspar030/rename_genrand
...
sys: random: rename genrand_* to random_*
2016-03-01 13:58:39 +01:00
Peter Kietzmann
c8829a49b8
Merge pull request #4838 from haukepetersen/fix_periph_timerarg
...
drivers/timer: added callback argument
2016-03-01 08:55:54 +01:00
Joakim Nohlgård
3af809bdfc
Merge pull request #4910 from kaspar030/core_header_cleanup
...
core: header cleanup
2016-02-29 22:48:35 +01:00
ded39b461e
sys: random: rename genrand_* to random_*
2016-02-29 21:33:17 +01:00
Peter Kietzmann
a8b6fba69c
Merge pull request #4664 from haukepetersen/opt_driver_dhtinit
...
drivers/dht: numerous improvements
2016-02-29 16:23:31 +01:00
Hauke Petersen
2b97513637
drivers/timer: added callback argument
2016-02-29 14:40:08 +01:00
PeterKietzmann
e2cd3b1508
drivers/nrf24l01p: unified return values and fixed doc
2016-02-29 12:00:01 +01:00
9082273746
core: header cleanup
2016-02-28 22:46:28 +01:00
a93182ff51
drivers: ethos: fix _recv signature
2016-02-26 21:25:01 +01:00
Oleg Hahm
b27a1e8e24
kw2xrf: fix two typos
2016-02-23 23:26:44 +01:00
Martine Lenders
64ec89e9cb
cc110x: only set info values if != NULL
2016-02-23 15:51:10 +01:00
Bas Stottelaar
9e50d09b60
drivers: si70xx: temperature and humidity sensor
...
This includes the Si7006, Si7013, Si7020 and Si7021 I2C sensors, including a
test application.
2016-02-23 07:32:40 +01:00
Martine Lenders
0018bd902b
Merge pull request #4648 from authmillenon/netdev2/api/packet-info
...
netdev2: provide capability to pass up packet status information
2016-02-22 19:30:18 +01:00
Martine Lenders
bd8d2d3a8a
cc110x: adapt for info struct
2016-02-22 15:17:05 +01:00
Martine Lenders
8db42427cb
native/drivers/sys: adapt ethernet netdev2 for info struct
2016-02-22 12:37:26 +01:00
Peter Kietzmann
bf1d31a62b
Merge pull request #4869 from cgundogan/pr/kw2xrf/NETOPT_STATE_RX
...
drivers/kw2xrf: use NETOPT_STATE_RX for rcv
2016-02-22 11:52:35 +01:00
Martine Lenders
dad883c745
netdev2: provide capability to pass up packet status information
2016-02-22 11:31:58 +01:00
Cenk Gündoğan
f0068ba446
drivers/kw2xrf: use NETOPT_STATE_RX for rcv
2016-02-21 22:57:09 +01:00
5b4b40cc1e
drivers: cc110x: don't pass isr_arg on rx complete event
2016-02-21 22:01:03 +01:00
2e61f4d365
drivers: enc28j60: correctly pass on isr_arg
2016-02-21 21:55:33 +01:00
d454e83009
drivers: ethos: correctly pass on isr_arg
2016-02-21 21:55:33 +01:00
b43a1070a2
drivers: encx24j600: correctly pass on isr_arg
2016-02-21 21:54:40 +01:00
Hauke Petersen
6fca96c668
drivers/dht: simplified interface
2016-02-20 18:19:20 +01:00
Hauke Petersen
044cb3c2f9
drivers/dht: optimized driver code
...
- simplyfied pulse parsing code
- inlined one-time called functions
- some style fixes
2016-02-20 18:19:20 +01:00
Hauke Petersen
f5f793c3f2
drivers/dht: made pullup configurable
2016-02-20 18:19:20 +01:00
Hauke Petersen
c46bc68ac5
drivers/dht: optimized DHT driver
...
- added default dht_params.h file
- added dht_auto_init(void) function
- changed init function to init(dev, params)
- s/gpio/pin/ in device descriptor
- moved FEATURE_REQUIRED to drivers/Makefile.dep
2016-02-20 18:19:20 +01:00
Hauke Petersen
2b2ce92d28
Merge pull request #4846 from LudwigKnuepfer/pr/BH1750FVI-doxygen-group-fix
...
drivers/bh1750fvi: fix ingroup definition
2016-02-19 09:28:57 +01:00
BytesGalore
e0f9d18a92
Merge pull request #4832 from cgundogan/pr/drivers/default_channel
...
drivers: make default radio channel configurable at compile time
2016-02-19 09:06:39 +01:00
Peter Kietzmann
3eafe47184
Merge pull request #4836 from haukepetersen/opt_periph_gpio_type
...
drivers/gpio: changed default type to unsigned
2016-02-18 20:22:04 +01:00
Cenk Gündoğan
dbb01011d7
Merge pull request #4803 from cgundogan/pr/mma8652/driver_fix
...
drivers/mma8652: enhancements
2016-02-18 18:08:28 +01:00
Cenk Gündoğan
698191eb2b
kw2xrf: wait for previous transmissions to end
2016-02-18 15:43:22 +01:00
Ludwig Knüpfer
6a54f8cf89
drivers/bh1750fvi: fix ingroup definition
...
This is a sensor, not a low-level peripheral driver.
2016-02-18 13:52:38 +01:00
Hauke Petersen
085cd48e3d
drivers/gpio: changed default type to unsigned
2016-02-17 10:27:10 +01:00
Cenk Gündoğan
c0369f04f6
drivers: make default channel configurable at compile time
2016-02-16 13:07:17 +01:00
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