1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-15 22:12:58 +01:00
Commit Graph

2653 Commits

Author SHA1 Message Date
Vincent Dupont
ae95137f95 can stm32: add a driver for STM32 bxCAN peripheral
This driver is compliant with the candev interface. It has been tested
with STM32F0 and STM32F2 and STM32F413 ONLY at this time but should be
compliant with other STM32Fx devices
2019-03-29 12:03:43 +01:00
14f47bf220
Merge pull request #10695 from aabadie/pr/drivers/lpsxxx
drivers/lpsxxx: refactor lps331ap and add support for lps25hb + lps22hb
2019-03-29 10:54:08 +01:00
Dylan Laduranty
ccf12c57a8
Merge pull request #10884 from fedepell/sam_rwee_support
sam0 flashpage RWWEE flash support
2019-03-28 11:00:25 +01:00
Hauke Petersen
f2df22ed99
Merge pull request #10589 from miri64/l2util/feat/initial
l2util: initial import of a general IPv6 over X helper module
2019-03-27 11:46:12 +01:00
Martine Lenders
db8954fe60
Merge pull request #11267 from cladmi/pr/isrpipe/separate_read_timeout
isrpipe: split isrpipe_read_timeout to isolate xtimer dependency
2019-03-26 22:27:15 +01:00
Martine Lenders
664763bb29 netdev: add doc group for network device types 2019-03-26 21:37:20 +01:00
Gaëtan Harter
29fc58bc79
drivers/at: remove the direct dependency to xtimer
`at` is not using the `xtimer` module directly but only through
'isrpipe_read_timeout'.
2019-03-26 21:36:24 +01:00
Gaëtan Harter
b07eecd619
isrpipe: split isrpipe_read_timeout to isolate xtimer dependency
This defines a new 'isrpipe_read_timeout' module that should be used when using
the timeout based function of isrpipe.

This fix the implicit dependency to 'xtimer' that is only needed for the
'_timeout' functions.

It prevents 'stdio_uart' that uses 'isrpipe' to need to depend on xtimer.
This was silently solved at link time for most platforms but not for the
'esp32' for example.

'drivers/at' needed to be updated at the same time to follow the api change.
2019-03-26 21:36:24 +01:00
Kevin "Bear Puncher" Weiss
268d3e926c
Merge pull request #10826 from ranbe1/at_driver_uart_initialize_status
drivers/at: make at_dev_init() return uart initialize status
2019-03-26 14:07:05 +01:00
c697a3bfd8
usbdev: extend events with suspend/resume 2019-03-25 21:03:21 +01:00
Dylan Laduranty
784af0a9c8
Merge pull request #11213 from bergzand/pr/usb/periph_init
usbdev: Add low level initialization to `periph_init()`
2019-03-25 20:49:25 +01:00
Federico Pellegrin
5faafac092 sam0 flashpage RWWEE flash support 2019-03-21 04:27:41 +01:00
7c285eb186
drivers/lpsxxx: add support for lps22hb 2019-03-20 14:43:37 +01:00
1f4dee90a1
drivers/lpsxxx: unify lps331ap and lps25h drivers 2019-03-20 14:43:36 +01:00
Marian Buschsieweke
f5cd25bdab
drivers/enc28j60: Allow sending with empty chunks
This commit allows `netdev_driver_t::send()` of `enc28j60` to be passed an
`iolist_t` containing one or more empty elements.
2019-03-20 09:57:45 +01:00
cf093c5a25
periph: add low level usbdev initialization 2019-03-20 09:12:24 +01:00
4d352fc93f
usbdev: Extend with low level initialization functions 2019-03-20 09:12:24 +01:00
Jose Alamos
4778776790 sx127x: ignore empty iolist element 2019-03-19 17:30:55 +01:00
Torben Petersen
04d346667b drivers/bmp180: fix conversion 2019-03-18 09:43:39 +01:00
Martine Lenders
6611be5140 at86rf2xx: don't call tx_load when iol->iol_len == 0 2019-03-15 15:34:38 +01:00
Martine Lenders
51626a48d4 netdev: document valid values for iolist in send() 2019-03-15 11:34:19 +01:00
71204d1d70
Merge pull request #9830 from bergzand/pr/usb/usbdev
usbdev: Introducing a generic USB device driver API
2019-03-14 22:48:47 +01:00
9af6c69a93
usbdev: Introduce a common API for USB peripherals
This commit adds usbdev, a common API to interface USB peripheral
devices. The API is split into two parts, one for the USB device itself
and one for the USB endpoint.
2019-03-14 21:44:56 +01:00
Leandro Lanzieri
e98de1a91a drivers/ds3234: Fix doxygen group 2019-03-14 14:32:28 +01:00
Leandro Lanzieri
94a10e9e10
Merge pull request #11132 from MichelRottleuthner/pr_sx127x_add_gpio_pull_config
drivers/sx127x: add gpio pull config define for DIO pins
2019-03-14 14:05:56 +01:00
4dcd958dce
Merge pull request #10415 from maribu/encx24j600
drivers/encx24j600: Implemented missing drop case
2019-03-11 14:15:40 +01:00
f4bb315db2
Merge pull request #11153 from kaspar030/fix_encx24j600_netopt_linkstate
drivers/encx24j600: lock dev in netopt get()
2019-03-11 12:52:27 +01:00
4c2749041b drivers/encx24j600: lock dev in netopt get() 2019-03-11 12:35:09 +01:00
Gilles DOFFE
8a20936a9d drivers: add motor_driver implementation
Implement motor_driver API to drive CC motors through hardware drivers.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
dd6a37517b drivers: add motor_driver API
This driver API aims to control DC motors.
It handles :
 * motor controller associated to a PWM device
 * several motors by controller
 * motor rotation direction
 * brake capability
 * enable/disable motor individually

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
d562af40e6
Merge pull request #11144 from jia200x/pr/netdev_lora_rx_info
netdev/lora: add netdev_lora_rx_info structure for RX info
2019-03-08 18:36:02 +01:00
Jose Alamos
2fd59067b4 drivers/sx127x: remove netdev_sx127x_lora_packet_info structure 2019-03-08 17:47:43 +01:00
Jose Alamos
80ae186d7a drivers/sx127x: use netdev_lora_rx_info structure for RX info 2019-03-08 17:47:05 +01:00
Jose Alamos
893707a590 netdev/lora: add netdev_lora_rx_info structure 2019-03-08 17:45:08 +01:00
korotkoves
433ccc9a11
sx127x: set ValidHeader interrupt to NETDEV_EVENT_RX_STARTED event 2019-03-08 08:46:52 +01:00
korotkoves
4ccdb3ac80
sx127x: remove duplicate code + fix for sending 2019-03-08 08:46:51 +01:00
korotkoves
4b60ab07fe
sx127x: fix for sending in implicit headers mode 2019-03-08 08:46:51 +01:00
Michel Rottleuthner
389d258627 drivers/sx127x: add gpio pull config define for DIO pins 2019-03-07 16:09:38 +01:00
Semjon Kerner
c2a40be458 drivers/netdev_ieee802154: add mac header filter 2019-03-04 13:21:43 +01:00
Martine Lenders
2d6a557d83 netdev: introduce test device type 2019-02-26 16:46:21 +01:00
Martine Lenders
727a843ce4
Merge pull request #10905 from maribu/packet_size_l2_pdu
net: NETOPT_MAX_{PACKET_SIZE -> PDU_SIZE}
2019-02-22 15:23:00 +01:00
Joakim Nohlgård
a6f430b4b5 drivers/ds3234: Minimal driver for DS3234 extremely accurate RTC
This driver currently only supports the SPI connected DS3234, and only
for initializing 1 Hz square wave output on the SQW pin, nothing else.
2019-02-19 11:57:40 +01:00
Marian Buschsieweke
a3f1f21410
drivers/xbee: Use NETOPT_MAX_DPU_SIZE
Updated xbee to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:02 +01:00
Marian Buschsieweke
09335b07dd
drivers/sx127x: Use NETOPT_MAX_DPU_SIZE
Updated sx127x to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:00 +01:00
Marian Buschsieweke
1bd6ac4fff
drivers/netdev_ieee802154: Use NETOPT_MAX_DPU_SIZE
Updated netdev_ieee802154 to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:18:58 +01:00
Marian Buschsieweke
d506741d38
drivers/netdev_eth: Use NETOPT_MAX_DPU_SIZE
Updated netdev_eth to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:18:56 +01:00
Marian Buschsieweke
556a1e31ff
drivers/cc110x: Use NETOPT_MAX_DPU_SIZE
Updated cc110x to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:18:54 +01:00
Yegor Yefremov
0dedf979f3 drivers/sx127x: fix dead links
URLs of the datasheets have been changed.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-02-15 21:16:42 +01:00
Leandro Lanzieri
a13ab5ee08 drivers/ad7746: Add SAUL integration 2019-02-15 13:37:45 +01:00
Leandro Lanzieri
85e75cf9f8 drivers/saul: Add capacitance and voltage types 2019-02-15 13:37:45 +01:00
Leandro Lanzieri
50dc5b7528 drivers: Add driver for AD7746 capacitance sensor 2019-02-15 13:31:18 +01:00
smlng
6fc3c82072 drivers/hts211: fix CTRL_REG2_OS_EN
fixes #11013
2019-02-14 18:03:35 +01:00
Yegor Yefremov
b8ff48cce4 periph/uart: improve documentation
Change description to reflect the configurability of the serial
interface.

Also, fix the uart_mode parameter description as the UART will be
configured and not initialized.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-02-11 09:35:23 +01:00
Yegor Yefremov
6bf185855b drivers/bmx280: fix dead links
URLs have been changed to:

https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP280-DS001.pdf
https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280-DS002.pdf)

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-02-08 09:01:20 +01:00
Kees Bakker
50ec5130d6 drivers: add support for SHT2x (I2C temp and humidity sensor)
Several parts were inspired by a driver written by:
  George Psimenos (gp7g14@soton.ac.uk)
  Steffen Robertz (steffen.robertz@rwth-aachen.de)
2019-02-05 22:17:30 +01:00
Martine Lenders
82e293a496
Merge pull request #10412 from maribu/w5100
drivers/w5100: Fixed netdev_driver_t::recv() API
2019-02-05 16:30:42 +01:00
Peter Kietzmann
ee3efa3436
Merge pull request #10930 from silkeh/fix-hdc1000-param-renew
Fix hdc1000 renew interval documentation
2019-02-04 13:01:15 +01:00
Silke Hofstra
3cf3742f8c hdc1000: fix documentation for HDC1000_PARAM_RENEW_INTERVAL
The documentation refers to the `HDC1000_PARAM_RENEW_INTERVAL` as
`HDC1000_RENEW_INTERVAL`.
2019-02-04 11:28:31 +01:00
Peter Kietzmann
2c5d1b013e
Merge pull request #10918 from maribu/cc110x_mtu
drivers/cc110x: Fixed MTU calculation
2019-02-04 09:44:10 +01:00
Marian Buschsieweke
fc1b7f1e35
drivers/cc110x: Fixed get NETOPT_MAX_PACKET_SIZE
netdev_driver_t::get(NETOPT_MAX_PACKET_SIZE) used to return the maximum frame
size instead of the maximum layer 2 PDU size.
2019-02-01 12:24:34 +01:00
Marian Buschsieweke
4183e16820
drivers/cc110x: Replaced magic number
Introduced CC110X_L2_HDR_SIZE to get rid of magic numbers.
2019-02-01 12:23:22 +01:00
smlng
03698502e3 netstats_l2: remove obsolete struct from xbee_t 2019-02-01 11:25:27 +02:00
smlng
b8d9610316 netstats_l2: remove obsolete struct from netdev_t 2019-02-01 11:25:27 +02:00
smlng
6183d5f5c5 netdev: remove layer2 netstats from netdev drivers
Removing usage of netdev->stats in all net drivers, as it is
handled by gnrc_netif.
2019-02-01 11:25:27 +02:00
smlng
a0324bdb43 netdev: remove netapi call for layer 2 netstats
This removes the netopt to get layer 2 netstats from netdev.
2019-02-01 10:35:03 +02:00
smlng
6d0384f068 netstats: collect layer 2 netstats in gnrc_netif
This the first step in moving the collection of layer 2 netstats from
the low level driver to a central location, ie. gnrc_netif, to avoid
code duplication.
2019-02-01 10:35:03 +02:00
Kevin "Bear Puncher" Weiss
1d693403b6
Merge pull request #10743 from yegorich/uart-enhanced-settings
RFC: UART enhanced settings
2019-01-31 17:11:28 +01:00
Leandro Lanzieri
af7220c2be drivers/sds011: Fix SAUL read error return 2019-01-31 15:35:19 +01:00
Yegor Yefremov
ddf19783d7 periph/uart: add support for enhanced serial settings
As suggested in PR#5899 add a routine uart_mode() that will
setup data bits, stop bits and parity at runtime.

uart.h provides a set of enums defining these settings and each
platform will override them to specify values corresponding to
its configuration registers.

The idea behind the enums is to specify default settings i.e. 8N1
through the 0 value item. Invoking uart_mode(uart, 0, 0, 0) will
setup 8N1 mode.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-01-31 14:15:11 +01:00
Michel Rottleuthner
bba4d5b39b drivers/sds011: add saul integration 2019-01-30 13:15:17 +01:00
Michel Rottleuthner
6cffa07ed1 drivers/saul: add sensor type for particulate matter 2019-01-30 13:15:17 +01:00
Michel Rottleuthner
f5dc2524d0 drivers: add driver for SDS011 active laser dust sensor 2019-01-30 13:15:17 +01:00
Marian Buschsieweke
a81d39494f
drivers/w5100: Fix recv() with too small buffer
If netdev_driver_t::recv() is called and the provided buffer is smaller than
the frame then `-ENOBUFS` should be returned, the frame should be dropped, and
no data of the frame should be returned.

Addresses: https://github.com/RIOT-OS/RIOT/issues/10413
2019-01-29 20:38:56 +01:00
Marian Buschsieweke
ea3edef5c7
drivers/w5100: Added missing drop implementation
The netdev_driver_t::recv implementation of the w5100 does not provide the
drop feature. This commit adds it.

