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
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
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
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
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
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
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
Schorcht
74e1ab220c
drivers: add driver for CCS811 gas sensor
2018-12-20 12:42:44 +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
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
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
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
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
Joakim Nohlgård
a867aeaba2
periph/i2c: Add precondition on i2c_acquire for i2c bus access
2018-11-28 08:43:01 +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
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
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
Marian Buschsieweke
3cc6c7f465
drivers/saul: Added sensor type RSSI
2018-11-06 11:07:13 +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
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
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
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
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
Oleg Artamonov
631c16fdb1
drivers/adxl345: fix range values
2018-10-15 14:57:55 +02:00
Oleg Artamonov
fb65067d3a
drivers/adxl345: fix ADXL345 driver
2018-10-15 14:57:55 +02:00
1ca44cf072
drivers/vcnl40x0: initial implementation
2018-10-15 11:44:10 +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
6dfc07b076
drivers/sx127x: remove useless rx timeout setter
2018-09-25 22:22:13 +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
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
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
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
9f8386c215
drivers*: add saul doc group to related drivers
2018-08-27 11:32:20 +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
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
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
dylad
d114e2852c
drivers/adxl345: fixes & cleanup
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-08-03 11:12:25 +02:00
Michael Andersen
e354824bcf
drivers/mma7760: Add initial support
2018-08-02 15:52:58 +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
Michel Rottleuthner
2e6ff0f197
drivers/ds1307: remove unused clock param
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
0b78a1bec5
drivers/isl29020: rework driver API and params definition
2018-07-25 12:01:39 +02:00
Matthew Blue
bc9b3ecaae
*/ads101x: copyright notice update
2018-07-25 12:01:39 +02:00
95a4d8d4e7
drivers/tsl2561: rework API for consistency
2018-07-25 12:01:39 +02:00
MrKevinWeiss
d0f86d0611
drivers/srf02: Update to new i2c API
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
Michel Rottleuthner
e5976ad497
drivers/isl29125: update parameter definition scheme
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
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
2ace1a2dfe
drivers/l3g4200d: rework driver API and params definition
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
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
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
Joakim Nohlgård
1dfc5f8f52
periph/i2c: Editorial doc changes
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
e11a37df03
drivers/i2c: modify I2C API
...
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
Gunar Schorcht
738c1161c0
enc28j60: improvements to fix #9043
2018-07-17 19:19:15 +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
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
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
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
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
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
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
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
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
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
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
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
Matthew Blue
073d45aa4d
drivers/ads101x: initial support
2018-04-13 11:38:49 -04:00
1bee32c75f
drivers/sx127x: refactor error management
2018-04-12 10:00:24 +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
9328a1f2a2
drivers/sx127x: make paselect configurable
2018-03-26 09:38:35 +02:00
8249ffadf4
drivers/soft_spi: add to drivers_soft_periph group
2018-03-20 20:09:55 +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
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
51dabf93ad
drivers: netdev: switch to iolists
2018-03-06 14:00:31 +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
1a0cb4264c
drivers/lis3dh: rework driver API and params definition
2018-03-01 14:26:17 +01:00
Josar
eeda6f6c8c
driver/adxl345: rename enums to avoid conflicts
2018-02-28 23:05:22 +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
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
8fd79b4c50
drivers/hts221: doxygen documentation typos
2018-02-25 14:27:28 +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
78078b3f28
drivers/saul: add UV and distance sense options
2018-02-22 11:34:44 +01:00
Semjon Kerner
83153d6925
drivers/bmx055: initial implementation
2018-02-19 14:27:39 +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
6840c15db0
periph/rtt: remove RTT_NUMOF guard from header
2018-02-09 15:51:06 +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
4bc4c56d02
drivers/ata8520e: initial implementation
2018-01-25 12:01:57 +01:00
4c69940a54
drivers/tja1042: move to drivers_can group
2018-01-23 08:32:55 +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
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
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
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
b543d0b5da
drivers/sx127x: add functions required for loramac
2017-12-14 22:13:41 +01:00
b39a3d79ef
drivers/lis3mdl: update to new parameters scheme
2017-12-14 18:18:20 +01:00
32b1ee3baf
drivers/sx127x: cleanup RX/TX timers
2017-12-09 16:51:09 +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
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
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
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
047b8172ae
cc2420: 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
562474f975
Merge pull request #7280 from smlng/driver/hts221
...
drivers: hts221 humidity and temperature sensor
2017-11-22 13:19:46 +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
55cda8d8ab
drivers: add hts221 temperature and humidity sensor
2017-11-21 09:42:07 +01:00
1387945461
drivers/sx127x: expose iq_invert via netdev, add tx power getter
2017-11-20 11:04:41 +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
marble
fbba6c3851
driver/soft_spi: initial implementation
2017-11-13 10:11:06 +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
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
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
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
Bas Stottelaar
31c7e9e4c2
periph: i2c: include note on address alignment.
2017-10-31 20:50:42 +01:00
91bed82a51
drivers/sx127x: use common LoRa definitions
2017-10-26 15:41:41 +02:00
kYc0o
a46907feda
drivers/include/sx127x.h: fix power var len
2017-10-26 01:45:29 +02:00
Hauke Petersen
5920d99752
pm: fix weak-based default implementations
...
Instead of using `weak` function definitions, this PR handles
default implementations using `PROVIDES_x` defines, allowing
for cpus/pm realted modules to use their own implementations.
2017-10-16 14:27:35 +02:00
Martine Lenders
b74ee8869b
slip: port to be used with netdev
2017-10-10 23:14:12 +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
c627935aec
drivers/sx127x: move netdev related callback to the right file
2017-10-10 18:23:18 +02:00
Gaëtan Harter
c39f4d8317
saul/gpio: add support to initialized state
2017-10-05 17:21:08 +02:00
Gaëtan Harter
c75470e602
saul/gpio: add support for inverted mode gpios
2017-10-05 17:19:54 +02:00
15c22e9ab7
at86rf2xx: add NETOPT_TX_RETRIES_NEEDED support
2017-10-04 12:20:15 +02:00
a2d790c924
mrf24j40: Add tx_retries_needed netopt
2017-09-26 11:16:12 +02:00
Joakim Nohlgård
297bc2b5e6
at86rf2xx: Add get NETOPT_LAST_ED_LEVEL
2017-09-06 21:17:14 +02:00
Joakim Nohlgård
988759d4da
at86rf2xx: Add manual CCA
2017-09-05 16:48:55 +02:00
Martine Lenders
83a94db151
Merge pull request #7532 from aabadie/drivers_doxygen_cleanup
...
drivers: doxygen cleanup
2017-09-04 14:16:52 +02:00
Hauke Petersen
a8678aeaaf
Merge pull request #6753 from haukepetersen/add_apa102
...
drivers: add driver for apa102 RGB LEDs
2017-09-04 11:22:15 +02:00
94c753c07a
drivers: doxygen cleanup
2017-09-01 15:12:20 +02:00
Hauke Petersen
9bde34df33
drivers: add driver for apa102 RGB LEDs
2017-09-01 09:37:31 +02:00
4b7e682048
drivers/dht: remove useless auto_init declaration
2017-08-31 22:05:33 +02:00
Peter Kietzmann
c177a1a75d
Merge pull request #6942 from smlng/driver/my9221
...
Add driver for MY9221 LED controller and (based on that) the Seeed Studio Grove LED bar
2017-08-30 09:21:33 +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
5dc834a72d
doxygen: fix typo on word 'successfully'
2017-08-29 15:12:44 +02:00
Joakim Nohlgård
065bc62e0a
netdev: Make set() value parameter const void *
2017-08-25 13:41:19 +02:00
Hauke Petersen
7204ec3166
periph/rtc: removed RTC_NUMOF guards from header
2017-08-23 15:39:16 +02:00
Sebastian Meiling
675f665dd0
Merge pull request #7464 from OTAkeys/pr/lsm6dsl
...
drivers/lsm6dsl: add power up/down functions
2017-08-21 09:41:02 +02:00
Thomas Eichinger
57ca0f96ec
Merge pull request #7309 from Hyungsin/forupstream_radio_state_change
...
at86rf2xx: reliable radio state change
2017-08-16 07:42:06 -07:00