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

375 Commits

Author SHA1 Message Date
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
47fc4b0749 sys/auto_init: fix doxygen grouping 2018-06-11 19:12:02 +02:00
7d013eb2b6 sys: fix doxygen grouping 2018-06-11 19:12:02 +02:00
Cenk Gündoğan
1fb4789e1b auto_init: add ndn-riot 2018-05-24 10:58:26 +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
f9c75d0df7
Merge pull request #8915 from ZetaR60/RIOT_ads101x
drivers/ads101x: support for ADCs
2018-05-03 08:31:03 +02:00
Hyungsin
770b74636b sys/auto_init: fix syntax error on auto_init_pulse_counter.c 2018-04-19 19:17:02 -07:00
f62818ea7b sys/auto_init/io1_xplained: fix gpios index 2018-04-16 15:57:36 +02:00
Matthew Blue
f5658cd89a drivers/ads101x: auto_init support 2018-04-13 11:38:50 -04:00
Hauke Petersen
108284670c net: added RD client for simplified registration 2018-04-09 10:37:10 +02:00
Hauke Petersen
f12d85d032 net/rdcli: added common rdcli module 2018-04-09 10:37:10 +02:00
Hauke Petersen
6efb06f108 sys/auto_init: added initialization for Skald 2018-04-06 11:18:53 +02: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
2fce7c7dcb sys/auto_init: fix crash with io1_xplained driver 2018-03-09 07:08:44 +01:00
902d8946a4 sys/auto_init: cleanup si70xx auto_init 2018-03-08 17:09:40 +01:00
44b6b1251c sys/auto_init: update io1_xplained auto_init 2018-03-08 16:55:16 +01:00
5c7cc50698 sys/auto_init/saul: add saul adaptation 2018-03-08 14:07:28 +01:00
d0b34af788 sys/auto_init: update dht auto_init 2018-03-08 12:53:00 +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
Martine Lenders
cafc33ce92
Merge pull request #8695 from aabadie/pr/drivers/params/mpu9150
sys/auto_init: cleanup in mpu9150 auto_init
2018-03-07 15:04:37 +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
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
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
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
1474a7fc60 sys/auto_init: update lis3dh with new API 2018-03-01 14:26:17 +01:00
2090189bac sys/auto_init: update mma8x5x auto_init 2018-03-01 13:57:24 +01:00
5c4e402de8 sys/auto_init: update tmp006 auto_init 2018-03-01 13:55:16 +01:00
9f120f2ad6 sys/auto_init: update grove_ledbar auto_init 2018-03-01 13:42:06 +01:00
5e07118aed sys/auto_init: update adxl345 auto_init 2018-03-01 13:40:01 +01:00
8654da5be7 sys/auto_init: update adcxx1c auto_init 2018-03-01 13:34:06 +01:00
d071ed5c85 sys/auto_init: cleanup in mpu9150 auto_init 2018-02-28 17:48:11 +01:00
1ad8717a94 sys/auto_init: update lsm6dsl auto_init 2018-02-28 17:46:33 +01:00
bc4798ae45 sys/auto_init: update mpl3115a2 auto_init 2018-02-28 17:14:04 +01:00
c2946c4326 sys/auto_init: update veml6070 auto_init 2018-02-28 16:53:48 +01:00
b70b531834 sys/auto_init: update jc42 auto_init 2018-02-28 16:47:38 +01:00
652d5631d6 sys/auto_init: update hdc1000 auto_init 2018-02-28 16:46:21 +01:00
892242f4d7 sys/auto_init: update bmp180 auto_init 2018-02-28 16:19:54 +01:00
Semjon Kerner
22c49e99b5 sys/auto_init/saul: provide saul adaption for bmx055 2018-02-19 14:28:16 +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
bb8ba486d8 sys/auto_init: add SAUL initialization for lis2dh12 2018-01-18 18:39:43 +01:00
Martine Lenders
81ef15287a native: provide socket-based ZEP device 2018-01-18 09:15:37 +01:00
Hyungsin
149914000f sys/auto_init: add SAUL auto init for pulse counter 2018-01-17 06:29:05 -08:00
7727871923 sys/auto_init/saul: provide saul adaption to lis3mdl 2017-12-14 18:18:34 +01:00
40f43671bf sys/auto_init: enable sx127x auto init 2017-12-01 18:09:49 +01:00
zhuoshuguo
ea5aeeb10f gomach: a robust traffic adaptive multichannel MAC for IoT. 2017-11-30 18:51:49 +01:00
zhuoshuguo
e6409f025f gnrc_lwmac: include lwmac headers when LWMAC defined. 2017-11-29 17:29:26 +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
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
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
smlng
df2b65a1dd driver, hts221: add SAUL adaption 2017-11-22 11:33:54 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif 2017-11-17 10:41:54 +01:00
Martine Lenders
71a7dbf918
gnrc: remove legacy network interface structures 2017-11-17 09:20:29 +01:00
Martine Lenders
e3ef42842e cc110x: port to gnrc_netif2 2017-11-15 22:57:02 +01:00
Martine Lenders
6038a7d3a5
gnrc_netif2: provide raw adaption layer (for e.g. SLIP) 2017-11-14 13:40:51 +01:00
Martine Lenders
546d05266e
xbee: port to gnrc_netif2 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
Vincent Dupont
f2466fb8dc periph/rtc: move init from auto_init to periph_init 2017-11-09 12:56:43 +01:00
ccf704bab8 sys: random: use luid to generate random seed 2017-11-08 17:18:26 +01:00
be9e8614ef sys/auto_init/saul: provide saul adaption to mpu9150 2017-11-08 09:09:21 +01:00
Martine Lenders
861035f22d gnrc: integrate gnrc_netif2
Not link-able, since NDP and NC are missing (intentionally)
2017-11-07 19:08:44 +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
zhuoshuguo
c554d30b26 gnrc_lwmac: port to gnrc_netif2. 2017-11-01 15:40:47 +01:00
Hauke Petersen
41f0864b67 saul_reg: make ptr to device descriptor non const 2017-10-12 11:51:24 +02:00
Francisco Acosta
a82930cf60 Merge pull request #7381 from miri64/slipdev/api/slip-port-to-netdev
slip: port to be used with netdev
2017-10-10 23:23:01 +02:00
Sebastian Meiling
af616acd1d Merge pull request #7409 from miri64/gnrc_netif2/feat/ieee802154
gnrc_netif2: add IEEE 802.15.4 support
2017-10-10 23:17:44 +02:00
Martine Lenders
b74ee8869b slip: port to be used with netdev 2017-10-10 23:14:12 +02:00
Martine Lenders
9f9737dcd8 auto_init: upgrade bootstrap of IEEE 802.15.4 devices for gnrc_netif2 2017-10-10 23:11:55 +02:00
Martine Lenders
4083640219 auto_init: upgrade bootstrap of Ethernet devices for gnrc_netif2 2017-10-10 21:49:28 +02:00
Martine Lenders
489a3cfaae auto_init: add netdev_tap gnrc_netif2 initialization for testing 2017-10-10 20:14:42 +02:00
Martine Lenders
72edaa3e47 Merge pull request #7586 from cladmi/pr/saul/gpio
saul/gpio: Low footprint handling of active-low signals + state initialization
2017-10-10 18:49:02 +02:00
Martine Lenders
6a7de28cd1
gnrc: integrate NIB for testing 2017-10-10 10:12:19 +02:00
Gaëtan Harter
c39f4d8317 saul/gpio: add support to initialized state 2017-10-05 17:21:08 +02:00
Gaëtan Harter
be3029d890 saul/gpio: use saul_gpio_params_t structure as saul device
This provides the whole structure to read and write.
2017-10-05 17:18:13 +02:00
035d266d49 makefile: indentation cleanup 2017-09-22 12:00:47 +02:00
Gaëtan Harter
815f7f6ebf cleanup: remove leftover AUTO_INIT_MODULES 2017-09-21 14:00:54 +02:00
88433cba2f sys: random: make use of submodules in Makefile 2017-08-30 23:49:30 +02:00
smlng
ca0cc3956d saul: add support for grove ledbar 2017-08-30 09:12:57 +02:00
Peter Kietzmann
e529571437 drivers/lps331ap: add saul support for temperature sensor 2017-08-25 10:19:18 +02:00
smlng
6d25209967 drivers, lsm6dsl: add SAUL for temperature 2017-07-03 16:00:32 +02:00
smlng
addf64349c saul: add mpl3115a2 2017-06-29 09:57:17 +02:00
f1a93bf36e drivers/dht: some cleanup 2017-06-28 16:57:29 +02:00
smlng
5fa123c8a2 drivers, jc42: fix constness in jc42_init 2017-06-26 16:22:34 +02:00
067231936f Merge pull request #5793 from OTAkeys/pr/can_stack
can: add a CAN stack for RIOT
2017-06-26 16:02:35 +02:00
Sebastian Meiling
9ce9dd601c Merge pull request #6554 from zhuoshuguo/lwmac_retry
LWMAC:  A simple duty cycling 802.15.4 MAC protocol (2nd try).
2017-06-26 12:50:44 +02:00
Martine Lenders
9d3f9f2589 Merge pull request #6402 from OTAkeys/pr/adcxx1c
drivers/adcxx1c: add ADC081C/ADC101C/ADC121C i2c adc support
2017-06-26 10:39:02 +02:00
Vincent Dupont
35056fd647 drivers/adcxx1c: add ADC081C/ADC101C/ADC121C i2c adc support 2017-06-26 09:46:03 +02:00
zhuoshuguo
a54655890e LWMAC: a simple duty cycling 802.15.4 MAC protocol. 2017-06-21 16:40:04 +02:00
d9ea159255 drivers: remove useless saul name suffix 2017-06-21 15:06:53 +02:00