Fixes: https://github.com/RIOT-OS/RIOT/issues/10410
2019-01-29 20:36:37 +01:00
Marian Buschsieweke
db0c66e07f
drivers/ltc4150: Allow tracking last minute charge
Implemented an example `ltc4150_recorder_t` implementation as a proof of concept
for the recorder API.
2019-01-28 13:45:45 +01:00
Marian Buschsieweke
c434c5cd3a
drivers/saul: Integrated ltc4150 2019-01-28 13:44:45 +01:00
Marian Buschsieweke
c00886ac39
drivers/ltc4150: (Re-)implemented LTC4150 driver
The LTC4150 is a coulomb counter (a.k.a. battery sensor or bidirectional
current sensor) that is used in the MSBA2 board and available for little money
as easy to use break out board.
2019-01-28 13:44:16 +01:00
Marian Buschsieweke
ac98c98a0d
drivers/saul: Added coulomb counter & ammeter 2019-01-28 13:33:18 +01:00
Gunar Schorcht
5cb2dd32e0 drivers/enc28j60: fix of #9784 2019-01-24 23:25:17 +01:00
Ran Berant
59416fc6ce drivers/at: make at_dev_init() return uart initialize status
in case there's an error uart_init() returns an error value,
this value indicates the reason for the error thus we should
return it from at_dev_init() so the user will be able to identify
whether the init succeded or failed.
2019-01-23 19:02:14 +02:00
Gunar Schorcht
5909f38089 doc: fix undocumented define in srf04 driver 2019-01-18 07:03:54 +01:00
Gunar Schorcht
b8b0a92cf8 doc: fix undocumented variable in ads101x driver 2019-01-18 07:03:45 +01:00
Leandro Lanzieri
d9be249144
Merge pull request #10578 from MrKevinWeiss/pr/i2capi
drivers/i2c: Fix i2c api issues
2019-01-16 11:07:10 +01:00
Sebastian Meiling
2fde8335c9
Merge pull request #10728 from keestux/memcpy-struct-copy
Do normal assignment instead of memcpy
2019-01-16 09:18:44 +01:00
Martine Lenders
4ab3d1a77b
Merge pull request #10534 from bergzand/pr/kw2xrf/undedup_address
kw2xrf: Don't use netdev_ieee802154_t for link layer address
2019-01-14 11:25:41 +01:00
a6e7882879
mrf24j40: use byteorder for address operations 2019-01-13 12:03:03 +01:00
38e5bd627b
mrf24j40: Don't propagate address to 802154 layer 2019-01-12 20:23:36 +01:00
e6ace9c05d
mrf24j40: Add NETOPT_ADDRESS{,_LONG} to getters 2019-01-12 20:23:36 +01:00
f7bf03073c
mrf24j40: read address from device
This change modifies the mrf24j40 driver to read the address directly
from the device instead of returning the netdev_ieee802154_t member
2019-01-12 20:23:27 +01:00
fcb55c36cf
kw2xrf: Don't set netdev values in addr setters 2019-01-12 17:04:14 +01:00
5fa40a02fa
kw2xrf: Don't propagate address to 802154 layer 2019-01-12 17:04:13 +01:00
014901aae4
kw2xrf: Add NETOPT_ADDRESS{,_LONG} to getters 2019-01-12 17:04:13 +01:00
666e83479f
kw2xrf: Fetch short addr from device
This change modifies the kw2xrf_get_addr_short function to retrieve the
short address from the device and not from netdev
2019-01-12 17:04:13 +01:00
b044e83a44
kw2xrf: Change long address get to big endian
This change ensures that the endianess returned by the get_addr_long
is consistent with the endianess of the get_addr_short
2019-01-12 17:04:13 +01:00
b291c638d3
Merge pull request #10526 from OTAkeys/pr/adcxx1c_improve
drivers/adcxx1c: improve error handling
2019-01-11 19:48:35 +01:00
Vincent Dupont
2311cdda07 drivers/adcxx1c: fix phydat usage in saul wrapper 2019-01-11 17:40:55 +01:00
Vincent Dupont
6cf48416e5 drivers/adcxx1c: add error checking from i2c 2019-01-11 17:40:55 +01:00
Vincent Dupont
38da047864 drivers/adcxx1c: fix SAUL return value in case of read error 2019-01-11 16:31:51 +01:00
Sebastian Meiling
501f8fddf8
Merge pull request #10716 from keestux/refactor-prototypes-pulse-counter
drivers/pulse_counter: refactor the prototypes of read funcs
2019-01-11 11:43:36 +01:00
Kees Bakker
b21399b25c drivers/xbee: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
811cda15cb drivers/w5100: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
0cceb64ae9 drivers/tmp006: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
e60715d243 drivers/tcs37727: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
f1856887af drivers/sx127x: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
7715c7cdc0 drivers/slipdev: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
7be829c7e7 drivers/si70xx: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
23e2859528 drivers/sdcard_spi: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
4f9df5cac9 drivers/rn2xx3: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
287a075751 drivers/my9221: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
45a3d00552 drivers/mrf24j40: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
363d6a3df3 drivers/mpl3115a2: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
d5c4aa2a05 drivers/mma8x5x: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
885b123147 drivers/mma7660: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
8e898576dc drivers/mag3110: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
19a87dbf2d drivers/lpd8808: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
7126b1deb2 drivers/kw2xrf: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
7a66106846 drivers/hts221: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
5bb50ea6a5 drivers/hdc1000: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
2918d06e9c drivers/hd44780: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Kees Bakker
355c52ac46 drivers/dht: do normal assignment instead of memcpy 2019-01-10 19:43:43 +01:00
Kees Bakker
d79350f2ab drivers/cc2420: do normal assignment instead of memcpy 2019-01-10 19:43:43 +01:00
Kees Bakker
d0fc60a323 drivers/bmx055: do normal assignment instead of memcpy 2019-01-10 19:43:43 +01:00
Kees Bakker
f8324c3bff drivers/ata8520e: do normal assignment instead of memcpy 2019-01-10 19:43:43 +01:00
Kees Bakker
c82f9759a8 drivers/at86rf2xx: do normal assignment instead of memcpy 2019-01-10 19:43:43 +01:00
Kees Bakker
d50038f9d0 drivers/apa102: do normal assignment instead of memcpy 2019-01-10 19:43:43 +01:00
José Alamos
afa69c5567
Merge pull request #10416 from maribu/cc2420
drivers/cc2420: Implemented missing drop case
2019-01-10 16:26:40 +01:00
Martine Lenders
6a8808c511
Merge pull request #10638 from maribu/gnrc_netif_cc1xxx
net/gnrc/netif: Added CC1xxx adaption layer
2019-01-10 11:45:53 +01:00
Marian Buschsieweke
ae7024b9a3
net/gnrc/netif: Added CC1xxx adaption layer
This adaption layer is intended to be used by a rewrite of the CC110x driver and
a new CC1200 driver that is currently being developed for RIOT.
2019-01-10 10:54:36 +01:00
Sebastian Meiling
6767caea5f
Merge pull request #10709 from keestux/eliminate-cast-ds18
drivers/ds18: refactor functions with const dev pointer
2019-01-10 09:17:53 +01:00
steffen
2ff2b2c1d7 drivers: Initial support for TPS6274x converter
drivers/tps6274x: initial support step-down converter
tests/driver_tps6274x: Added testcase for the step-down converter
boards/jiminy-mega256rfr2: Added TPS6274x config
2019-01-10 00:00:02 +01:00
Kees Bakker
8991c21d30 drivers/pulse_counter: refactor the prototypes of read funcs
This change makes it more clear that the dev is modified in some of the
read functions. Only pulse_counter_read_without_reset gets a const
pointer argument.

Also, use pulse_counter_t pointers instead of void pointers where
possible.
2019-01-09 23:06:54 +01:00
Peter Kietzmann
3cf8b4de38
Merge pull request #9887 from smlng/pr/driver/enc28j60
driver/enc28j60: cleanup
2019-01-09 10:31:43 +01:00
Marian Buschsieweke
aac69c3a56
drivers/cc2420: Fixed behavior on too small buffer
As decided in https://github.com/RIOT-OS/RIOT/issues/10413 when
netdev_driver_t::recv() is called with a too small buffer the incoming frame
should be dropped and `-ENOBUFS` returned. This commit makes cc2420 compliant.
2019-01-08 23:45:06 +01:00
Marian Buschsieweke
078444902f
drivers/cc2420: Implemented missing drop feature
The netdev_driver_t::recv implementation of the cc2420 does not provide the drop
feature. This commit adds it.
2019-01-08 23:42:03 +01:00
Kees Bakker
52102a7aa0 drivers/bmx055: eliminate some casts
First, every read function converts the void pointer into a const bmx055_t

Second, it is cleaner (more obvious) to pass phydat_t.val[3] instead of
type casting to int16_t* and relying that .val[3] is the first struct
member of phydat_t.
2019-01-08 22:03:20 +01:00
Kees Bakker
9ed7d2dc18 drivers/ds18: refactor functions with const dev pointer
All DS18 functions have a dev argument. All except the init function use
it as an IN parameter, so we can prototype it as const ds18_t*.

As a consequence we can drop the cast in read_temperature() in ds18_saul.c
which was the primary trigger for the changes.

The commit also follows the preferred convention that "params" is a field
in the device struct. Only the init function needs to write it.
2019-01-08 19:25:13 +01:00
Marian Buschsieweke
19073742b2
Merge pull request #10725 from jia200x/pr/cc2420_inline_flush
drivers/cc2420: move flush sequence to inline function
2019-01-08 14:49:58 +01:00
Sebastian Meiling
838284f979
Merge pull request #10729 from keestux/replace-memset
drivers: replace memset by simple assignments
2019-01-08 14:26:23 +01:00
Jose Alamos
87e9172643 drivers/cc2420: add datasheet documentation to duplicated strobe call 2019-01-08 13:46:32 +01:00
Jose Alamos
b965b47d9b drivers/cc2420: move flush sequence to inline function 2019-01-08 13:46:32 +01:00
Kees Bakker
0cb92e1e51 drivers: replace memset by simple assignments
A memset was used to clear two of the SAUL values in phydat_t::val
The change is to replace that by the following
    res->val[1] = 0;
    res->val[2] = 0;
which makes the code more obvious.
2019-01-07 21:59:25 +01:00
Kees Bakker
1d5a67dcce drivers/bh1750fvi: change prototype of bh1750fvi_init
The params argument is now a const pointer. This eliminates the need for
a type cast that converts a const to a non-const.
2019-01-07 21:37:02 +01:00
4365d666f7
Merge pull request #10670 from OTAkeys/pr/cc110x_irq
drivers/cc110x: remove irq_disable/irq_restore around spi transfers
2019-01-07 18:49:10 +01:00
Sebastian Meiling
a57b970858
Merge pull request #10713 from keestux/eliminate-cast-adxl345
drivers/adxk345: include copy of params in dev struct
2019-01-07 16:38:52 +01:00
Sebastian Meiling
7d56a1decd
Merge pull request #10711 from keestux/eliminate-casts-lsm6dsl
drivers/lsm6dsl: eliminate and correct casts
2019-01-07 14:34:41 +01:00
Sebastian Meiling
c999d3a592
Merge pull request #10712 from keestux/lsm303dlhc-correct-phydat-cast
drivers/lsm303dlhc: correct cast of phydat_t*
2019-01-07 14:33:12 +01:00
Sebastian Meiling
e8fc13c83c
Merge pull request #10708 from keestux/eliminate-casts-ccs811
drivers/ccs811: remove unnecessary casts
2019-01-07 14:31:46 +01:00
Kees Bakker
1e4b956eeb drivers/mpu9150: correct cast of phydat_t*
The read functions have a mpu9150_results_t* argument which is a
struct with 3 int16_t members. Thus we should cast res->val instead of
just res.
2019-01-06 18:14:53 +01:00
Kees Bakker
cf560eaca7 drivers/mma8x5x: correct cast of phydat_t*
The read functions have a mma8x5x_data_t* argument which is a
struct with 3 int16_t members. Thus we should cast res->val instead of
just res.
2019-01-06 18:11:46 +01:00
Kees Bakker
ab17629b97 drivers/mag3110: correct cast of phydat_t*
The read functions have a mag3110_data_t* argument which is a
struct with 3 int16_t members. Thus we should cast res->val instead of
just res.
2019-01-06 17:57:44 +01:00
Kees Bakker
0ee426b4fe drivers/mm7660: correct cast of phydat_t*
The read functions have a mma7660_data_t* argument which is a
struct with 3 int16_t members. Thus we should cast res->val instead of
just res.
2019-01-06 17:55:47 +01:00
Kees Bakker
5265edcd26 drivers/adxk345: include copy of params in dev struct
This follows the usual convention of having the whole params in the device
struct instead of a pointer-to. This also eliminates the need to cast a
const to a non-const pointer in the init function.
2019-01-06 17:24:24 +01:00
Kees Bakker
37d8709f3f drivers/lsm303dlhc: correct cast of phydat_t*
The read functions have a lsm303dlhc_3d_data_t* argument which is a
struct with 3 int16_t members. Thus we should cast res->val instead of
just res.
2019-01-06 17:08:04 +01:00
Kees Bakker
d8edf6dd4e drivers/lsm6dsl: eliminate and correct casts
Converting phydat_t* to lsm6dsl_3d_data_t* is not correct, but it happened
to just work because the first struct member of phydat_t will be used.

Furthermore, casting &res[0] to int16_t* is wrong. Again, it just happened
to work.
2019-01-06 16:56:17 +01:00
Kees Bakker
fa431c4e97 drivers/ccs811: remove unnecessary casts 2019-01-06 14:41:47 +01:00
Kees Bakker
9e8b1edbf9 drivers/ads101x: eliminate casts
A helper variable is added, and now all type casts are not needed anymore.
2019-01-03 22:35:44 +01:00
MrKevinWeiss
b870dbb3b9 drivers/bh1750: Fix mislabeled i2c address
The i2c address when the pin is high/low are swapped.
This swaps them to match the datasheet and changes the default to low.
2019-01-03 09:08:31 +01:00
Martine Lenders
fa3d617e2e
Merge pull request #10657 from maribu/netdev_driver_pre
netdev_driver_t::recv(): Clarified documentation
2018-12-29 14:34:42 +01:00
Marian Buschsieweke
58f496de47
netdev_driver_t::recv: Extend doc on size feature
Some drivers return on netdev_driver_t::recv() not the actual frame size, but
an upper bound estimation of it. The upper layer code is already prepared to
handle that. This brings the doc in sync with the code.
2018-12-29 13:59:58 +01:00
Marian Buschsieweke
e81b6191aa
netdev_driver_t::recv: Clarified small buf case
Clarified in the documentation how netdev_driver_t::recv() should behave in case
the size of the buffer in parameter buf (indicated by parameter len) is to small
to fit the received frame.
2018-12-28 20:23:19 +01:00
Marian Buschsieweke
87055d7b6d
netdev_driver_t::recv: Added drop and size to doc
netdev_driver_t::recv does on of three things:
 - Receive the frame
 - Drop it
 - Get (an estimation of) the size of the frame

