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

292 Commits

Author SHA1 Message Date
Leandro Lanzieri
50dc5b7528 drivers: Add driver for AD7746 capacitance sensor 2019-02-15 13:31:18 +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
Michel Rottleuthner
f5dc2524d0 drivers: add driver for SDS011 active laser dust sensor 2019-01-30 13:15:17 +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
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
Schorcht
74e1ab220c drivers: add driver for CCS811 gas sensor 2018-12-20 12:42:44 +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
Schorcht
9d59e27d41 drivers: add SHT3X humidity/temperature sensor 2018-11-21 08:48:20 +01: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
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
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
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
1ca44cf072 drivers/vcnl40x0: initial implementation 2018-10-15 11:44:10 +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
Joakim Nohlgård
ace717ee27 drivers: Add dep on periph_gpio_irq in drivers using GPIO IRQ 2018-08-29 08:53: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
Michael Andersen
e354824bcf drivers/mma7760: Add initial support 2018-08-02 15:52:58 +02:00
e78739a9a3 drivers: add tsl2561 dependencies 2018-07-25 12:01:39 +02:00
6e6716a1a6
Merge pull request #9317 from maribu/sht1x
drivers/sht11: Major refactoring
2018-06-27 10:10:39 +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
Hauke Petersen
203a5ecfb4 drivers/Make.dep: add servo dependencies 2018-06-07 11:11:39 +02:00
0199f36bb3 drivers: at: many improvements 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
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
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
Matthew Blue
96a7029f5f drivers/ads101x: Makefile support 2018-04-13 11:38:49 -04: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
3a6a3b8b14 drivers/si114x: initial basic support 2018-03-08 14:07:28 +01:00
23b414b732 drivers: net: adapt to iolist-using netdev 2018-03-06 14:00:31 +01:00
didile
32ae17256c drivers/sdcard_spi: use of ucrc16 by default
Useless consts removed.
2018-02-26 19:43:13 +01:00
Semjon Kerner
83153d6925 drivers/bmx055: initial implementation 2018-02-19 14:27:39 +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
4bc4c56d02 drivers/ata8520e: initial implementation 2018-01-25 12:01:57 +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
David Bohn
d4822128e6
drivers/encx24j600: Fix feature configuration for encx24j600 in Makefile.dep 2018-01-22 12:16:47 +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
Hyungsin
a0587ca306 drivers/pulse_counter: initial implementation 2018-01-17 06:28:13 -08: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
PeterKietzmann
73a2810330 drivers/kw2xrf: finish ongoing transmission before sending next frame 2017-12-20 14:26:26 +01:00
b39a3d79ef drivers/lis3mdl: update to new parameters scheme 2017-12-14 18:18:20 +01:00
4964150cd7 drivers: load lora module with sx127x driver 2017-12-14 15:01:09 +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
Hauke Petersen
ce9808d8ec drivers: restore alphabetical order in Makefile.dep 2017-12-05 12:50:52 +01:00
40f43671bf sys/auto_init: enable sx127x auto init 2017-12-01 18:09:49 +01:00
smlng
4492396923 driver, w5100: fix sign-compare and add spi as required feature 2017-11-28 23:09:37 +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
smlng
55cda8d8ab drivers: add hts221 temperature and humidity sensor 2017-11-21 09:42:07 +01:00
marble
fbba6c3851 driver/soft_spi: initial implementation 2017-11-13 10:11:06 +01:00
PeterKietzmann
409ce8189c drivers/mrf24j40: add peripheral requirements to Makefile dependencies 2017-11-09 11:48:06 +01:00
819263ba1f drivers/mpu9150: update to new parameters scheme 2017-11-08 09:02:57 +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
d03844ef80 make: add missing feature dependencies to Makefile.dep 2017-10-28 21:09:36 +02:00
Martine Lenders
b74ee8869b slip: port to be used with netdev 2017-10-10 23:14:12 +02:00
Gaëtan Harter
c547daa04a drivers/Makefile.dep: Remove already fulfilled 'gnrc_netdev' dependency
gnrc_netdev is already set as a dependency for gnrc_netdev_default in the
general Makefile.dep.
2017-10-06 11:18:40 +02:00
Hauke Petersen
3ff80ed3bc make: fixed indention in (drivers/)Makefile.dep 2017-09-06 13:59:07 +02:00
Hauke Petersen
9bde34df33 drivers: add driver for apa102 RGB LEDs 2017-09-01 09:37:31 +02:00
smlng
e5e933e332 drivers: add grove ledbar driver 2017-08-30 09:07:35 +02:00
smlng
ecaca83b0b drivers: add my9221 led controller 2017-08-30 09:06:03 +02:00
5cb0be3672 Merge pull request #7312 from miri64/ds1307/feat/initial
ds1307: initial import of a driver for the DS1307 RTC
2017-08-16 09:25:59 +02:00
MichelRottleuthner
e5baef3810 Merge pull request #7324 from MichelRottleuthner/sdcard_mtd
sdcard_spi: integrate to mtd interface
2017-08-09 11:30:41 +02:00
Martine Lenders
d07bfb4c9f
ds1307: initial import of a driver for the DS1307 RTC 2017-07-31 14:39:09 +02:00
0ccc264538 drivers: initial implementation of sx127x radio (LoRa mode only) 2017-06-30 19:00:40 +02:00
smlng
f1f80c0098 drivers/adcxx1c: use pseudomodules for device variants 2017-06-26 09:46:09 +02:00
Vincent Dupont
35056fd647 drivers/adcxx1c: add ADC081C/ADC101C/ADC121C i2c adc support 2017-06-26 09:46:03 +02:00
4a852abd03 drivers/bmx280: factorize bme280 and bmp280 implementation 2017-06-02 14:54:17 +02:00
a4e16cd7e9 drivers/dsp0401: initial implementation 2017-05-26 15:24:51 +02:00
Vincent Dupont
73d8149490 drivers: add lsm6dsl imu driver 2017-04-06 10:58:18 +02:00
Loïc Dauphin
47cfe0ac66 drivers/dynamixel: initial support 2017-03-31 11:44:14 +02:00
Joakim Nohlgård
9313d8ec67 mtd_spi_nor: MTD interface driver for SPI NOR flash memory
This is a generic SPI NOR flash driver which can be used with many
different flash chips.
2017-03-29 16:52:07 +02:00
9b3c3eaf25 Merge pull request #6787 from smlng/driver/hd44780
Driver: add HD44780 LCD support
2017-03-27 19:30:04 +02:00
smlng
51d89fabbb driver, hd44780: set module dependencies 2017-03-27 16:43:50 +02:00
Loïc Dauphin
08a066a0db drivers/feetech: initial support 2017-03-27 15:51:11 +02:00
Loïc Dauphin
ebe9b37444 drivers/uart_half_duplex: initial support 2017-03-27 15:50:43 +02:00
dylad
2f801bbce9 drivers/adxl345: initial implementation + SAUL adaptation
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-03-20 22:52:21 +01:00
Martine Lenders
29842bb5e4 netdev2: rename to netdev and remove gnrc_netdev
With some minor hand-edits I used the following chain of commands:

```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
        xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
                     -e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
                     -e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
        grep "netdev2" | while read dir; do
                new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
                git mv -f "$dir" "$new_dir"
        done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | while read file; do
                new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
                git mv -f "$file" "$new_file"
        done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
        xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Joakim Nohlgård
e021b3b3f1 drivers/nvram: Add vfs compatible functions 2017-03-07 17:59:59 +01:00
65d1b77338 drivers/veml6070: initial implementation 2017-02-28 13:20:21 +01:00
Hauke Petersen
79a113d1ba sys/drivers: renamed uuid module to luid 2017-02-27 11:01:20 +01:00
Hauke Petersen
6e6a14f449 drivers: remove outdated ltc4150 driver 2017-02-13 14:08:34 +01:00
smlng
432b03e99e drivers/kw2xrf: cleanup
- use generic short and long address generator
    - defines in main header file
    - refine debug output
    - correct signed/unsigned warnings
2017-02-07 15:08:14 +01:00
Johann Fischer
cf32ff7f19 drivers/kw2xrf: adapt for the netdev2 interface
Adapt the kw2xrf driver for the netdev2 interface.
This patch also adds overwrites.h, the header provides overwrite
values for the kw2xrf PHY.
2017-02-07 15:07:33 +01:00
Joakim Nohlgård
9a3589dcfe Merge pull request #6479 from haukepetersen/fix_lis3dh_mulle
drivers/lis3dh: fixed bug and simplified init()
2017-01-31 19:48:52 +01:00
Hauke Petersen
ed2bb9d3f8 drivers/lis3dh: fixed bug and simplified init()
- changed to SPI_MODE_0
- made init() function use the params struct as parameter
2017-01-26 10:12:44 +01:00
672da2c457 drivers/mrf24j40: initial mrf24j40 support 2017-01-26 10:05:20 +01:00
Hauke Petersen
5d8f686cf6 Merge pull request #6031 from MichelRottleuthner/sdcard_spi_testing
add driver for sd-cards (using spi)
2017-01-24 14:18:11 +01:00
smlng
80a44ddfcc drivers/cc110x: add xtimer as module dependency 2017-01-23 14:01:32 +01:00
Kees Bakker
a0a76d66d2 drivers: Add driver for BME280 2017-01-20 20:26:43 +01:00
Michel Rottleuthner
ac2ae7cb56 drivers: added driver for accessing sd_cards over spi 2017-01-20 18:11:26 +01:00
Hauke Petersen
88636b6919 drivers/cc2420: use uuid module for addr gen 2017-01-19 11:09:29 +01:00
Hauke Petersen
84246d1687 drivers/cc110x: use uuid module for addr gen 2017-01-19 11:09:29 +01:00
Hauke Petersen
4105011867 drivers/enc28j60: used uuid module for addr gen 2017-01-19 11:09:29 +01:00
Hauke Petersen
81e8afd19e drivers/at86rf2xx: use uuid module for addr gen 2017-01-19 11:09:29 +01:00
Hauke Petersen
8624456efe drivers/w5100: use uuid_get() for HW addr gen 2017-01-19 11:09:29 +01:00
Hauke Petersen
976cf30281 drivers/hdc1000: remodeled driver
- cleaned up interface
- made read functions return phyical values
- made resolution configurable at initialization time
- added default parameter configuration file
- added SAUL support for the driver
2017-01-17 10:48:22 +01:00
ad874fb694 drivers/jc42: Add i2c periph requirement 2017-01-15 13:10:37 +01:00
Hauke Petersen
36317c56f3 cpu/nrf51: ported nrmin radio driver to netdev2 2017-01-10 11:54:16 +01:00
Hauke Petersen
d7dbac7c61 drivers: added driver for W5100 Ethernet chips 2016-10-26 08:36:58 +02:00
Hauke Petersen
a3d1b5f839 drivers: added driver for LPD8808 LED strips 2016-10-25 18:32:52 +02:00
3aa1ffb5fb drivers/io1_xplained: initial implementation including temperature/LED/GPIO and auto init 2016-09-02 10:42:09 +02:00
20cb96f4df drivers: add dependency to xtimer to bmp180 2016-07-25 15:32:09 +02:00
Bas Stottelaar
0902ccb2e0 drivers: si70xx: adapt for SAUL 2016-07-22 18:22:13 +02:00
144ab431e7 drivers/bmp180: add dependency to periph_i2c 2016-07-20 10:47:05 +02:00
Hauke Petersen
abc6b5ccdf drivers: added support for CC2420 radio 2016-07-06 18:14:48 +02:00
Hauke Petersen
25935bf95f drivers/Makefile.dep: fixed FEATURE_REQ assignments 2016-04-13 16:47:00 +02:00
7c9703b85b drivers: ethos: add missing tsrb dependency 2016-04-11 17:03:28 +02:00
Hauke Petersen
6bebc9d588 make: moved driver deps to drivers/Makefile.deps 2016-04-06 15:39:34 +02:00
Hauke Petersen
c46bc68ac5 drivers/dht: optimized DHT driver
- added default dht_params.h file
- added dht_auto_init(void) function
- changed init function to init(dev, params)
- s/gpio/pin/ in device descriptor
- moved FEATURE_REQUIRED to drivers/Makefile.dep
2016-02-20 18:19:20 +01:00
Hauke Petersen
3bf85cb508 drivers: added driver for BH1750FVI light sensors 2016-02-09 16:01:32 +01:00
Hauke Petersen
22cc26e9d7 drivers: added driver for enc28j60 ethernet chip 2015-12-08 11:51:18 +01:00
cd471867e6 drivers: encx24j600: make use of netdev2_eth module 2015-12-07 11:40:39 +01:00
Hauke Petersen
7a91be7c93 drivers: added dependencies for srf08 2015-10-22 11:06:38 +02:00
Hauke Petersen
0399995305 make: moved driver deps to drivers/Makefile.dep 2015-10-21 15:18:12 +02:00