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

1702 Commits

Author SHA1 Message Date
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
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