The brief section of the documentation was changed to reflect this. (And it
starts with the least obvious thing in the hope readers of the API stumble upon
it...)
2018-12-28 20:23:11 +01:00
Marian Buschsieweke
b6069eb5f5
netdev_driver_t::recv: Fixed preconditions in doc
Removed the invalid precondition in netdev_driver_t::recv that the buffer never
NULL and the length positive. (In the "get message size" case both is wrong, in
the drop message case the first part is wrong.)
2018-12-28 20:22:57 +01:00
Martine Lenders
e13bc4285b
Merge pull request #10191 from fedepell/at_recv_bytes_1
drivers/at: add function to read raw data bytes from modem
2018-12-28 12:09:35 +01:00
Vincent Dupont
6b82b8490b drivers/sx127x: remove irq_disable/irq_restore around spi transfers 2018-12-28 09:36:00 +01:00
Vincent Dupont
ffc6e4b65c drivers/cc110x: remove irq_disable/irq_restore around spi transfers 2018-12-28 09:35:14 +01:00
74d97de11d drivers/ccs811: cleanup documentation (fix codacy) 2018-12-20 12:42:44 +01:00
Gunar Schorcht
3181a2faa7 drivers/ccs811: nWAKE and nRESET moved to base 2018-12-20 12:42:44 +01:00
Gunar Schorcht
d513e9d3d3 drivers/ccs811: fix build issues on AVR platform 2018-12-20 12:42:44 +01:00
8a7edeb193 drivers/ccs811: fix build issues on ARM (#1)
* drivers/ccs811: fix types in debug messages

* drivers/driver_ccs811_full: fix unused variable build error
2018-12-20 12:42:44 +01:00
Schorcht
98af7d3d62 drivers: add driver for CCS811 gas sensor 2018-12-20 12:42:44 +01:00
Schorcht
74e1ab220c drivers: add driver for CCS811 gas sensor 2018-12-20 12:42:44 +01:00
Martine Lenders
6886ca54c2
Merge pull request #10537 from miri64/netdev_ieee802154/fix/get-iid
netdev_ieee802154: fix IID getter
2018-12-11 15:59:52 +01:00
MrKevinWeiss
0ad94e1b4b drivers/include/i2c: Fix API documentation
The write_reg/s states a repeated start write is used but that is not how the i2c is implemeneted.
Most devices also only use a continuous write so the API should be changed to match implementation and the majority of sensors.
2018-12-10 09:56:40 +01:00
MrKevinWeiss
e14e6ead92 drivers/periph_common/i2c: Add not supported codes
This commit returns accurate error codes and prevents improper i2c states.
If since i2c_read_reg and i2c_write_reg are full frames the I2C_NOSTOP/START commands should not be supported
2018-12-10 09:49:18 +01:00
Hauke Petersen
c8aaea4288 drivers/netdev_eth: use eui48 for IID generation 2018-12-06 22:02:01 +01:00
Hauke Petersen
39f0e4d5d3 periph/uart: fix line length in doc header 2018-12-06 10:08:56 +01:00
1008ab4fdf drivers/periph_eeprom: add eeprom_set function 2018-12-04 11:24:57 +01:00
50f19d1d1f drivers/periph_eeprom: add clear and erase functions 2018-12-04 11:24:57 +01:00
Sebastian Meiling
f492bbd142
Merge pull request #10535 from bergzand/pr/kw2xrf/undedup_channel
kw2xrf: Don't use netdev_ieee802154_t for channel
2018-12-03 21:00:27 +01:00
Martine Lenders
fcfc7c3357 netdev_ieee802154: fix IID getter
With ace5db70e8 the IID may be gotten from
the device again. However, following the current refactoring efforts
regarding the `netdev_ieee802154` layer, the devices don't necessarily
store the address in the `netdev_ieee802154_t` struct anymore. So we
need to access the address using the driver's `get` function here
instead.
2018-12-03 14:49:41 +01:00
Marian Buschsieweke
003c04bd4c
Merge pull request #10012 from gschorcht/drivers_sht3x
drivers: sht3x temperature and humidity sensor
2018-12-03 10:43:16 +01:00
dc70c3c218
kw2xrf: don't set netdev channel in set_channel 2018-12-03 10:17:26 +01:00
e3eaf4671f
kw2xrf: Don't propagate NETOPT_CHANNEL setter
This modification changes the netdev::set function for the kw2xrf to not
propagate the NETOPT_CHANNEL to the generic netdev_ieee802154 code
2018-12-03 10:16:08 +01:00
603b754d24
kw2xrf: Add NETOPT_CHANNEL to getters 2018-12-03 10:15:33 +01:00
Federico Pellegrin
e34d46e096 drivers/at: add function to read raw data bytes from modem 2018-11-30 14:59:00 +01:00
Martine Lenders
03b91cbcb8 esp_now: use NETDEV_TYPE_ESP_NOW as device type 2018-11-29 13:35:20 +01:00
Sebastian Meiling
4eaf1d8135
Merge pull request #10384 from bergzand/pr/netdev/ref_nid
netdev_ieee802154/radios: refactor PAN ID reset to generic ieee802154 reset
2018-11-28 12:15:45 +01:00
2abf86afb4
mrf24j40: Remove netdev access from set_pan
This write access is only required when a modification to the PAN ID
happened directly via this function and not via a netdev::set operation.
The only direct call was done in the reset function of the driver
2018-11-28 11:31:04 +01:00
5566f48f02
kw2xrf: Remove netdev access from set_pan
This write access is only required when a modification to the PAN ID
happened directly via this function and not via a netdev::set operation.
The only direct call was done in the reset function of the driver
2018-11-28 11:31:04 +01:00
bd4592a06b
cc2420: Remove netdev access from set_pan
This write access is only required when a modification to the PAN ID
happened directly via this function and not via a netdev::set operation.
The only direct call was done in the reset function of the driver
2018-11-28 11:31:03 +01:00
357eed551d
at86rf2xx: Remove netdev access from set_pan
This write access is only required when a modification to the PAN ID
happened directly via this function and not via a netdev::set operation.
The only direct call was done in the reset function of the driver
2018-11-28 11:31:03 +01:00
03653ecd39
mrf24j40: Remove PAN ID initialization from reset 2018-11-28 11:31:03 +01:00
52e68735c3
kw2xrf: Remove PAN ID initialization from reset 2018-11-28 11:31:03 +01:00
d2ddc4ef2e
cc2420: Remove PAN ID initialization from reset 2018-11-28 11:31:02 +01:00
6306308ef5
at86rf2xx: Remove PAN ID initialization from reset 2018-11-28 11:31:02 +01:00
167858077f
netdev_ieee802154: Add PAN ID to reset function
This commit adds the reset of the PAN ID to the generic ieee802154 reset
function.
2018-11-28 11:30:56 +01:00
Joakim Nohlgård
a867aeaba2 periph/i2c: Add precondition on i2c_acquire for i2c bus access 2018-11-28 08:43:01 +01:00
Martine Lenders
eaabd47dd8
Merge pull request #10275 from gebart/at86rf2xx/ed-overhaul
at86rf2xx: refactor received frame ED processing
2018-11-22 14:20:05 +01:00
059af13933
Merge pull request #10306 from aabadie/pr/drivers/mma8x5x_update
drivers/mma8x5x: remove useless type from initialization parameters
2018-11-22 10:18:43 +01:00
Hauke Petersen
a07e71418e drivers/slipdev: use netdev_set_notsup() 2018-11-21 14:33:22 +01:00
Hauke Petersen
7af516a618 netdev: add funcs for declaring get/set as notsup
This commit adds two convenience functions that allow to declare
get() and/or set() as not supported when declaring a
netdev_driver struct.
2018-11-21 14:33:22 +01:00
Schorcht
9d59e27d41 drivers: add SHT3X humidity/temperature sensor 2018-11-21 08:48:20 +01:00
a63d76b346 drivers/mma8x5x: remove use of type param
Driver now accepts all variants of the driver
2018-11-20 10:41:45 +01:00
josar
8e7c6cc26a at86rf2xx/at86rf2xx_netdev: improve documentation.
It was not obvious where `dev->idle_state` was saved.
2018-11-16 18:53:36 +01:00
Marian Buschsieweke
727b4cac1c
drivers/encx24j600: Implemented missing drop case
The netdev_driver_t::recv implementation of the encx24j600 does not provide the
drop feature. This commit adds it.

Fixes: #10410
2018-11-16 13:24:35 +01:00
836fe3dbba
Merge pull request #9890 from bergzand/pr/ethos/sync
ethos: Only accept frame if previous frame is read
2018-11-14 22:41:52 +01:00
c4608ca0eb
ethos: Only accept frame if previous frame is read 2018-11-14 22:16:04 +01:00
Sebastian Meiling
1f7ec9b208
Merge pull request #10334 from maribu/saul_rssi
{drivers/saul,sys/phydat}: Added RSSI sensor and dBm unit
2018-11-12 21:01:24 +01:00
64afc748ca
Merge pull request #10178 from jcarrano/qualifier-fixes/ethos
drivers/ethos: remove unnecessary casts.
2018-11-07 09:14:40 +01:00
Marian Buschsieweke
3cc6c7f465
drivers/saul: Added sensor type RSSI 2018-11-06 11:07:13 +01:00
Juan Carrano
53de520619 drivers/at: fix invalid function pointer cast. 2018-10-31 10:58:43 +01:00
Joakim Nohlgård
23738008a7 at86rf2xx: refactor received frame ED processing
The value at the end of the frame buffer is the ED value, same as
PHY_ED_LEVEL, which is given in dB offset from RSSI_BASE.
2018-10-27 01:45:01 +02:00
Josarn
d1261a7ef0 at86rf2xx: correct framebuffer release
This PR sets the tranceiver in PLL_ON state to avoid corruption of the
data in the frame buffer and sets it back to the last state which the
 transceiver had before changing into transmit mode after the data is
read out. This is done to avoid data corruption when `_recv(...)` is
called to retrieve the buffer size and frame buffer protection is released.
2018-10-26 19:16:34 +02:00
danpetry
99ae495226
Merge pull request #10011 from leandrolanzieri/pr/drivers/ds18
drivers/ds18: Add Maxim Integrated 1-Wire temperature sensor driver
2018-10-25 17:26:10 +02:00
Martine Lenders
bd06f7e846
Merge pull request #10250 from bergzand/pr/at86rf2xx/reenable_ack_req
at86rf2xx: Re-enable ack requests by default
2018-10-25 14:08:35 +02:00
c3da55b015
at86rf2xx: Re-enable ack requests by default
Properly splitting the flags between netdev_ieee802154 and the at86rf2xx
driver had as side effect that the ACK REQ flag was no longer set by
default. This commit reverts the default settings by enabling it again
on startup. The current code calls the generic netdev setter to set the
flag.
2018-10-25 12:17:02 +02:00
Frits Kuipers
8b8790c18f drivers/ds18: Add Maxim Integrated ds18 driver
tests/driver_ds18: Add test application for DS18B20 sensor.

tests/driver_ds18: Add whitelist of boards
2018-10-24 16:02:05 +02:00
PeterKietzmann
1bcb521469 drivers/at86rf233: extend doc for smart idle listening feature 2018-10-23 20:02:39 +02:00
Peter Kietzmann
f5379c05a3
Merge pull request #8971 from Hyungsin/forupstream_smart_idle_listening
drivers/at86rf2xx: add smart idle listening feature
2018-10-23 19:34:21 +02:00
danpetry
bed1e22e7d sys/auto_init: Changes to support SAUL
SAUL read functionality implemented only, as described in
tsl4531x_saul.c.
This driver will work with SAUL in both low and high power modes,
with the startup mode configurable in tsl4531x_params.h.
2018-10-23 17:26:28 +02:00
danpetry
a1a834a726 drivers/tsl4531x: Add power modes; redesign
Changes include:
- Implementation of two power modes for the driver: low and high
- Redesign and API change to the description in tsl4531x.h
- Full documentation
- Changing file structure and implementation to fit best practices as
  described in
  https://github.com/RIOT-OS/RIOT/wiki/Guide%3A-Writing-a-device-driver-in-RIOT
- Including I2C addresses for the rest of the range
2018-10-23 17:26:28 +02:00
Juan Carrano
5604abcedc drivers/tsl4531x: Add SAUL driver. 2018-10-23 17:26:28 +02:00
Juan Carrano
63dcc18c55 drivers/tsl4531x: Add driver for TSL45315 illuiminance sensor.
Missing run modes and power saving configurations, but otherwise
functional.
2018-10-23 17:26:28 +02:00
a8c2de12fa
Merge pull request #9870 from bergzand/pr/ethos/fix_recv_with_drop
ethos: Add drop frame case to recv function
2018-10-18 15:30:48 +02:00
Juan Carrano
4c54ceb24a drivers/ethos: remove unnecessary casts.
The code contained superfluous casts which did not preserve the
const qualifiers. Functionality is unchanged, but there are no
more warnings reported by -Wcast-qual for this module.
2018-10-17 17:31:33 +02:00
José Alamos
b3ec93d957
Merge pull request #10088 from unwireddevices/riot-fix-adxl345
drivers/adxl345: fix ADXL345 driver
2018-10-16 16:34:41 +02:00
Kevin "Bear Puncher" Weiss
0628345364
Merge pull request #10093 from aabadie/pr/drivers/periph_eeprom_refactor
drivers/periph_eeprom: refactor implementation and test application
2018-10-16 16:30:40 +02:00
Semjon Kerner
5b0152f4f7 drivers/netdev_ieee802154: drop NETOPT_MAX_PKT_SIZE 2018-10-16 13:28:03 +02:00
Semjon Kerner
2728065be4 drivers/netdev_ieee802154: support NETOPT_MAX_PKT_SIZE 2018-10-16 13:27:21 +02:00
e9a6ebc409 cpu: drivers/eeprom: refactor periph_eeprom implementation 2018-10-16 10:39:10 +02:00
Gunar Schorcht
7fde6fc258
Merge pull request #6712 from aabadie/driver_vcnl4010
drivers/vcnl4010: initial implementation
2018-10-15 16:12:45 +02:00
f2c1355560 drivers/adxl345: move scale factor macro to internal implem 2018-10-15 15:00:04 +02:00
Leandro Lanzieri
7a39f03986 drivers/adxl345: Fix byte swap on reading function 2018-10-15 14:57:55 +02:00
Oleg Artamonov
acda8c8828 drivers/adxl345: macros cleanup 2018-10-15 14:57:55 +02:00
Oleg Artamonov
631c16fdb1 drivers/adxl345: fix range values 2018-10-15 14:57:55 +02:00
Oleg Artamonov
de5f38d134 drivers/adxl345: fix scale factor calc 2018-10-15 14:57:55 +02:00
Oleg Artamonov
fb65067d3a drivers/adxl345: fix ADXL345 driver 2018-10-15 14:57:55 +02:00
Peter Kietzmann
b2c791c6cb
Merge pull request #10135 from miri64/cpu/enh/periph-gpio-irq-closing-endif
cpu, periph_gpio: mark closing #endif for MODULE_PERIPH_GPIO_IRQ
2018-10-15 13:41:02 +02:00
1ca44cf072 drivers/vcnl40x0: initial implementation 2018-10-15 11:44:10 +02:00
9cedd7e244 drivers/saul: add proximity sensor type 2018-10-15 11:44:04 +02:00
Kevin "Bear Puncher" Weiss
33aa604dd7
Merge pull request #10145 from gschorcht/drivers_hd44780_fix
drivers/hd44780: fix compilation errors
2018-10-12 09:51:15 +02:00
Hauke Petersen
5f50db07e8 misc: use correct hauke.petersen@fu email address 2018-10-11 12:20:37 +02:00
Gunar Schorcht
11be2035dd drivers/hd44780: fix compilation errors 2018-10-11 08:21:28 +02:00
Martine Lenders
0598d5bcf1 periph_gpio: comment IRQ #endif correctly 2018-10-09 15:11:45 +02:00
Martine Lenders
a95957e513
Merge pull request #9992 from haukepetersen/fix_periph_gpiofeaturesscope
periph/gpio: fix scope of GPIO_IRQ submodule
2018-10-09 15:10:39 +02:00
0c53bebe1b
Merge pull request #10094 from silkeh/enable-bme280-doc
drivers/bmx280: improve documentation
2018-10-04 10:56:16 +02:00
Martine Lenders
aba75be827 netdev: fix return value and precondition doc
While reviewing #9942 I noticed that the documentation on the netdev
driver API is unclear and in some cases outright contradicting itself:

> ```
> @return              number of bytes used from @p value
> @return              `< 0` on error, 0 on success
> ```

IMHO this is unacceptable for such a central API where communication

This fixes a few things and also clarifies preconditions:

- Specifies negative `errno`s clearly so all drivers return the same
  when required
- Re-iterates parameter preconditions and special cases within the
  parameter documentation itself (might also help towards #9805?)
- Fixes contradictions within return value documentation
- Adds missing parameter documentation on `init()`.
2018-10-03 16:09:42 +02:00
Silke Hofstra
2fb2776012 drivers/bmx280: improve documentation
- Add minimal usage instructions
- Ensure that the `bme_280_read_humidity` function (only available on
  the BME280) is included in the documentation.
- Fix a typo
2018-10-01 21:28:11 +02:00
Hauke Petersen
38750f1e30 drivers/l3g4200d: fix typo in src file header 2018-09-26 11:00:48 +02:00
6dfc07b076 drivers/sx127x: remove useless rx timeout setter 2018-09-25 22:22:13 +02:00
smlng
59e299635b cppcheck: add/correct reason for cppcheck-suppress
Adding and correcting description/rational on why certain cppcheck
warnings or errors are intentionally suppressed.
2018-09-25 12:03:58 +02:00
Vincent Dupont
1f2985dfc6
Merge pull request #9952 from OTAkeys/at_fix_buffer_memset
at driver: allow using same buffer for command and response in at_send_cmd_get_lines()
2018-09-24 17:33:58 +02:00
Joakim Nohlgård
c4016fcf3b
Merge pull request #9978 from haukepetersen/fix_periph_gpiofeaturescopeanddoc
periph/gpio: fix doc of `periph_gpio_irq` submodule
2018-09-21 13:15:19 +02:00
1c2dd28c90
Merge pull request #9937 from dylad/fix_mutex_tsl2561
drivers/tsl2561: add missing acquire∕release functions
2018-09-21 10:28:42 +02:00
Hauke Petersen
bd66184eb2 periph/gpio: re-add irq functions to doxygen 2018-09-21 08:31:09 +02:00
Hauke Petersen
abc11c8e23 periph/gpio: fix scope of GPIO_IRQ submodule
Move the gpio_irq_enable() and gpio_irq_disable() functions
into the scope of the PERIPH_GPIO_IRQ submodule.
2018-09-21 08:30:29 +02:00
Semjon Kerner
b24de4a22a drivers/srf04: initial driver implementation 2018-09-20 15:18:49 +02:00
semjonkerner
83711b4819 drivers/Makefile.dep: order modules alphabetically 2018-09-20 11:00:21 +02:00
semjonkerner
603c04e2cc drivers/Makefile.dep: delete duplicate srf02 module 2018-09-20 11:00:21 +02:00
Leandro Lanzieri
5cc7b6711f drivers/sx127x: add preliminar multi interrupt pin support
drivers/sx127x: add option to use or not multi dio
2018-09-18 14:02:31 +02:00
Toon Stegen
021ab9764a at driver: fix at_send_cmd_get_lines bug
When reusing the same buffer for the at command and response, no command
would be sent because the buffer was cleared. This is fixed by only
clearing the buffer after the command has been sent.
2018-09-18 12:16:09 +02:00
761987ef0d
ethos: Add drop frame case to recv function
The ethos driver does not drop the received frame if the recv function
is called with NULL buffer and with a length. This commit fixes that.
2018-09-18 11:20:29 +02:00
dylad
014884264f drivers/tsl2561: add missing acquire∕release functions 2018-09-14 14:10:08 +02:00
smlng
a9e848f648 periph/rtt: add missing std header
The periph/rtt.h uses `uintX_t` typedefs but misses the required
standard header file, namely `stdint.h`, which is added here.
2018-09-07 14:54:23 +02:00
smlng
f35e4786f3 drivers/enc28j60: always set memory bank, if valid
Simplify handling of memory banks, ie. remove check if current bank
is target bank and set it explicitly every time.
2018-09-05 13:26:08 +02:00
smlng
4759f691fc drivers/enc28j60: cleanup
Simplify usage of params via MACROs and copy params struct instead
of (re)assigning values to driver struct. Overall code cleanup.
2018-09-05 13:26:08 +02:00
Joakim Nohlgård
ace717ee27 drivers: Add dep on periph_gpio_irq in drivers using GPIO IRQ 2018-08-29 08:53:20 +02:00
bee9a210bc
Merge pull request #9844 from gebart/pr/features-fixup
drivers: Add missing dependencies
2018-08-27 12:50:03 +02:00
9f8386c215 drivers*: add saul doc group to related drivers 2018-08-27 11:32:20 +02:00
Joakim Nohlgård
bf851482b2 drivers: dep: Add missing xbee periph deps 2018-08-26 08:10:13 +02:00
Joakim Nohlgård
deacf9c4a7 drivers: dep: Add missing srf08 periph_i2c dep 2018-08-26 08:10:13 +02:00
Joakim Nohlgård
2d7c43f223 drivers: dep: Add missing srf02 deps 2018-08-26 08:10:13 +02:00
Joakim Nohlgård
00f5177d78 drivers: dep: Add missing pcd8544 periph deps 2018-08-26 08:10:13 +02:00
Joakim Nohlgård
af6db2fe28 drivers: dep: Add missing nvram_spi periph_spi dep 2018-08-26 08:10:13 +02:00
Joakim Nohlgård
4a7a5cf5e3 drivers: dep: Add missing nrf24l01p deps 2018-08-26 08:10:13 +02:00
Joakim Nohlgård
9ad69eaba9 drivers: dep: Add missing mq3 periph_adc dep 2018-08-26 08:10:13 +02:00
Joakim Nohlgård
1858d40594 drivers: dep: Add missing lsm303dlhc periph_i2c dep 2018-08-26 08:10:13 +02:00
Joakim Nohlgård
3be0913434 drivers: dep: Add missing lps331ap periph_i2c dep 2018-08-26 08:10:13 +02:00
Joakim Nohlgård
9c25768540 drivers: dep: Remove reference to deleted lm75a driver 2018-08-26 08:10:13 +02:00
Joakim Nohlgård
00017f3f41 drivers: dep: Add missing lc709203f periph dep 2018-08-26 08:10:11 +02:00
Joakim Nohlgård
e35884c048 drivers: dep: Add missing kw2xrf periph_gpio dep 2018-08-26 08:10:07 +02:00
Joakim Nohlgård
eaa6fb381c drivers: dep: Add missing isl29125 periph_i2c dep 2018-08-26 08:10:05 +02:00
Joakim Nohlgård
7b5dae8d3d drivers: dep: Add missing isl29020 periph_i2c dep 2018-08-26 08:10:03 +02:00
Joakim Nohlgård
658f751f56 drivers: dep: Add missing ina220 periph_i2c dep 2018-08-26 08:09:58 +02:00
Joakim Nohlgård
dfc05cc545 drivers: dep: Add missing hih6130 periph_i2c dep 2018-08-26 08:09:56 +02:00
Joakim Nohlgård
bd8630518b drivers: dep: Add missing adt7310 periph_spi dep 2018-08-26 08:09:52 +02:00
Martine Lenders
0f91735280
Merge pull request #9129 from OTAkeys/pr/mtd_spi_nor_4byte
mtd_spi_nor: add 4-byte address flash support
2018-08-24 22:22:52 +02:00
608e92e0be drivers/ata8520e: small improvements
- move ata8520e_status from public interface to private implementation
- add useful references to the datasheet
2018-08-24 15:47:24 +02:00
Hauke Petersen
c2184f3454 boards/cpu/drivers/sys: use generic stdio_ if 2018-08-22 10:54:25 +02:00
463b04aa74
Merge pull request #7067 from dylad/adxl345_fix
drivers/adxl345: fixes & cleanup
2018-08-22 10:23:46 +02:00
d94d1854ec
Merge pull request #9234 from kYc0o/move_eeprom_to_periph
drivers/periph_common/eeprom: move EEPROM definitions to periph_cpu.
2018-08-21 10:25:44 +02:00
Francisco Acosta
861fbe9a11
Merge pull request #9510 from Josar/pr/at86rf2xx_rssi
at86rf2xx: correct rssi
2018-08-20 14:52:06 +02:00
7425ac92aa
Merge pull request #9581 from bergzand/pr/at86rf2xx/flag_refactor
at86rf2xx: Move flags from netdev to radio
2018-08-17 10:51:23 +02:00
Francisco Acosta
71d3c14354 drivers/periph_common/eeprom: remove the now unnecessary cpu.h include 2018-08-15 15:27:03 +02:00
Francisco Acosta
a22d7ad5cd drivers: prepare for moving EEPROM definitions
IMHO and I think it's more logical, EEPROM definitions don't belong
to cpu_conf.h but to periph_conf.h, thus I moved all of them to that
place.
2018-08-15 14:53:56 +02:00
Joakim Nohlgård
1652e5ae24 sht1x: Fix Wimplicit-fallthrough warning 2018-08-14 10:05:15 +02:00
Gaëtan Harter
939ca4e1bf
drivers/sdcard_spi: fix uint64_t cast location
When compiling `tests/drivers_sdcard_spi` with `avr-gcc: avr-gcc (GCC) 6.4.0`
it detected this error

    RIOT/drivers/sdcard_spi/sdcard_spi.c:1012:72:
    error: result of '512 << 10' requires 21 bits to represent, but 'int' only has 16 bits [-Werror=shift-overflow=]
    return (card->csd.v2.C_SIZE + 1) * (uint64_t)(SD_HC_BLOCK_SIZE << 10);
2018-08-09 09:12:23 +02:00
MichelRottleuthner
6bc069e3bd
Merge pull request #9386 from Hyungsin/forupstream_hdc1000
drivers/hdc1000: change renew_interval to a parameter
2018-08-07 17:32:03 +02:00
Hyungsin
e0d3f5b552 drivers/at86rf2xx: add smart idle listening feature 2018-08-06 13:56:42 -07:00
Hyungsin
88895bbed9 drivers/hdc1000: change renew_interval to a parameter 2018-08-06 12:33:53 -07:00
Martine Lenders
81bad0d6e8 mtd_sdcard: fix printf format strings 2018-08-06 12:19:44 +02:00
dylad
d114e2852c drivers/adxl345: fixes & cleanup
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-08-03 11:12:25 +02:00
Martine Lenders
7f04742e0b
Merge pull request #9687 from cladmi/pr/llvm/sx127/wformat
sx127x: fix -Wformat llvm warning
2018-08-02 18:35:29 +02:00
Gaëtan Harter
6ba37a902d
drivers/sx127x: Fix -Wformat llvm warning
Fixed warning

    format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
2018-08-02 17:25:27 +02:00
smlng
a3dc63b16c drivers/mma7660: adapt to new I2C API 2018-08-02 15:52:58 +02:00
Michael Andersen
e354824bcf drivers/mma7760: Add initial support 2018-08-02 15:52:58 +02:00
Sebastian Meiling
26c689ffbb
Merge pull request #9548 from RIOT-OS/new_i2c_if3
I2C: introduce and adapt new I2C interface (2nd attempt)
2018-08-02 12:00:59 +02:00
Martine Lenders
39304987c3
Merge pull request #9668 from gschorcht/sdcard_spi
driver/sdcard_spi: fix of issue #9667
2018-08-01 22:16:55 +02:00
Gunar Schorcht
bd4661bc19 drivers/sdcard_spi: fix of #9667 2018-08-01 20:41:30 +02:00
Martine Lenders
af30e08351
Merge pull request #8378 from Icaltary/sx127x_get_rx_state
drivers/sx127x: return correct state when device is receiving
2018-08-01 17:34:41 +02:00
Peter Kietzmann
e897826cc7
Merge pull request #9616 from bergzand/pr/at86rf2xx/always_set_channel
at86rf2xx: Always set channel on device
2018-07-31 18:33:44 +02:00
Josarn
4482c9851a at86rf2xx: correct rssi
AT86RF231 MAN. p.89 8.3.2 Reading RSSI
AT86RF232 MAN. p.88 8.3.2 Reading RSSI
AT86RF233 MAN. p.99 8.4.2 Reading RSSI

"It is not recommended reading the RSSI value when using the Extended  Operating Modes, use ED instead"
2018-07-26 13:37:23 +02:00
smlng
76d3a4e30a driver/srf08: remove leftover doc
Remove doc for params and return values which are not used
    anymore after I2C API rework.
2018-07-25 12:01:40 +02:00
smlng
2db2ce2dc7 doc: rename sections in i2c.h 2018-07-25 12:01:40 +02:00
Joakim Nohlgård
3994c51b31 drivers/hih6130: adapt to new i2c API 2018-07-25 12:01:40 +02:00
Vincent Dupont
034d7f0b8f adcxx1c: adapt to new i2c API 2018-07-25 12:01:40 +02:00
Michel Rottleuthner
906a19779e drivers/lc709203f: adapt to new i2c API 2018-07-25 12:01:40 +02:00
Michel Rottleuthner
2e6ff0f197 drivers/ds1307: remove unused clock param 2018-07-25 12:01:40 +02:00
Michel Rottleuthner
1362289daf drivers/ds1307: adapt to new i2c API 2018-07-25 12:01:40 +02:00
Michel Rottleuthner
df52d6b1b8 drivers/bh1750fvi: remove unused clock param 2018-07-25 12:01:40 +02:00
Michel Rottleuthner
27f8924bed drivers/bh1750fvi: adapt to new i2c API 2018-07-25 12:01:39 +02:00
a82f4e1778 drivers/lis3mdl: adapt to new i2c API 2018-07-25 12:01:39 +02:00
fc17eb4c55 drivers/isl29020: adapt to new I2C api 2018-07-25 12:01:39 +02:00
0b78a1bec5 drivers/isl29020: rework driver API and params definition 2018-07-25 12:01:39 +02:00
Matthew Blue
c3363587be drivers/ads101x: update I2C API 2018-07-25 12:01:39 +02:00
Michel Rottleuthner
d48747f194 drivers/jc42: adapt to new i2c API 2018-07-25 12:01:39 +02:00
smlng
41f4ac6dce drivers/bmx055: use i2c_acquire and _release
add missing i2c_acquire and i2c_release calls to properly guard
    i2c read and write operations.
2018-07-25 12:01:39 +02:00
smlng
b24bf4bcc8 drivers/bmx055: adapt to new i2c api 2018-07-25 12:01:39 +02:00
Matthew Blue
bc9b3ecaae */ads101x: copyright notice update 2018-07-25 12:01:39 +02:00
779de1e3d2 drivers/io1_xplained: adapt to at30tse75x new init api 2018-07-25 12:01:39 +02:00
smlng
11356f602f driver: fix cppcheck error in pn532
cppcheck reported 'duplicateBranch' error in 2 if-else
    statements, b/c they are empty when running static-tests.
2018-07-25 12:01:39 +02:00
f113f93ca8 drivers/mag3110: adapt to new I2C api 2018-07-25 12:01:39 +02:00
2afd84f9ca drivers/mag3110: use new driver params scheme 2018-07-25 12:01:39 +02:00
Michel Rottleuthner
dd852a2b53 drivers/pn532: adapt to new i2c API 2018-07-25 12:01:39 +02:00
3ff45726a8 drivers/mpu9150: adapt to new I2C api 2018-07-25 12:01:39 +02:00
2449655ba7 drivers/tsl2561: adapt to new I2C api 2018-07-25 12:01:39 +02:00
e78739a9a3 drivers: add tsl2561 dependencies 2018-07-25 12:01:39 +02:00
95a4d8d4e7 drivers/tsl2561: rework API for consistency 2018-07-25 12:01:39 +02:00
d92b4c6759 drivers/tsl2561: use new driver params scheme 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
21bd356d8d drivers/fxos8700: adapt to new i2c API 2018-07-25 12:01:38 +02:00
Hyungsin
f2a05ec8bc drivers/tmp006: adapt to new i2c API 2018-07-25 12:01:38 +02:00
Hyungsin
79430a208a drivers/hdc1000: adapt to new i2c API 2018-07-25 12:01:38 +02:00
Joakim Nohlgård
34bddca083 drivers/ina220: adapt to new I2C api 2018-07-25 12:01:38 +02:00
Michel Rottleuthner
8173aff6ec drivers/isl29125: adapt to new i2c API 2018-07-25 12:01:38 +02:00
MrKevinWeiss
d0f86d0611 drivers/srf02: Update to new i2c API 2018-07-25 12:01:38 +02:00
MrKevinWeiss
89bd96e1b0 drivers/srf08: Turn debug off and cleanup 2018-07-25 12:01:38 +02:00
MrKevinWeiss
0c0ae1855d drivers/srf08: cleanup and fixes for new api 2018-07-25 12:01:38 +02:00
MrKevinWeiss
98f6fd49a8 drivers/srf08: port to new api 2018-07-25 12:01:38 +02:00
Michel Rottleuthner
e5976ad497 drivers/isl29125: update parameter definition scheme 2018-07-25 12:01:38 +02:00
3f34e32617 drivers/hts221: adapt the i2c api return codes 2018-07-25 12:01:38 +02:00
Bas Stottelaar
a8a9283f7a drivers: si70xx: adapt to new I2C api. 2018-07-25 12:01:38 +02:00
Bas Stottelaar
76b1200460 drivers: bmx280: adapt to new I2C api. 2018-07-25 12:01:38 +02:00
78c5b46eac drivers/tcs37727: adapt to new I2C api 2018-07-25 12:01:38 +02:00
a85fbd2c75 sys/auto_init: update tcs37727 auto_init 2018-07-25 12:01:38 +02:00
a48a90f234 drivers/tcs37727: use new driver params scheme 2018-07-25 12:01:38 +02:00
219277e884 drivers/l3g4200d: adapt to new I2C api 2018-07-25 12:01:38 +02:00
2ace1a2dfe drivers/l3g4200d: rework driver API and params definition 2018-07-25 12:01:38 +02:00
ec25c1f7b0 drivers/lsm303dlhc: adapt to new I2C api 2018-07-25 12:01:38 +02:00
d81cf561b0 drivers/lsm303dlhc: rework driver API and params definition 2018-07-25 12:01:38 +02:00
d1a19db350 drivers/lps331ap: adapt to new I2C api 2018-07-25 12:01:38 +02:00
71d8b80512 drivers/lps331ap: rework driver API and params definition 2018-07-25 12:01:38 +02:00
a2d1558922 drivers/bmp180: adapt to new I2C api 2018-07-25 12:01:38 +02:00
7a12293eb1 drivers/at30tse75x: adapt to new I2C api 2018-07-25 12:01:38 +02:00
21e728123d drivers/mpl3115a2: adapt to new i2c API 2018-07-25 12:01:38 +02:00
b93245f489 drivers/veml6070: adapt to new I2C api 2018-07-25 12:01:38 +02:00
bad10174f5 drivers/lsm6dsl: adapt the i2c api return codes 2018-07-25 12:01:38 +02:00
f60b9570af drivers/si114x: adapt to new i2c api 2018-07-25 12:01:38 +02:00
dylad
ef8ed2620c periph_common/i2c: introduce new ret codes scheme 2018-07-25 12:01:34 +02:00
Joakim Nohlgård
872251d011 periph/i2c: Add 10 bit addressing magic number definition 2018-07-25 12:01:34 +02:00
Vincent Dupont
cc9836d792 drivers/mma8x5x: adapt to new i2c API 2018-07-25 12:01:34 +02:00
Joakim Nohlgård
f2a2427fcd periph/i2c: Editorial changes to i2c.h 2018-07-25 12:01:34 +02:00
01509b294f drivers/periph_i2c: i2c_init should return void 2018-07-25 12:01:34 +02:00
016c3e465b drivers/hts221: remove useless i2c_init call
This is automatically called by the periph_init function
2018-07-25 12:01:34 +02:00
c85e84bbde drivers/periph_common: init i2c only if module is loaded 2018-07-25 12:01:34 +02:00
Joakim Nohlgård
1dfc5f8f52 periph/i2c: Editorial doc changes 2018-07-25 12:01:34 +02:00
dylad
cfc826012f drivers/adxl345: update driver to the new I2C API
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
c2eb316039 drivers/i2c: improve common i2c driver
- fix reag/write regs function (NOSTART/NOSTOP flags missing)
- use ret variable name instead of err (cosmetic)
- split PERIPH_I2C_NEED_READ/WRITE_REGS to simplify cpu side implementation
2018-07-25 12:01:34 +02:00
406d180dc2 drivers/hts221: adapt to new I2C API 2018-07-25 12:01:34 +02:00
b866bdb9d9 drivers/lsm6dsl: adapt to new I2C API 2018-07-25 12:01:34 +02:00
d8e0745c06 drivers/periph_i2c: fix build issue with return code type 2018-07-25 12:01:34 +02:00
dylad
39cb0e2bdb periph_common/i2c: fix ret code handling
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
6f25886d77 drivers/periph/i2c: fixes issues in API
- non matching doxygen input parameter to i2c_write_reg
- non/matching missing function parameter
- invalid return type to i2c_release
2018-07-25 12:01:34 +02:00
dylad
7fccd21dad periph/i2c: fix unspotted typos
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
dylad
4a24ce8212 drivers/i2c: add default fallback wrappers
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
dylad
e11a37df03 drivers/i2c: modify I2C API
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
dylad
496175b361 periph/i2c: add default fallback wrappers I2C functions
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
Hauke Petersen
45ab3ea89d drivers/periph: introduced new I2C interface 2018-07-25 12:01:34 +02:00
Hauke Petersen
5e1467e747 drivers/periph_common: included I2C initialization 2018-07-25 12:01:34 +02:00
b025362a7a
at86rf2xx: Always set channel on device
This removes the check if the current configured channel equals the new
channel. This check prevents the at86rf2xx channel to be configured
after a reset which causes the radio to be non-functional after a
NETOPT_STATE_RESET.
2018-07-20 12:15:29 +02:00
Martine Lenders
e986562631 lis3mdl: fix default params
In the default config .odr and .scale where switched around.
2018-07-19 19:14:08 +02:00
Peter Kietzmann
93fcb245c2
Merge pull request #9113 from enzingerm/master
w5100: fixed RX interrupt handling
2018-07-19 13:59:53 +02:00
Peter Kietzmann
063c54ac3d
Merge pull request #9077 from gschorcht/enc28j60-improve
enc28j60: improvements to fix #9043
2018-07-17 19:45:18 +02:00
Gunar Schorcht
738c1161c0 enc28j60: improvements to fix #9043 2018-07-17 19:19:15 +02:00
Peter Kietzmann
ab5771bbf8
Merge pull request #9587 from bergzand/pr/kw2xrf/fix_ack_req
kw2xrf: Fix ack flag handling
2018-07-17 18:43:26 +02:00
1dd4a46c90
Merge pull request #9584 from PeterKietzmann/pr_cc2420_max_pkt_size
drivers/cc2420: add netopt NETOPT_MAX_PACKET_SIZE
2018-07-17 14:12:10 +02:00
b21c4f6f98
kw2xrf: fix NETOPT_AUTOACK getter and setter
Missing getter for NETOPT_AUTOACK and getter should return the size of
the variable (should not propagate to the netdev_ieee802154_get
function
2018-07-17 13:58:58 +02:00
4b723859f3
kw2xrf: use ACK_REQ flag for ACK check on TX 2018-07-17 13:57:30 +02:00
Peter Kietzmann
2bc48c3953
Merge pull request #9577 from bergzand/pr/netdev/rem_default_tell_opts
drivers/radios: remove default event reporting flags
2018-07-17 13:47:33 +02:00
PeterKietzmann
838b18e8f9 drivers/cc2420: add netopt NETOPT_MAX_PACKET_SIZE 2018-07-17 12:00:12 +02:00
d9d99f9e24
at86rf2xx: Move flags from netdev to radio
The flags from the ieee802154 struct are only used in the radio code.
there is no advantage of having them in the netdev_ieee802154_t struct
if the flags are defined differently per radio driver.
2018-07-17 11:15:12 +02:00
Vincent Dupont
21867b2867 drivers/at: ad poweron/off functions 2018-07-17 10:02:36 +02:00
aecbad960a
netdev: Initialize sequence number to random value 2018-07-16 15:36:30 +02:00
71fac036e5
mrf24j40: Remove default event report settings 2018-07-16 14:43:45 +02:00
be7c4f7f28
kw2xrf: Remove default event report settings 2018-07-16 14:43:28 +02:00
965cece510
cc2420: Remove default event report settings 2018-07-16 14:43:12 +02:00
173136a270
at86rf2xx: Remove default event report settings 2018-07-16 14:40:51 +02:00
Peter Kietzmann
fd8ef789b7
Merge pull request #9531 from bergzand/pr/netdev/reset_refactor
netdev_ieee802154: Add and use common reset function
2018-07-13 12:01:14 +02:00
517f4d37cc
mrf24j40: Fix netdev recv implementation
The mrf24j40 driver should return the frame length when both buf is NULL
and len is zero and drop the packet when len is nonzero and buf is NULL.
This commit fixes that behaviour
2018-07-12 15:54:31 +02:00
91bd1a38ba
mrf24j40: use netdev reset function 2018-07-11 09:39:18 +02:00
71e5ce9a68
kw2xrf: use netdev reset function 2018-07-11 09:39:17 +02:00
327295a1e1
cc2420: use netdev reset function 2018-07-11 09:39:17 +02:00
c04cb23cbc
at86rf2xx: Use netdev reset function 2018-07-11 09:39:12 +02:00
Vincent Dupont
071614bf04
Merge pull request #8543 from OTAkeys/pr/rtt_clean_up
periph_rtt: remove RTT_NUMOF guard and init from periph_common
2018-07-10 15:00:53 +02:00
123b275b23
netdev: Add common ieee802154 reset function
Resets flags, sequence number and protocol.
2018-07-10 14:27:52 +02:00
Josarn
86b4dd43b0 at86rfr2xx: NETOPT_CSMA_RETRIES parenthesis
Reorder parenthesis to improve readability.
2018-07-06 16:50:50 +02:00
Josarn
5d69406d47 at86rfr2xx: uncrustified 2018-07-06 13:20:03 +02:00
4ea93f3aea
Merge pull request #8542 from OTAkeys/pr/at_oob
drivers/at: at out-of-band data support for at commands parser
2018-07-04 19:01:28 +02:00
Michel Rottleuthner
41d103ad10 drivers/pn532: fix wrong buffer type 2018-06-29 16:48:59 +02:00
Joakim Nohlgård
904c583038
Merge pull request #8697 from aabadie/pr/drivers/params/lis3dh
drivers/lis3dh: apply unified driver params scheme + cleanup
2018-06-28 10:52:48 +02:00
6e6716a1a6
Merge pull request #9317 from maribu/sht1x
drivers/sht11: Major refactoring
2018-06-27 10:10:39 +02:00
Marian Buschsieweke
b91359b05b
drivers/sht1x: Added SAUL integration 2018-06-27 08:58:05 +02:00
Marian Buschsieweke
de9b67bdc2
drivers/sht1x: Major refactoring
- Use RIOT's GPIO interface to access the sensor to increase portability
- Changed API to allow more than one sensor per board
- Added `sht1x_params.h` that specifies how the sensors is connected - each
  board can overwrite default settings by #defining SHT1X_PARAM_CLK and
  SHT1X_PARAM_DATA
- Changed arithmetic to use integer calculations only instead of floating point
  arithmetic
- Added support for checking the CRC sum
- Allow optional skipping of the CRC check to speed up measuring
- Added support for advanced features like reducing the resolution and skipping
  calibration to speed up measuring
- Allow specifying the supply voltage of sensor which heavily influences the
  temperature result (and use that information to calculate the correct
  temperature)
- Reset sensor on initialization to bring it in a well known state
- Support for the obscure heater feature. (Can be useful to check the
  temperature sensor?)
- Updated old SHT11 shell commands to the new driver interface, thus allowing
  more than one SHT10/11/15 sensor to be used
- Added new shell command to allow full configuration of all attached SHT1x
  sensors
- Removed old command for setting the SHT11 temperature offset, as this feature
  is implemented in the new configuration command
2018-06-27 08:58:00 +02:00
Marian Buschsieweke
d208c224b0
drivers: Renamed module sht11 to sht1x
The sensor family SHT10, SHT11 and SHT15 only differ in their accuracy (as in
calibration, not as in resolution). Thus, the same driver can be used for all.
The new driver name better reflects this fact.
2018-06-27 08:57:58 +02:00
Hyungsin
0c5c3d9b77 driver/pir: add pir-based occupancy sensing 2018-06-26 13:46:37 -07:00
Vincent Dupont
3393888cea drivers/at: add URC registering and parsing feature 2018-06-26 10:03:10 -07:00
42c4460daf
Merge pull request #9325 from aabadie/pr/saul/tvoc_ppb
drivers/saul :sys/phydat: add definitions for TVOC sensor type and PPB unit
2018-06-25 12:20:11 +02:00
Hyungsin
1b7345535c drivers/pulse_counter: make gpio_mode configurable 2018-06-19 14:50:37 -07:00
ceb9710b3e drivers/at: make OK and ERROR replies configurable 2018-06-13 09:49:13 +02:00
a08e9919a9 drivers: fix doxygen grouping 2018-06-11 19:10:40 +02:00
698fbf98cc drivers/saul: add definitions TVOC sensor type 2018-06-11 15:46:21 +02:00
Hauke Petersen
203a5ecfb4 drivers/Make.dep: add servo dependencies 2018-06-07 11:11:39 +02:00
ad31664f48
Merge pull request #9185 from OTAkeys/pr/add_at_parser_eol
driver/at: add option to keep EOL character in readline, and make EOL configurable
2018-05-29 19:57:12 +02:00
Vincent Dupont
3f620d582d at: make receive EOL configurable 2018-05-29 17:30:55 +02:00
Vincent Dupont
3f94bd20f4 drivers/at: add option to keep CR char 2018-05-29 17:30:55 +02:00
Marian Buschsieweke
ee33bd167a
drivers/cc110x: Made address format in debug output consistent 2018-05-29 15:57:30 +02:00
Marian Buschsieweke
2f3d811e99
drivers: Improved debug output in cc110x 2018-05-28 20:27:15 +02:00
Marian Buschsieweke
30c79a66d0
drivers: Replaced magic numbers in cc110x
Replaced magic undocumented numbers in the code by human readable preprocessor
macros.
2018-05-24 19:28:46 +02:00
Marian Buschsieweke
cbff3e6d3a
drivers: Implemented missing function in cc110x
Function cc110x_state_to_text is defined and (with ENABLE_DEBUG) referenced,
but implemented. This commit adds the missing implementation.
2018-05-24 19:17:59 +02:00
Marian Buschsieweke
b4f70be9ef
drivers: Fixed struct documentation for cc110x 2018-05-24 19:16:52 +02:00
9fa58af73b drivers/periph: add API for internal MCU EEPROM 2018-05-24 14:07:55 +02:00
d6eddde5e1 drivers/periph: fix doxygen groups in implementation 2018-05-24 09:11:43 +02:00
Vincent Dupont
84874e61d3
Merge pull request #7084 from kaspar030/add_at_parser
drivers: initial commit of generic AT parser module
2018-05-23 17:33:05 +02:00
0199f36bb3 drivers: at: many improvements 2018-05-23 16:08:28 +02:00
Vincent Dupont
7340e77328 drivers/at: add at_send_cmd_wait_prompt and at_send_bytes 2018-05-23 16:08:28 +02:00
Vincent Dupont
ee29b76c89 drivers/at: make EOL char configurable 2018-05-23 16:08:28 +02:00
9c9fad6da5 drivers: initial commit of generic AT parser module 2018-05-23 16:08:28 +02:00
de783eed78 boards/nucleo-f411re: rename to marketing name 2018-05-22 21:52:41 +02:00
Marian Buschsieweke
a6f9a86597
drivers/cc110x: Moved cc110x_params.h from boards to driver
- Replaced magic numbers in the CC110X configuration of the MSBA2
   with SPI_DEV(x) and GPIO_PIN(x, y) macros
 - Adjusted implementation of `cc110x_params.h` to match the code of `at86rf2xx`
 - Made MSBA2's CC110X parameters the default configuration
2018-05-21 22:59:46 +02:00
Marinus Enzinger
9bd15141a3 [w5100] Fixed RX interrupt handling 2018-05-17 18:13:23 +02:00
Vincent Dupont
53b3d1af78 mtd_spi_nor: add 4-byte address flash support 2018-05-14 15:05:24 +02:00
1f436e2486
Merge pull request #8965 from aabadie/pr/drivers/io1_xplained_enh_sd
drivers/io1_xplained: improve driver and add support for the sdcard and light sensor
2018-05-14 09:00:47 +02:00
372aadd626
Merge pull request #8978 from Hyungsin/forupstream_fxos8700
drivers: add driver for FXOS8700 3-axis accelerometer/magnetometer
2018-05-14 08:45:58 +02:00
Hyungsin
beaf08bcb2 drivers: add driver for FXOS8700 3-axis accelerometer/magnetometer 2018-05-12 17:51:58 -07:00
Gunar Schorcht
af226d4fec enc28j60: fix compilation with l2 stats enabled 2018-05-07 13:42:03 +02:00
f9c75d0df7
Merge pull request #8915 from ZetaR60/RIOT_ads101x
drivers/ads101x: support for ADCs
2018-05-03 08:31:03 +02:00
Joakim Nohlgård
fef0be8c4c pulse_counter: Editorial changes to docs 2018-04-28 15:37:41 +02:00
734256aab6 drivers/io1_xplained: add support for light sensor 2018-04-17 11:06:01 +02:00
438aa09148 drivers/io1_xplained: add support for sdcard 2018-04-17 10:49:45 +02:00
4ceb309927 drivers/io1_xplained: refactor implementation
- directly use underlying drivers api (gpio, at30tse75x)
- use debug instead of log + rework messages
2018-04-17 10:48:48 +02:00
Dylan Laduranty
ff5817c569
Merge pull request #8926 from aabadie/pr/drivers/sx127x_fixes
drivers/sx127x: various improvements
2018-04-16 16:10:27 +02:00
0815ef185c drivers/io1_xplained: fix gpio params initializer 2018-04-16 15:57:36 +02:00
fbea4f9b40
Merge pull request #8026 from miri64/cc1100/fix/netopt-max-pkt-size-width
cc110x: fix netdev get/set according to `netopt_t` doc
2018-04-16 12:10:19 +02:00
Matthew Blue
96a7029f5f drivers/ads101x: Makefile support 2018-04-13 11:38:49 -04:00
Matthew Blue
073d45aa4d drivers/ads101x: initial support 2018-04-13 11:38:49 -04:00
1d8984dc13 drivers/my9221: make local functions "static" 2018-04-13 12:18:28 +02:00
Martine Lenders
247b1a0d8f cc110x: fix netdev get/set according to netopt_t doc 2018-04-13 00:29:26 +02:00
1bee32c75f drivers/sx127x: refactor error management 2018-04-12 10:00:24 +02:00
7365e41337 drivers/sx127x: fix device init sequence order 2018-04-11 17:52:57 +02:00
cc2bf0ba27 drivers/sx127x: improve debug messages 2018-04-11 17:52:03 +02:00
2f533a169d drivers/sx127x: use rx chain calibration only with sx1276 2018-04-11 17:51:11 +02:00
e55cec1fba drivers/sx127x: reorder radio init steps 2018-04-11 16:16:53 +02:00
Hauke Petersen
3b6c8f25de sys/net: added generic BLE defines 2018-04-06 11:18:53 +02:00
Hauke Petersen
4e715e8221 drivers/netdev: added BLE adaption for netdev 2018-04-06 11:18:53 +02:00
Martine Lenders
76edd4eb1e
Merge pull request #8198 from bergzand/wip/netdev_layered
netdev: Initial implementation of a more layered approach to netdev
2018-03-28 12:23:27 +02:00
8a63b88623
netdev_layer: initial import of layered netdev API 2018-03-28 11:19:09 +02:00
983bbba028
Merge pull request #8805 from miri64/ethos/fix/uart-dependency
ethos: add periph_uart as dependency
2018-03-27 21:18:43 +02:00
Gaëtan Harter
21a9958323
Merge pull request #8822 from aabadie/pr/make_curly
make: replace curly braces with parenthesis
2018-03-27 15:44:36 +02:00
9328a1f2a2 drivers/sx127x: make paselect configurable 2018-03-26 09:38:35 +02:00
61f1b941ce make: replace curly braces with parenthesis 2018-03-22 20:43:15 +01:00
0f07bccfc9
Merge pull request #8701 from aabadie/pr/drivers/params/cc2420
drivers/cc2420: apply unified driver params scheme
2018-03-21 07:27:50 +01:00
8249ffadf4 drivers/soft_spi: add to drivers_soft_periph group 2018-03-20 20:09:55 +01:00
6e976ac2e5 drivers: add new drivers_soft_periph doxygen group 2018-03-20 18:33:35 +01:00
Martine Lenders
198e7cf1eb ethos: add periph_uart as dependency
`ethos` should have `periph_uart` as a dependency.
2018-03-20 17:17:29 +00:00
Martine Lenders
ce807173ff
Merge pull request #8601 from bergzand/pr/netopt-link-status
netopt/drivers: Add phy link status output
2018-03-18 15:25:01 +00:00
eb9e2dadf1
encx24j600: add link status support 2018-03-18 15:32:41 +01:00
8735adee7d
enc28j60: add link status support 2018-03-18 15:32:41 +01:00
Martine Lenders
658442982f
Merge pull request #8700 from aabadie/pr/drivers/params/at86rf2xx
drivers/at86rf2xx: apply unified driver params scheme
2018-03-15 15:31:46 +01:00
Martine Lenders
ada292ae18
Merge pull request #8759 from aabadie/pr/drivers/params/si70xx
sys/auto_init: cleanup si70xx auto_init
2018-03-15 14:38:48 +01:00
Martine Lenders
f1227b5583
Merge pull request #8483 from haukepetersen/opt_driver_ata8520e-indention
doc: fix indention of doxygen blocks to 4-space alignment
2018-03-15 13:29:20 +01:00
Martine Lenders
f5334e49d7
Merge pull request #7674 from gebart/pr/at86rf212b-default-page-2
at86rf2xx: Set page 2 by default on AT86RF212B
2018-03-15 13:24:21 +01:00
Vincent Dupont
1f409d09dd drivers/flashpage: use const ptrs for write/verify 2018-03-13 21:51:37 +01:00
Martine Lenders
1056d4b902
Merge pull request #8756 from aabadie/pr/drivers/params/io1_xplained
drivers/io1_xplained: apply unified params definition scheme
2018-03-08 18:54:32 +01:00
Martine Lenders
55950dd814
Merge pull request #8690 from aabadie/pr/drivers/params/kw2xrf
drivers/kw2xrf: use new driver params scheme
2018-03-08 17:21:26 +01:00
902d8946a4 sys/auto_init: cleanup si70xx auto_init 2018-03-08 17:09:40 +01:00
ab1539b24d drivers/io1_xplained: use new driver params scheme 2018-03-08 16:55:16 +01:00
5c7cc50698 sys/auto_init/saul: add saul adaptation 2018-03-08 14:07:28 +01:00
3a6a3b8b14 drivers/si114x: initial basic support 2018-03-08 14:07:28 +01:00
fffd6a2e07 drivers/dht: use new driver params scheme 2018-03-08 12:52:52 +01:00
Martine Lenders
dc989cbdbe
Merge pull request #8692 from aabadie/pr/drivers/params/soft_spi
drivers/soft_spi: use new driver params scheme
2018-03-07 16:12:09 +01:00
Martine Lenders
0da273deb9
Merge pull request #8702 from aabadie/pr/drivers/params/mrf24j40
drivers/mrf24j40: apply unified driver params scheme
2018-03-07 16:10:10 +01:00
Martine Lenders
da824817a1
Merge pull request #8694 from aabadie/pr/drivers/params/sx127x
drivers/sx127x: use new driver params scheme
2018-03-07 15:53:35 +01:00
Martine Lenders
2223ac1cd7
Merge pull request #8693 from aabadie/pr/drivers/params/sdcard_spi
drivers/sdcard_spi: use new driver params scheme
2018-03-07 15:53:25 +01:00
Martine Lenders
05b5560c26
Merge pull request #8691 from aabadie/pr/drivers/params/w5100
drivers/w5100: use new driver params scheme
2018-03-07 15:53:13 +01:00
Martine Lenders
90356143fc
Merge pull request #8669 from aabadie/pr/drivers/params/adcxx1c
drivers/adcxx1c: apply unified params definition scheme
2018-03-07 15:24:59 +01:00
Martine Lenders
a9e30e1844
Merge pull request #8689 from aabadie/pr/drivers/params/lsm6dsl
drivers/lsm6dsl: apply unified params definition scheme
2018-03-07 15:24:43 +01:00
452920f6e3 drivers/soft_spi: use new driver params scheme 2018-03-07 15:23:12 +01:00
Martine Lenders
a3bac82bf3
Merge pull request #8687 from aabadie/pr/drivers/params/bh1750fvi
drivers/bh1750fvi: use new driver params scheme
2018-03-07 15:09:44 +01:00
Martine Lenders
a9836ca946
Merge pull request #8686 from aabadie/pr/drivers/params/enc28j60
drivers/enc28j60: use new driver params scheme
2018-03-07 15:05:38 +01:00
Martine Lenders
c7acf82d62
Merge pull request #8685 from aabadie/pr/drivers/params/mpl3115a2
drivers/mpl3115a2: apply unified params definition scheme
2018-03-07 14:58:22 +01:00
Martine Lenders
d7e7c68485
Merge pull request #8684 from aabadie/pr/drivers/params/mma8x5x
drivers/mm8x5x: apply unified params definition scheme
2018-03-07 14:53:44 +01:00
Martine Lenders
9ee91a6dd9
Merge pull request #8682 from aabadie/pr/drivers/params/tmp006
drivers/tmp006: apply unified params definition scheme
2018-03-07 14:47:06 +01:00
Martine Lenders
d2534b8a29
Merge pull request #8681 from aabadie/pr/drivers/params/ds1307
drivers/ds1307: use new driver params scheme
2018-03-07 14:41:27 +01:00
Martine Lenders
674777ffc0
Merge pull request #8679 from aabadie/pr/drivers/params/jc42
drivers/jc42: apply unified params definition scheme
2018-03-07 14:36:36 +01:00
Martine Lenders
e45c06b381
Merge pull request #8678 from aabadie/pr/drivers/params/hdc1000
drivers/hdc1000: apply unified params definition scheme
2018-03-07 14:31:30 +01:00
Martine Lenders
2933858067
Merge pull request #8677 from aabadie/pr/drivers/params/dsp0401
drivers/dsp0401: use new driver params scheme
2018-03-07 14:24:13 +01:00
Martine Lenders
e2089fce7f
Merge pull request #8676 from aabadie/pr/drivers/params/veml6070
drivers/veml6070: apply unified params definition scheme
2018-03-07 14:18:51 +01:00
Martine Lenders
e5a9a0d626
Merge pull request #8675 from aabadie/pr/drivers/params/lpd8808
drivers/lpd8808: use new driver params scheme
2018-03-07 14:12:11 +01:00
Martine Lenders
f7d3532b5c
Merge pull request #8674 from aabadie/pr/drivers/params/grove_ledbar
drivers/grove_ledbar: apply unified params definition scheme
2018-03-07 14:07:54 +01:00
Martine Lenders
6907954134
Merge pull request #8672 from aabadie/pr/drivers/params/bmp180
drivers/bmp180: apply unified params definition scheme
2018-03-07 13:59:43 +01:00
Martine Lenders
34386e8002
Merge pull request #8670 from aabadie/pr/drivers/params/apa102
drivers/apa102: use new driver params scheme
2018-03-07 13:50:07 +01:00
Martine Lenders
ade38468a1
Merge pull request #8671 from aabadie/pr/drivers/params/adxl345
drivers/adxl345: apply unified params definition scheme
2018-03-07 13:48:14 +01:00
23b414b732 drivers: net: adapt to iolist-using netdev 2018-03-06 14:00:31 +01:00
51dabf93ad drivers: netdev: switch to iolists 2018-03-06 14:00:31 +01:00
Pieter Willemsen
372cd64547 mtd_spi_nor: run uncrustify 2018-03-05 15:54:29 +01:00
Pieter Willemsen
e4055d5cd5 mtd_spi_nor: make thread safe 2018-03-05 15:54:29 +01:00
Yannick Gicquel
34f2b3e6f9 drivers/qdec: doxygen rendering fixes
Signed-off-by: Yannick Gicquel <ygicquel@gmail.com>
2018-03-01 20:53:34 +01:00
a492207eb1 drivers/mrf24j40: use new driver params scheme 2018-03-01 14:31:55 +01:00
eb81eae060 drivers/cc2420: use new driver params scheme 2018-03-01 14:30:35 +01:00
4e64ba6f24 drivers/at86rf2xx: use new driver params scheme 2018-03-01 14:29:16 +01:00
1a0cb4264c drivers/lis3dh: rework driver API and params definition 2018-03-01 14:26:17 +01:00
7cb9be9c8c drivers/sx127x: use new driver params scheme 2018-03-01 14:22:24 +01:00
78c0cdd40c drivers/w5100: use new driver params scheme 2018-03-01 14:13:36 +01:00
036a09e9f0 drivers/kw2xrf: use new driver params scheme 2018-03-01 14:11:05 +01:00
e0243d5529 drivers/enc28j60: use new driver params scheme 2018-03-01 14:03:02 +01:00
cb93d684ff drivers/mma8x5x: use new driver params scheme 2018-03-01 13:57:24 +01:00
f54b90b184 drivers/tmp006: use new driver params scheme 2018-03-01 13:55:16 +01:00
d4215e427b drivers/ds1307: use new driver params scheme 2018-03-01 13:50:49 +01:00
0c8b7e4825 drivers/lpd8808: use new driver params scheme 2018-03-01 13:43:14 +01:00
ddbbf71c49 drivers/grove_ledbar: use new driver params scheme 2018-03-01 13:42:06 +01:00
799d3309e8 drivers/adxl345: use new driver params scheme 2018-03-01 13:40:01 +01:00
a67c2cb707 drivers/apa102: use new driver params scheme 2018-03-01 13:37:16 +01:00
adb848fbbf drivers/adcxx1c: use new driver params scheme 2018-03-01 13:34:06 +01:00
Josar
eeda6f6c8c driver/adxl345: rename enums to avoid conflicts 2018-02-28 23:05:22 +01:00
ef95affe30 drivers/bh1750fvi: use new driver params scheme 2018-02-28 18:00:58 +01:00
a64053c5a0 drivers/lsm6dsl: use new driver params scheme 2018-02-28 17:46:15 +01:00
bc66d987a9 drivers/sdcard_spi: use new driver params scheme 2018-02-28 17:43:28 +01:00
deb0350d46 drivers/mpl3115a2: use new driver params scheme 2018-02-28 17:13:46 +01:00
2729d67be2 drivers/veml6070: use new driver params scheme 2018-02-28 16:53:35 +01:00
b345903598 drivers/jc42: use new driver params scheme 2018-02-28 16:47:27 +01:00
a5fc479820 drivers/hdc1000: use new driver params scheme 2018-02-28 16:46:07 +01:00
f48d0e6b69 drivers/dsp0401: use new driver params scheme 2018-02-28 16:36:27 +01:00
f1019a8360 drivers/bmp180: use new driver params scheme 2018-02-28 16:19:28 +01:00
Joakim Nohlgård
8892043cb5 netdev: Add Netdev to Doxygen page title 2018-02-28 08:23:44 +01:00
6698bfd35a
Merge pull request #8595 from bergzand/pr/saul-ppm
SAUL/phydat: parts per million support
2018-02-27 08:12:18 +01:00
MichelRottleuthner
cb4b67677e
Merge pull request #8632 from cyrilfr/sdcard_spi_crc16
drivers/sdcard_spi: use of ucrc16 by default
2018-02-26 19:51:43 +01:00
didile
32ae17256c drivers/sdcard_spi: use of ucrc16 by default
Useless consts removed.
2018-02-26 19:43:13 +01:00
c450cdebeb
Merge pull request #8482 from cogip/qdec
drivers: Initial import of low-level QDEC driver interface
2018-02-26 17:44:58 +01:00
MichelRottleuthner
244eff6eb7
Merge pull request #8400 from OTAkeys/fix/mtd_erase
driver/mtd_spi_nor: fix erase with unaligned addresses
2018-02-26 15:25:33 +01:00
Vincent Dupont
063a7835c4 driver/mtd_spi_nor: fix erase with unaligned addresses 2018-02-26 12:22:59 +01:00
8fd79b4c50 drivers/hts221: doxygen documentation typos 2018-02-25 14:27:28 +01:00
Joakim Nohlgård
de6c4831c4
Merge pull request #8541 from aabadie/pr/sort_driver_makefile_include
drivers: alphabetically sort the list of drivers in Makefile.include
2018-02-24 09:40:11 +01:00
Gilles DOFFE
58b7ed3fa9 drivers: add periph_qdec
QDEC interface enables access to CPU peripherals acquiring quadrature
signals.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-23 21:40:15 +01:00
327de914bc
saul: Add parts per million unit 2018-02-23 11:40:42 +01:00
1f49c0dda2
Merge pull request #8604 from gebart/pr/sx127x-uninitialized
drivers/sx127x: Fix -Wmaybe-uninitialized warning
2018-02-22 14:43:53 +01:00
78078b3f28 drivers/saul: add UV and distance sense options 2018-02-22 11:34:44 +01:00
Joakim Nohlgård
73c85ccff4 drivers/sx127x: Fix -Wmaybe-uninitialized warning 2018-02-22 08:44:16 +01:00
ac5be2add2 drivers: sort alphabetically Makefile.include 2018-02-21 13:24:46 +01:00
88bc7ccd6f drivers: fix indentation in Makefile.include
- soft_spi was using a 4 spaces indentation, but only 2 are required
2018-02-21 10:38:19 +01:00
Semjon Kerner
83153d6925 drivers/bmx055: initial implementation 2018-02-19 14:27:39 +01:00
Joakim Nohlgård
73c11a366c
Merge pull request #8430 from smlng/gcc7/ignore_fallthroughs
make: ignore fallthroughs errors with GCC 7.x
2018-02-19 11:04:16 +01:00
Joakim Nohlgård
0e5b3d93ec drivers/saul: Show configuration structs in docs 2018-02-17 00:04:54 +01:00
Martine Lenders
d458abfa0e ieee802154: Make 2 default channel page for sub GHz 2018-02-14 08:20:09 +01:00
Joakim Nohlgård
6b2bfe18e9 at86rf2xx: Set page 2 by default on AT86RF212B
Page 2 is O-QPSK 100 kbit/s or 250 kbit/s, which matches the bandwidth
provided in the 2.4 GHz band, at the cost of receiver sensitivity. The
previous default, page 0, provides only 20 kbit/s in channel 0, and
40 kbit/s in channels 1-10, and should be used in specific applications
where the radio environment requires the maximum receiver sensitivity
and noise resilience.
2018-02-14 08:20:02 +01:00
Vincent Dupont
bb8c2df413 periph_common: call rtt_init from common init 2018-02-09 15:51:30 +01:00
Vincent Dupont
6840c15db0 periph/rtt: remove RTT_NUMOF guard from header 2018-02-09 15:51:06 +01:00
e72448703d drivers: instead of cpp-style, use C-style comments 2018-02-06 16:59:58 +01:00
jia200x
c61c44a1ae
Merge pull request #8374 from Hyungsin/forupstream_radio_ackpending
driver/at86rf2xx: add an option for auto-ack with the pending bit
2018-02-06 14:15:40 +01:00
Martine Lenders
51ae9d9c87 nordic_softdevice_ble: fixes for gnrc_netif usage 2018-02-05 22:34:11 +01:00
Hyungsin
f52efef0d5 netopt: Add NETOPT_ACK_PENDING 2018-01-31 11:58:48 -08:00
Hyungsin
a841d9ee0a driver/at86rf2xx: add an option for auto-ack with the pending bit 2018-01-31 11:58:05 -08:00
Jose Alamos
31b4033761 drivers/ina220: fix table number in bus ADC settings 2018-01-30 21:43:07 +01:00
Jose Alamos
6f227cfc0a drivers/ina220: fix bus range bitmask 2018-01-30 21:41:09 +01:00
Gaëtan Harter
934b075f76
Merge pull request #7883 from Hyungsin/hamilton-pushbutton
pulse counter driver: initial SAUL-compatible implementation
2018-01-30 19:35:44 +01:00
Hauke Petersen
0cd1130309 drivers/ata8520e: fixed alignment in doxygen blocks 2018-01-30 18:58:25 +01:00
Hauke Petersen
c3ccdc59c5 drivers/ata8520e: add doc on required buffer sizes 2018-01-30 17:25:49 +01:00
2bda17ba36 drivers/sx127X: update Nucleo board name in doxygen comment 2018-01-27 18:48:24 +01:00
4bc4c56d02 drivers/ata8520e: initial implementation 2018-01-25 12:01:57 +01:00
smlng
af3bfd101a driver/slipdev: ignore implicit fallthrough error by GCC 7 2018-01-24 20:09:49 +01:00
14911c1883
Merge pull request #8429 from bergzand/pr/enc28j60_deps
drivers/enc28j60: Add feature deps to makefile
2018-01-24 17:47:54 +01:00
821cdea7f6
drivers/enc28j60: Add feature requirements 2018-01-24 15:24:05 +01:00
4c69940a54 drivers/tja1042: move to drivers_can group 2018-01-23 08:32:55 +01:00
433a244c59
Merge pull request #8387 from dbohn/master
drivers: encx24j600: add required features to Makefile.dep
2018-01-22 12:25:49 +01:00
David Bohn
d4822128e6
drivers/encx24j600: Fix feature configuration for encx24j600 in Makefile.dep 2018-01-22 12:16:47 +01:00
75b552014c drivers/soft_spi: fix doxygen group name
It was inconsistent with other drivers group names
2018-01-22 09:04:10 +01:00
Hauke Petersen
ba8ab6c88b drivers/lis2dh12: add SAUL mapping 2018-01-18 18:39:43 +01:00
Hauke Petersen
09dab1a9fb drivers: add support for STM lis2dh12 accelerometer 2018-01-18 18:39:43 +01:00
b63412efa1 drivers: add rn2xx3 LoRa module driver 2018-01-18 10:46:54 +01:00
Vincent Dupont
e6ca1af19a
Merge pull request #6925 from OTAkeys/pr/tja1042
can: add tja1042 transceiver driver
2018-01-18 09:44:51 +01:00
Vincent Dupont
cf34161789 tja1042: add driver for tja1042 CAN transceiver 2018-01-18 09:27:10 +01:00
Daniel Frejek
f2b9870723 drivers/sx127x: return correct state when device is receiving 2018-01-17 17:37:45 +01:00
Hyungsin
a0587ca306 drivers/pulse_counter: initial implementation 2018-01-17 06:28:13 -08:00
steffen
1d38c7d939 drivers/lc709203f: Added support for the LC709203F Fuel Gauge 2018-01-15 17:48:27 +01:00
51f16203fa drivers: xbee: DEBUG fixes 2018-01-15 14:37:05 +01:00
93ce8bc36f drivers/kw2xrf_spi: DEBUG fixes 2018-01-15 14:37:05 +01:00
Martine Lenders
9c1b6bd8c4
Merge pull request #8304 from PeterKietzmann/pr_drivers_kw2x_txbusy
drivers/kw2xrf: finish ongoing transmission before sending next frame
2018-01-09 16:59:03 +01:00
2f4a7e28e9
Merge pull request #8268 from miri64/slipdev/enh/simplify-byte-unstuffing
slipdev: simplify and solidify byte-unstuffing
2018-01-09 10:53:54 +01:00
Martine Lenders
c61a343193 slipdev: simplify and solidify byte-unstuffing
This simplifies and solidifies the reversal of SLIP's byte-stuffing
(aka byte-unstuffing ;-)) by

1. Using `tsrb` instead of `ringbuffer`: there are two actors. The ISR
   and the device's event handler.
2. Moving the byte-unstuffing from the UART RX-handler (i.e. the ISR)
   to the device's receive function (potentially not the ISR)
3. Removing the `pktfifo` member. The current number of bytes in the
   ringbuffer is returned for `recv(data = NULL, len = 0)`. If that is
   more than the packet contains (due to the byte stuffing it most
   likely will be) the packet is reallocated in GNRC anyway.
2018-01-08 11:51:24 +01:00
Jose Alamos
6f1bd900b5 drivers/sx127x: change inline keyword to static 2018-01-04 09:26:06 +01:00
PeterKietzmann
73a2810330 drivers/kw2xrf: finish ongoing transmission before sending next frame 2017-12-20 14:26:26 +01:00
Sebastian Meiling
0417a05ae9
Merge pull request #7949 from aabadie/pr/lis3dml_update
drivers/lis3mdl: adopt new parameters scheme and provide SAUL adaption
2017-12-15 09:27:04 +01:00
Dylan Laduranty
7fe2d9bbab
Merge pull request #8261 from aabadie/pr/drivers_sx17X_missing_functions
drivers/sx127x: add functions required for loramac
2017-12-14 22:23:44 +01:00
b543d0b5da drivers/sx127x: add functions required for loramac 2017-12-14 22:13:41 +01:00
7727871923 sys/auto_init/saul: provide saul adaption to lis3mdl 2017-12-14 18:18:34 +01:00
b39a3d79ef drivers/lis3mdl: update to new parameters scheme 2017-12-14 18:18:20 +01:00
1461f31ed4 drivers/sx127x: make tx power types compliant with netopt 2017-12-14 15:01:09 +01:00
deb88bc972 drivers/sx127x: use channel freq netopt 2017-12-14 15:01:09 +01:00
4964150cd7 drivers: load lora module with sx127x driver 2017-12-14 15:01:09 +01:00
Martine Lenders
0acbe38df6
Merge pull request #8216 from roberthartung/at86rf2xx-netopt-autoack
drivers/at86rf2xx: Fix set/get of NETOPT_AUTOACK
2017-12-11 16:07:26 +01:00
Robert Hartung
a5ceb3c483 drivers/at86rf2xx: fixes get/set for NETOPT_AUTOACK 2017-12-11 15:57:23 +01:00
1ad9b7a493 drivers/sx127x: fix build issue with unused variable 2017-12-10 16:41:06 +01:00
0accd367bc
Merge pull request #8159 from aabadie/pr/auto_init_sx127x
sys/auto_init: add auto init implementation for sx127x radio devices
2017-12-10 16:28:31 +01:00
c52e11f9fd drivers/sx127x: fix wrong return values in netdev get 2017-12-09 20:06:57 +01:00
170c7e8e4d drivers/sx127x: use NETOPT_DEVICE_TYPE for LoRa modem 2017-12-09 20:06:57 +01:00
32b1ee3baf drivers/sx127x: cleanup RX/TX timers 2017-12-09 16:51:09 +01:00
Joakim Nohlgård
774abe4e28 periph_common: hwrng_init in periph_init if enabled 2017-12-08 08:08:15 +01:00
Hauke Petersen
ce9808d8ec drivers: restore alphabetical order in Makefile.dep 2017-12-05 12:50:52 +01:00
43e972fc61
Merge pull request #7970 from kYc0o/add_flashpage_write_raw
periph/flashpage: add flashpage_write_raw interface
2017-12-04 13:13:52 +01:00
40f43671bf sys/auto_init: enable sx127x auto init 2017-12-01 18:09:49 +01:00
Tristan Bruns
19f6544466 drivers/kw2xrf: fix fall through
This was made visible by #7919. Broke build on GCC 7.2.

Probably a bug.
2017-12-01 11:20:07 +01:00
Martine Lenders
c91f0734f2
at86rf2xx: revert regression introduced in #7276 2017-11-30 17:37:34 +01:00
kYc0o
6dffb71b09 drivers/include/periph/flashpage.h: add flashpage_write_raw 2017-11-30 17:25:35 +01:00
Hauke Petersen
5f5cdd148d
Merge pull request #7822 from Hyungsin/hamilton-hdc1000
drivers/hdc1000: add caching capability
2017-11-30 10:49:11 +01:00
Hyungsin
fd3f33880b drivers/hdc1000: add caching capability for hdc1000 driver 2017-11-29 11:30:39 -08:00
smlng
4492396923 driver, w5100: fix sign-compare and add spi as required feature 2017-11-28 23:09:37 +01:00
smlng
57c5c9b6a6 make: enable Wall and Wextra by default, and optionally Wpedantic 2017-11-28 20:33:39 +01:00
smlng
b283b7784c make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
        sys, pm_layered: fix casting nonscalar to the same type
        cpu, stm32_common: fix type-limits, remove always true assert
        cpu, stm32f4: fix pointer arithmetic in periph/i2c
        drivers, at86rf2xx: fix type-limits where condition always true
        saul, gpio: fix if no gpio configured for saul
        cpu, saml21: add frequency check to periph/timer
        driver, cc110x: fix unused param and type-limts errors
        boards, wsn430-common: fix old-style-declaration
        make: fix old style definition
        drivers, sdcard_spi: fix old style typedef
        driver, at30tse: remove unnecessary check
        driver, nrf24: fix type-limit
        driver, pn532: change buffer from char to uint8_t
        tests/driver_sdcard: fix type limits
        boards, feather-m0: add missing field inits
        driver, tcs37727: fix type limits
        pkg, emb6: disable some compiler warnings
        tests/emb6: disable some compiler warings
        pkg, openthread: fix sign compare and unused params
        tests/trickle: fix struct init
        tests/pthread_cooperation: fix type limits
        board, mips-malta: remove feature periph_uart
        shell: fix var size for netif command
        gnrc, netif: fix sign-compare
        gnrc, nib: fix sign-compare
        shell: fix output in netif command
        posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
Martine Lenders
39c122155c
Merge pull request #7995 from smlng/make/fix/unused_params
make: fix unused-params error
2017-11-28 14:46:23 +01:00
smlng
7309171303 build: fix unused parameter errors
cpu, sam0_common: fix unused parameter in periph/spi
        cpu, kinetis_common: fix unused parameter in periph/spi
        cpu, cc2538: fix unused param in periph/i2c
        cpu, cc2538: fix unused param in periph/spi
        cpu, sam3: fix unused param in periph/spi
        cpu, stm32_common: fix unused param in periph/pm
        cpu, stm32f3: fix unused params in periph/i2c
        cpu, nrf5x_common: fix unused param in periph/gpio
        cpu, nrf5x_common: fix unused param in periph/spi
        cpu, lpc2387: fix unused params in periph/spi
        cpu, cc2538: fix unused params in radio/netdev
        cpu, cc2650: fix unused params in periph/uart
        cpu, lm4f120: fix unused param in periph/spi
        cpu, lm4f120: fix unused params in periph/timer
        cpu, lm4f120: fix unused params in periph/uart
        cpu, stm32_common: fix unused params in periph/dac
        cpu, stm32l0: fix unused params in periph/i2c
        cpu, msp430fxyz: fix unused params in periph/uart
        cpu, mips: fix unused params
        cpu, cc430: fix unused-params in periph/timer
        cpu, msp430fxyz: fix unused params in periph/spi
        drivers, cc2420: fix unused param
        cpu, mips32r2_common: fix unused params in periph/timer
        cpu, cc2538: fix unused-param in periph/i2c
        cpu, mips32r2_common: fix unused-param in periph/timer
        cpu, msp430fxyz: fix unused params in periph/timer
        cpu, atmega_common: fix unused params in periph/spi
        driver, nrfmin: fix unused params
        cpu, cc2538_rf: fix unused params
        driver, netdev_ieee802514: fix unused param
        cpu, mip_pic32m: fix unused params
        cpu, lpc2387: fix unused params in periph/pwm
        tests/driver_sdcard_spi: fix unused params
        cpu, sam3: fix unused param in periph/pwm
        tests/driver_dynamixel: fix unused params, and style issues
        cpu, cc430: fix unused param in periph/rtc
        cpu, atmega_common: fix unused params in periph/i2c
2017-11-28 14:36:01 +01:00
Martine Lenders
bf53c88a78
Merge pull request #7994 from smlng/make/fix/sign_compare
make: fix sign-compare errors
2017-11-28 12:29:44 +01:00
Martine Lenders
6b510b046b
Merge pull request #8163 from aabadie/pr/cc110x_leftover
drivers/cc110x: cleanup + remove gnrc_netdev leftover
2017-11-28 12:25:54 +01:00
smlng
e381317fbf make: fix sign-compare errors
cpu, nrf5x_common: fix sign-compare in periph/flashpage
    drivers, periph_common: fix sign-compare in flashpage
    cpu, sam0_common: fix sign-compare error in periph/gpio
    cpu, cc2538: fix sign-compare in periph/timer
    cpu, sam3: fix sign-compare in periph/gpio
    cpu, stm32_common: fix sign-compare in periph/pwm
    cpu, stm32_common: fix sign-compare in periph/timer
    cpu, stm32_common: fix sign-compare in periph/flashpage
    cpu, nrf5x_common: fix sign-compare in radio/nrfmin
    cpu, samd21: fix sign-compare in periph/pwm
    cpu, ezr32wg: fix sign-compare in periph/gpio
    cpu, ezr32wg: fix sign-compare in periph/timer
    drivers, ethos: fix sign-compare
    sys, net: fix sign-compare
    cpu, atmega_common: fix sign-compare error
    cpu, msp430fxyz: fix sign-compare in periph/gpio
    boards, msb-430-common: fix sign-compare in board_init
    driver, cc2420: fix sign-compared
    sys/net: fix sign-compare in gnrc_tftp
    driver, pcd8544: fix sign-compare
    driver, pn532: fix sign-compare
    driver, sdcard_spi: fix sign-compare
    tests: fix sign_compare
    sys/net, lwmac: fix sign_compare
    pkg, lwip: fix sign-compare
    boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
    tests, sock_ip: fix sign compare
    tests, msg_avail: fix sign compare
    tests, sock_udp: fix sign compare
    boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
Sebastian Meiling
4a828c63aa
Merge pull request #7955 from aabadie/pr/mpu9150_update
drivers/mpu9150: adapt to new parameters initialization scheme + provide saul adaption
2017-11-28 11:41:54 +01:00
13e0239722 drivers/cc110x: cleanup + remove gnrc_netdev leftover 2017-11-28 11:25:33 +01:00
Martine Lenders
a63bb6d47b
Merge pull request #6895 from bergzand/drivers/radio-rssi-conv
drivers/radios Apply register to rssi dBm conversion to all radios
2017-11-27 23:52:15 +01:00
2d491e0619 kw2xrf: dBm conversion to int16_t 2017-11-27 21:49:15 +01:00
7dce20afb6 cc110x: Add RSSI dBm conversion 2017-11-27 21:49:15 +01:00
047b8172ae cc2420: Add RSSI dBm conversion 2017-11-27 21:49:15 +01:00
11e147736d at86rf2xx: Add RSSI dBm conversion 2017-11-27 21:49:15 +01:00
4bd5fd611c mrf24j40: Add RSSI dBm conversion 2017-11-27 21:49:15 +01:00
fa64e93313 netdev: Represent RSSI as int16_t 2017-11-27 21:49:15 +01:00
8a6d04ce52
Merge pull request #7925 from RIOT-OS/gnrc_netif2_integration/master
gnrc_netif2: gnrc_ipv6_nib: full integration into GNRC
2017-11-27 21:12:14 +01:00
Vincent Dupont
a02db9c551 drivers/mtd_spi_nor: fix chip erase 2017-11-24 16:48:21 +01:00
Martine Lenders
b2b2071142
Merge pull request #8111 from hahchenchen/tests-cc110x
cc110x-netdev.c: add NETOPT_ADDR_LEN.
2017-11-22 16:23:05 +01:00
Sichen Zhao
827ffbd048 cc110x-netdev.c: add NETOPT_ADDR_LEN. 2017-11-22 22:06:31 +08:00
562474f975
Merge pull request #7280 from smlng/driver/hts221
drivers: hts221 humidity and temperature sensor
2017-11-22 13:19:46 +01:00
smlng
df2b65a1dd driver, hts221: add SAUL adaption 2017-11-22 11:33:54 +01:00
Peter Kietzmann
2c46e0928e
Merge pull request #7938 from bergzand/mrf24j40-bcast2
drivers/mrf24j40: fix radio ack request enabling
2017-11-22 08:15:27 +01:00
smlng
697ff44ce1 tests: add hts211 driver test app 2017-11-21 09:42:08 +01:00
smlng
55cda8d8ab drivers: add hts221 temperature and humidity sensor 2017-11-21 09:42:07 +01:00
7c7a5189d2 drivers/sx127x: fix build issue when building for SX1272 2017-11-20 11:07:13 +01:00
8454beee00 drivers/sx127x: fix wrong IQ invert value when setting RX mode 2017-11-20 11:06:46 +01:00
1387945461 drivers/sx127x: expose iq_invert via netdev, add tx power getter 2017-11-20 11:04:41 +01:00
81f13936ee drivers/sx127x: remove time on air from packet info 2017-11-20 11:04:41 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif 2017-11-17 10:41:54 +01:00
Peter Kietzmann
3ced935057
Merge pull request #7488 from miri64/at86rf2xx/fix/assert-chan
at86rf2xx: fix channel asserts
2017-11-16 12:01:30 +01:00
Martine Lenders
e3ef42842e cc110x: port to gnrc_netif2 2017-11-15 22:57:02 +01:00
Martine Lenders
32318363a9
Merge pull request #7697 from aabadie/pr/lora_definitions
sys/net: add common lora phy definitions
2017-11-15 21:01:46 +01:00
Martine Lenders
bae9c2e237
at86rf2xx: fix channel asserts 2017-11-15 18:44:59 +01:00
Martine Lenders
546d05266e
xbee: port to gnrc_netif2 2017-11-14 12:01:16 +01:00
Martine Lenders
4682c129e3
xbee: provide device type on get() 2017-11-14 12:01:16 +01:00
Dylan Laduranty
67048eafa2
Merge pull request #6900 from OTAkeys/pr/init_rtc
periph/rtc: move init from auto_init to periph_init
2017-11-13 21:22:22 +01:00
marble
fbba6c3851 driver/soft_spi: initial implementation 2017-11-13 10:11:06 +01:00
George Hopkins
ae45157331 drivers/rgbled: fix PWM resolution 2017-11-10 15:53:50 +01:00
Cenk Gündoğan
0ae6ec0d9b
Merge pull request #7956 from PeterKietzmann/pr_srf08_gain
drivers/srf08: correct value for max gain
2017-11-10 14:20:40 +01:00
dylad
c77490a28e drivers/sx127x: remove duplicate CS init
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-11-09 19:56:00 +01:00
Vincent Dupont
f2466fb8dc periph/rtc: move init from auto_init to periph_init 2017-11-09 12:56:43 +01:00
PeterKietzmann
409ce8189c drivers/mrf24j40: add peripheral requirements to Makefile dependencies 2017-11-09 11:48:06 +01:00
Peter Kietzmann
87b0477b70
Merge pull request #7855 from kYc0o/fix_nrf24l01p_var_sizes
drivers/nrf24l01p: misc fixed
2017-11-09 08:06:28 +01:00
kYc0o
1927104298 drivers/nrf24l01p: fix vars lengths 2017-11-08 20:10:16 +01:00
be9e8614ef sys/auto_init/saul: provide saul adaption to mpu9150 2017-11-08 09:09:21 +01:00
819263ba1f drivers/mpu9150: update to new parameters scheme 2017-11-08 09:02:57 +01:00
PeterKietzmann
1f332cfb7b drivers/srf08: correct value for max gain 2017-11-07 23:31:40 +01:00
Martine Lenders
f6c9eb03c5
Merge pull request #7824 from Hyungsin/hamilton-tmp006
tmp006: optional raw values, low power mode, SAUL type
2017-11-07 22:51:56 +01:00
smlng
13639c1bb3 drivers, at86rf2xx: cleanup
- update documentation
    - adapt constness
    - fix code alignment and stlye
2017-11-07 21:37:41 +01:00
smlng
961c49e2cc drivers, at86rf2xx: simplify internal functions
- at86rf2xx_tx_prepare
    - at86rf2xx_set_state
    - at86rf2xx_set_option
2017-11-07 19:53:47 +01:00
Francisco Acosta
a423897b1a
Merge pull request #7857 from kYc0o/fix_enc28j60_comp
drivers/enc28j60/enc28j60.c: fix counter var length
2017-11-07 13:55:23 +01:00
kYc0o
58e3fab133 drivers/enc28j60/enc28j60.c: fix counter var length 2017-11-07 11:45:44 +01:00
3ebcdfd400 drivers/periph_common: guard spi_init() by spi module 2017-11-06 12:01:19 +01:00
Hyungsin
3dbe604d96 tmp006: optional raw values, low power mode, SAUL type 2017-11-06 00:04:50 -08:00
6f43e98b95 drivers/si70xx: cleanup and use pseudomodules 2017-11-05 18:13:19 +01:00
b7c4a81702
drivers/mrf24j40: fix radio ack request enabling 2017-11-05 15:05:31 +01:00
Martine Lenders
41b3ac4e3e
Merge pull request #7931 from haukepetersen/fix_drivers_defaultparamsincludeboardh
drivers: include board.h in default params files
2017-11-03 17:54:39 +01:00
Hauke Petersen
ba56fb1c6e
Merge pull request #7921 from basilfx/bugfix/bmx280
drivers: bmx280: include board.h for board parameters.
2017-11-03 10:23:29 +01:00
Hauke Petersen
5fa20d8234 drivers: include board.h in default params files
added the board.h include for:
- tsl2561
- jc42
- w5100
2017-11-03 10:12:58 +01:00
efa36abc8f
Merge pull request #7773 from kaspar030/fix_driver_feature_deps
make: add feature dependencies to drivers/Makefile.dep
2017-11-02 12:50:51 +01:00
Bas Stottelaar
268d7d17a8 drivers: bmx280: include board.h for board parameters. 2017-10-31 21:44:57 +01:00
Bas Stottelaar
31c7e9e4c2 periph: i2c: include note on address alignment. 2017-10-31 20:50:42 +01:00
Joakim Nohlgård
cf6ea05220
Merge pull request #7581 from gebart/pr/at86rf2xx-preloading-retransmission
at86rf2xx: Avoid deadlock on manual retransmissions with NETOPT_PRELOADING
2017-10-31 14:15:35 +01:00
d03844ef80 make: add missing feature dependencies to Makefile.dep 2017-10-28 21:09:36 +02:00
Francisco Acosta
1baece5039 Merge pull request #7851 from kYc0o/fix_sx127x_misc
drivers/sx127x: Fix misc variable types and lengths
2017-10-26 16:01:54 +02:00