e126599928
drivers/ili9341: use const qualifier where possible
2020-02-02 18:55:46 +01:00
Sebastian Meiling
a4c4c25b3b
Merge pull request #12866 from jia200x/pr/gnrc_lorawan_remove_netdev
...
net/gnrc_lorawan: remove netdev layer from MAC
2020-01-30 14:02:59 +01:00
Marian Buschsieweke
fdc87ae30d
drivers/cc110x: Fixed typo in doc
2020-01-23 18:27:04 +01:00
cab8729e32
drivers/ili9341: add number of lines parameter
2020-01-15 15:36:21 +01:00
cfbab79398
Merge pull request #13105 from bergzand/pr/ili9341_add_config
...
ili9341: Add color mode and inversion parameters
2020-01-13 21:07:25 +01:00
Francisco
3e0043021b
Merge pull request #13110 from kaspar030/periph_rtt_docimp
...
periph/rtt: clarify rtt_set_alarm() documentation
2020-01-13 17:12:08 +01:00
146137ef72
ili9341: Add color mode and inversion parameters
2020-01-13 17:09:02 +01:00
Leandro Lanzieri
434309a9e2
Merge pull request #13106 from MrKevinWeiss/pr/fix/mpudoc
...
drivers/mpu9x50: Fix prameter placement for docs
2020-01-13 15:51:00 +01:00
4df2827fe1
periph/rtt: clarify rtt_set_alarm() documentation
2020-01-13 15:18:16 +01:00
Francisco
1977423e9b
Merge pull request #13048 from maribu/adc-int32_t
...
periph/adc: Change return type of `adc_sample()` to `int32_t`
2020-01-13 12:56:09 +01:00
MrKevinWeiss
e19091541f
drivers/mpu9x50: Fix prameter placement for docs
...
When generating the doxygen output the temp sens and offset are in the config group.
Since they are internal parameters not to be accessed by users they are placed in the mpu9x650_internal.h file.
2020-01-13 12:50:13 +01:00
benpicco
1c148ba2f2
Merge pull request #10092 from gschorcht/drivers_itg320x
...
drivers: add driver for InvenSense ITG-320X 3-axis gyroscope
2020-01-11 17:37:48 +01:00
Schorcht
71772cc3b3
drivers: add driver for ITG320X 3-axis gyroscope
2020-01-11 08:02:34 +01:00
Marian Buschsieweke
6e39b4d191
drivers/periph: adc_sample() now returns int32_t
...
Reasoning: This allow support for ADCs with resolution of more than 16 bits on
8 bit and 16 bit platforms.
2020-01-10 14:13:06 +01:00
Marian Buschsieweke
e03615fd38
drivers/dht: Worked around doxygen bug
...
Markdown in @retval values is currently broken in Doxygen. This removes use
of markdown there
2020-01-09 17:08:05 +01:00
benpicco
87f86c4c08
Merge pull request #12924 from daexel/shtc1_bugfix
...
drivers/shtc1: Initial support for the SHTC1 temperature and humidity sensor
2019-12-16 18:21:48 +01:00
steffen
fa05cf0c5d
Driver/shtc1: add saul integration
...
- add saul integration
- uncrustified
- SAUL/DRIVER tests
2019-12-16 15:29:04 +01:00
Jue
bc46c7478f
drivers: add Differentially Operated Serial Ethernet driver
2019-12-16 10:43:13 +01:00
35737a24e4
drivers/ili9341: add spi mode configuration option
2019-12-11 16:18:40 +01:00
ef4dcb8eec
ili9341: Initial include
...
This commit adds support for the ili9341 display
2019-12-11 16:18:37 +01:00
Jose Alamos
99dbcecc3a
net/gnrc_lorawan: remove netdev SAP interface
2019-12-03 14:08:35 +01:00
Yegor Yefremov
87d8f29af2
drivers/ws281x: improve documentation
...
Replace 'to' with 'too' and remove the space between '8 MHz'.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-11-29 11:24:29 +01:00
Jannes
0acf55af53
drivers/ncv7356: Add documentation
2019-11-27 13:35:57 +01:00
MichelRottleuthner
bf676d4728
Merge pull request #11022 from jia200x/pr/gnrc_lorawan
...
gnrc_lorawan: add support for GNRC based LoRaWAN stack
2019-11-27 09:25:20 +01:00
Jose Alamos
523d1af490
netdev: add netdev types for GNRC_LORAWAN
2019-11-26 21:52:05 +01:00
Marian Buschsieweke
2d81738cb9
drivers/pulse_counter: Use C11 atomics & bugfix
...
- Previously the pulse counter used GCC's built-in functions for atomic memory
access. This PR changes this to use C11 atomics instead:
- Use of C11 atomics instead of atomic build-in functions makes the code
more portable and readable.
- Previously pulse_counter_reset() did not use an atomic function, so that
resets would be racy. (E.g. on the 8-bit AVR platform an 16-bit store is
not atomic, unless special care (like using C11 atomics) is taken.)
2019-11-26 14:04:42 +01:00
benpicco
ffe208a3a4
Merge pull request #11394 from maribu/saul_stringification
...
drivers/saul: Improved stringification
2019-11-26 13:53:59 +01:00
benpicco
af0c6e9319
Merge pull request #12772 from daexel/bme280_bugfix
...
drivers/bmx280: add temp_measurement to methods
2019-11-25 18:26:50 +01:00
benpicco
a21fe4ae87
Merge pull request #12259 from daexel/dcf77
...
drivers/dcf77:Inital Support DCF77
2019-11-25 16:20:51 +01:00
Michel Gerlach
973d9fd54b
driver/bme280: add dependencies on temperature for pressure and humidity
2019-11-25 13:13:24 +01:00
Marian Buschsieweke
3264106a2f
Merge pull request #12704 from benpicco/AT86RFR2_smart_idle
...
drivers/at86rf2xx: enable Smart Reduced Power Consumption for AT86RFR2
2019-11-25 11:57:44 +01:00
Marian Buschsieweke
837e9c1ddc
drivers/saul: Improved stringification
...
- Changed declaration of SAUL classes (while keeping the format)
- Termed "class of SAUL classes" category of SAUL classes in the doc to
avoid confusion. (E.g. a SAUL class will now be in category sensor or
actuator.)
- Separate enums for SAUL category and intra-category ID. Numbers will now
but auto-assigned by the compiler
- Use constant look-up tables for stringification (one table per SAUL category).
==> This saves 512B in .data section of AVR
2019-11-25 10:09:11 +01:00
benpicco
ce1f383f90
Merge pull request #12606 from maribu/at86rf2xx-addr-endianess
...
drivers/at86rf2xx: Updated address API
2019-11-24 16:33:16 +01:00
c87748f563
periph: fix periph/gpio_util.h header guards
2019-11-23 22:39:40 +01:00
eeca0e3752
drivers/include: fix typos
2019-11-23 22:39:40 +01:00
5ebe48ce42
drivers/sht3x: fix typos
2019-11-23 22:39:39 +01:00
1d2dd2efdd
drivers/sdcard_spi: fix typos
2019-11-23 22:39:39 +01:00
a90a192648
drivers/pca9685: fix typos
2019-11-23 22:39:39 +01:00
541596c893
drivers/nrf24l01p: fix typos
2019-11-23 22:39:39 +01:00
Francois Berder
4a31f94cfc
many typo fixes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Marian Buschsieweke
f0317c50f2
drivers/at86rf2xx: Updated address API
...
Changed the address getter and setter functions to avoid byte order
confusion.
2019-11-23 19:40:09 +01:00
Marian Buschsieweke
16ee7aed32
Merge pull request #11350 from maribu/ina2xx
...
drivers/ina220: Changed to comply with RIOT's driver design goals & SAUL adaption
2019-11-22 23:36:50 +01:00
benpicco
09f647eee2
Merge pull request #12693 from maribu/neopixel-atmega
...
drivers: Added WS281x RGB LED driver for ATmega platform
2019-11-22 22:36:36 +01:00
Marian Buschsieweke
3ebbec84c7
drivers/saul: Fixed documentation
...
There is no need to distinguish between sensors for electrical power or other
types of power.
2019-11-22 20:29:53 +01:00
Marian Buschsieweke
a6476bd813
drivers/ina2xx: Match RIOT's driver design goals
...
- Use standard RIOT style `ina2xx_params_t` on initialization as explained in
[1] instead of a custom API
- Provided a default configuration via `ina2xx_params_t` as required by [1] that
works fine for the INA219 breakout board and with an optimal resolution that
still covers the whole range of USB high-power devices (500 mA @ 5V) with a
comfortable safe margin.
- Changed initialization procedure to include a device reset and connectivity
test, as required by [1]
- The calibration value is now calculated by the driver
- This simplifies using the driver a lot
- The user can still choose a trade-off between range and resolution that
matches the application requirements, but now among predefined values
- This allows the driver to easily convert the raw data into meaningful
physical data, as the resolution of the raw data is known
- All measurements are provided as meaningful physical data as required by [1]
[1]: https://github.com/RIOT-OS/RIOT/wiki/Guide:-Writing-a-device-driver-in-RIOT
2019-11-22 20:28:57 +01:00
Marian Buschsieweke
f424421f79
drivers: Renamed ina220 --> ina2xx
...
The INA219 has the exact same interface as the INA220 (including values and
semantics of the configuration register). Thus, this driver can be used for
both. The ina220 has been renamed to ina2xx to reflect this and pseudo modules
for the ina220 and ina219 have been added.
2019-11-22 19:53:51 +01:00
Hauke Petersen
9f5f6f4215
drivers/bmx280: improved documentation
2019-11-22 14:04:38 +01:00
Hauke Petersen
b7f33bd84f
drivers/bmx280: significant driver rework
...
bugs fixed:
- move global variables into device descriptor
- guard bus access (use acquire and release)
added functionality:
- enable SPI mode
structural improvements:
- reduce stack usage
- simplify the driver's structure
- centralize bus access code
- use assertions
- cleanup includes
- use shortcuts for bus access
style changes:
- fix line length
- cleanup and improve doxygen
- unify pointer notation (char *var over char* var)
- unify (error) return messages
- use `#ifdef MODULE_BME280` instead of `#if defined(BME..)`
- unify debug messages -> using `[bmx28] x: msg` scheme
2019-11-22 14:04:37 +01:00
Michel Gerlach
2a14b6ceb8
Drivers/DCF77:First implementation
2019-11-22 10:27:01 +01:00
Gunar Schorcht
a05027cdba
Merge pull request #12523 from aabadie/pr/sys/arduino_pwm
...
sys/arduino: add implementation for analogWrite
2019-11-21 15:08:10 +01:00
benpicco
8836f225e6
Merge pull request #12586 from aabadie/pr/drivers/tmp00x_scan_build
...
drivers/tmp00x: cleanup return codes and fix potential use of uninitialized parameter
2019-11-20 20:10:17 +01:00
Marian Buschsieweke
1ed1906023
drivers/ws281x: Added driver for RGB LEDs
...
Added driver for the WS2812/SK6812 RGB LEDs often sold as NeoPixels, which due
to their integrated RGB controller can be chained to arbitrary length and
controlled with a single GPIO.
2019-11-18 22:45:24 +01:00
abfa73193f
drivers/periph_pwm: define mapping struct for arduino pins
2019-11-15 17:51:45 +01:00
Benjamin Valentin
528cb27395
drivers/at86rf2xx: enable Smart Reduced Power Consumption for AT86RFR2
...
"Smart Reduced Power Consumption Techniques" [0] are supported by AT86RF233,
ATmega2564/1284/644RFR2 and ATmega256/128/64RFR2 devices.
Functionality is the same as on AT86RF233, so we can just enable it.
[0] http://ww1.microchip.com/downloads/en/Appnotes/Atmel-42356-Smart-Reduced-Power-Consumption-Techniques_ApplicationNote_AT02594.pdf
2019-11-13 23:35:40 +01:00
Hauke Petersen
ca7578073a
drivers: add support for QMC5883L mag sensors
2019-11-13 12:56:26 +01:00
Marian Buschsieweke
107b50ca04
drivers/net/netdev: Use consistent code formatting
2019-11-11 13:03:50 +01:00
c062d74b84
drivers/tmp00x: cleanup return codes
...
This also fixes a scan-build warning about a potential use of uninitialized parameter to the call of tmp0xx_read function
2019-11-08 22:17:44 +01:00
6c56972dba
drivers/include/hd44780: avoid use of magic numbers
2019-11-06 16:25:27 +01:00
Marian Buschsieweke
4d279ae76e
Merge pull request #12055 from fabian18/driver-ina3221
...
Driver for INA3221 current and power and bus voltage monitor
2019-11-05 14:45:03 +01:00
Benjamin Valentin
513a3a7d59
periph_common/rtc: add rtc_tm_compare()
...
Add an easy way to compare two points in time.
2019-11-05 12:52:45 +01:00
fabian18
7e8cce875a
drivers/ina3221: Added SAUL integration
2019-11-05 12:37:41 +01:00
fabian18
195379a9b8
drivers/ina3221: INA3221 driver implementation
2019-11-05 12:29:42 +01:00
8e70cfb2e4
driver/hd44780: cleanup param definition and HD44780_RW_OFF
...
There's already a macro for undefined gpios: GPIO_UNDEF
2019-10-29 10:58:26 +01:00
Benjamin Valentin
8f1eaae353
drivers/at86rf2xx: add support for ATmegaRF MCUs
...
The ATmega128RFA1 and ATmega256RFR2 contain a version of this IP
on the MCU.
The radio core behaves mostly like a at86rf231, but all registers
are mapped to memory and radio states can directly generate interrupts
on the CPU.
The ATmega256RFR2 adds support for automatic retransmissions.
This has not been implemented yet.
Co-authored-by: Josua Arndt <jarndt@ias.rwth-aachen.de>
2019-10-26 23:10:18 +02:00
9eee6bc0a1
usbdev: Fix spelling mistakes
2019-10-23 10:36:49 +02:00
5db4310b45
Merge pull request #12481 from aabadie/pr/driver/rn2xx3_fix_sleep
...
drivers/rn2xx3: fix sleep function
2019-10-20 08:00:40 +02:00
Jannes
fdd34499ac
drivers/mpu9x50: Correct read_temperature
...
Change msbiot Makefile.dep back to mpu9150
2019-10-17 14:04:43 +02:00
Jannes
2df5d6048d
driver/mpu9x50: Rename mpu9150 to mpu9x50
...
Rename all files
Rename all variables, methods and methodcalls
Rename all folders
Add to the makefiles
Add to doc
2019-10-17 12:52:18 +02:00
76267bdfea
drivers/rn2xx3: cleanup sleep function
2019-10-17 10:02:11 +02:00
Kevin "Tristate Tom" Weiss
e20ffd7f7c
Merge pull request #11738 from OTAkeys/feat/add_cme_cms_error
...
driver/at: add return code for CME/CMS errors
2019-10-15 12:55:40 +02:00
Leandro Lanzieri
0e0b6f8231
Merge pull request #12221 from benpicco/mrf24j40-init_check
...
drivers/mrf24j40: allow for basic self-test on init
2019-10-14 15:36:52 +02:00
Benjamin Valentin
38b35c513c
drivers/mrf24j40: allow for basic self-test on init
...
During production it is often desirable for devices to perform
some kind of basic self-test to isolate defects.
For this it is necessary for the initialization not to hang if a
component is faulty / not connected.
This moves an already exising self-test that was previously enabled
as a debug option to an independent compile-time configurable.
It is necessary to call this in _init() before mrf24j40_hardware_reset()
as the reset function uses xtimer_usleep() which will cause another
thread to get scheduled.
If this thread (e.g. rpl or ipv6) then tries to access the netdev, RIOT
will crash.
2019-10-14 14:50:06 +02:00
benpicco
0778774656
Merge pull request #12260 from JannesVolkens/opt3001
...
drivers/opt3001: Initial support for the Opt3001 sensor
2019-10-02 12:11:47 +02:00
benpicco
69d274d87b
Merge pull request #12290 from benpicco/opt_driver_lis2dh12i2c
...
drivers/lis2dh12: add I2C mode
2019-10-02 12:06:40 +02:00
Hauke Petersen
8a69e4ac69
drivers/lis2dh12: added I2C mode
2019-10-02 11:16:39 +02:00
Jannes
33a98100a9
drivers/opt3001: Initial support
2019-10-02 10:06:28 +02:00
Hauke Petersen
7f419f4381
periph/uart: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
0cd8bb47c8
periph/timer: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
4914e6484a
periph/spi: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
44c54c2ae0
periph/rtt: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
bf5ad17b9d
periph/rtc: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
711af7cc27
periph/hwrng.h: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
3e9ee01103
periph/gpio: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
e71f0bb0c6
periph/flashpage: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
8ef4f0d134
periph/dac.h: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
348b337023
periph/cpuid: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
f361ebc0bd
periph/adc: add doc on low power implications
2019-10-01 23:09:23 +02:00
Gunar Schorcht
02d81b717e
Merge pull request #12063 from maribu/i2c_release
...
drivers/periph/i2c: Updated i2c_release() to return void
2019-10-01 19:50:38 +02:00
benpicco
d5c272ed86
Merge pull request #12199 from smlng/fix_timer_returns
...
periph/timer: Fix return codes of timer API
2019-09-17 23:04:46 +02:00
benpicco
6c95081e42
Merge pull request #10556 from gschorcht/drivers_pca9685
...
drivers: support for NXP PCA9685 I2C 16-channel, 12-bit PWM controller
2019-09-15 19:20:29 +02:00
aed12b4853
Merge pull request #11252 from fjmolinas/pr_wdg_stm32
...
cpu/stm32_common: add watchdog for stm32
2019-09-13 09:16:18 +02:00
Dylan Laduranty
513b767694
Merge pull request #11944 from benpicco/spi_doc-fix
...
drivers/include/periph/spi: fix documentation
2019-09-12 21:28:21 +02:00
Schorcht
f93f9b7790
drivers: support for PCA9685 PWMs
2019-09-12 19:11:52 +02:00
Francisco Molina
cb876297a8
drivers/periph: include periph_cpu.h in wdt.h
2019-09-12 17:45:31 +02:00
Benjamin Valentin
fa9e9064cf
periph_common/rtc: add rtc_tm_normalize()
2019-09-12 11:32:08 +02:00
Francisco Acosta
092f8e8d46
Merge pull request #8774 from OTAkeys/pr/flashpage_mtd
...
drivers: add mtd wrapper for periph_flashpage
2019-09-11 16:59:15 +02:00
Sebastian Meiling
ed5f085b30
periph/timer: always return 0 for success
...
Change documentation on return codes in periph/timer API to
return 0 on success and (-1) on error by default.
For timer_init this was already the case, but for timer_set,
timer_set_absolute, and timer_clear this is now changed
from 1 to 0 for success, while error remains (-1).
2019-09-11 13:31:13 +02:00
Vincent Dupont
7c8a3eae71
drivers/mtd: improve mtd API doc
2019-09-10 13:26:05 +02:00
Vincent Dupont
f3d2f53287
drivers: add mtd_flashpage driver
...
This is a MTD wrapper for flashpage internal flash
2019-09-10 13:26:05 +02:00
Marian Buschsieweke
bb739907a2
drivers/cc110x: Allow setting the default channel
...
This (re-)introduces the `CC110X_DEFAULT_CHANNEL` preprocessor macro to set the
default channel of the `cc110x` at compile time. The same macro has been used
in the previous version of the driver, so some users might still expect it to
work.
2019-09-10 10:04:51 +02:00
Leandro Lanzieri
563a053bc1
Merge pull request #10983 from skullbox305/driver_ph_oem
...
drivers/ph_oem: support for Atlas Scientific pH OEM sensor
2019-09-09 10:18:49 +02:00
Igor Knippenberg
61d0970939
drivers/saul: Added pH
...
- added device class SAUL_SENSE_PH in saul.h
- added stringification SAUL_SENSE_PH in saul_str.c
2019-09-05 12:47:10 +02:00
Igor Knippenberg
ead03d4a08
drivers/ph_oem: Initial implementation of the pH OEM sensor
...
The Atlas Scientific pH OEM sensor is a small circuit to be embedded in
end products to measure the pH value with any commercially available pH
electrode
2019-09-05 12:47:10 +02:00
Marian Buschsieweke
3da3280930
driver/cc110x: Fixed indent/alignment in doc
...
The Doxygen documentation blocks have not been correctly aligned. This commit
fixes this.
2019-09-04 13:15:15 +02:00
Rotzbua
5a8bac399c
drivers/ccs811: sys/hashes: fix typo usefull -> useful
2019-08-25 21:27:55 +02:00
Kevin "Tristate Tom" Weiss
1b1c902dd3
Merge pull request #12022 from JannesVolkens/tmp00x
...
driver/tmp00x: make tmp006 more generic
2019-08-23 13:26:09 +02:00
Jannes
90c4ef04ef
driver/tmp00x: Change tmp006 to tmp00x and add tmp007
...
Rename TMP006 to TMP00x
Add TMP007 sensor support to TMP00X
Change uint8_t reg to uint16_t
Add to doxygen documentation group
Expose compile time configurations
Move defines from .c to .h
Change double to float, because double is not needed
Add TMP007 register information
2019-08-23 12:11:16 +02:00
Marian Buschsieweke
5bba339a7c
drivers/periph/i2c: Fixed i2c_release() signature
...
i2c_release() should not have a return value, as:
- There is no reasonable error handling possible by the caller, so there is no
value in indicating success/failure via the return value to the caller
- There is no legitimate reason to fail *unless* an invalid I2C bus was released
or an I2C bus that was not previously acquired was released
--> This would indicate a bug in the code and should be tackled by an
assert()
2019-08-22 12:02:01 +02:00
Vincent Dupont
42c5c40da9
ncv7356: add driver for ncv7356 SW CAN transceiver
2019-08-21 11:05:51 +02:00
Marian Buschsieweke
972367432a
drivers/cc110x: Rewrite of the cc110x driver
...
The cc110x driver has been re-written from scratch to overcome the limitations
of the old driver. The main motivation of the rewrite was to achieve better
maintainability by a detailed documentation, reduce the complexity and the
overhead of the SPI communication with the device, and to allow to
simultaneously use transceivers with different configuration regarding the used
base band, the channel bandwidth, the modulation rate, and the channel map.
Features of this driver include:
- Support for the CC1100, CC1101, and the CC1100e sub-gigahertz transceivers.
- Detailed documentation of every aspect of this driver.
- An easy to use configuration API that allows setting the transceiver
configuration (modulation rate, channel bandwidth, base frequency) and the
channel map.
- Fast channel hopping by pre-calibration of the channels during device
configuration (so that no calibration is needed during hopping).
- Simplified SPI communication: Only during start-up the MCU has to wait
for the transceiver to be ready (for the power regulators and the crystal
to stabilize). The old driver did this for every SPI transfer, which
resulted in complex communication code. This driver will wait on start up
for the transceiver to power up and then use RIOT's SPI API like every other
driver. (Not only the data sheet states that this is fine, it also proved to
be reliable in practise.)
- Greatly reduced latency: The RTT on the old driver (@150 kbps data rate) was
about 16ms, the new driver (@250 kbps data rate) has as RTT of ~3ms
(depending on SPI clock and on CPU performance) (measured with ping6).
- Increased reliability: The preamble size and the sync word size have been
doubled compared to the old driver (preamble: 8 bytes instead of 4,
sync word: 4 byte instead of 2). The new values are the once recommended by
the data sheet for reliable communication.
- Basic diagnostic during driver initialization to detect common issues as
SPI communication issues and GDO pin configuration/wiring issues.
- TX power configuration with netdev_driver_t::set() API-integration
- Calls to netdev_driver_t::send() block until the transmission has completed
to ease the use of the API (implemented without busy waiting, so that the
MCU can enter lower power states or other threads can be executed).
2019-08-20 16:32:11 +02:00
Marian Buschsieweke
615e25f319
drivers: Removed driver for CC110x transceivers
...
- Removed cc110x driver
- Updated all makefiles
- Kept both board specific configurations and support for it in RIOT's
upper layers, so re-implementations don't need to start from zero
2019-08-19 12:56:47 +02:00
fabian18
2c001f5a6c
drivers/include/periph/eeprom: Changed uint8_t* to void* in API
2019-08-09 17:27:32 +02:00
cf2228e23e
drivers/periph_wdt: cleanup normal mode inline example
...
Remove a useless blankline
2019-08-05 21:48:10 +02:00
bd1eb6e285
drivers/periph_wdt: fix inline callback example
...
Function was renamed to wdt_setup_reboot_with_callback
2019-08-05 21:47:25 +02:00
e42307188c
drivers/spi: extend API with updatable gpio mode on pins
2019-08-05 16:46:41 +02:00
Benjamin Valentin
870f5a5a0b
drivers/include/periph/spi: fix documentation
...
spi_transfer_reg() will *always* send out a byte, even if the byte is '0'.
fixes #11763
2019-07-31 13:27:47 +02:00
Marian Buschsieweke
579a67be03
drivers/dht: Move hold logic from SAUL to driver
...
The DHT11/DHT21/DHT22 cannot be sampled more than once a second. Previously,
a global cache was added to the SAUL adaption of the dht driver to answer with
stored values for one second after the last read. This however had two
disadvantages:
- The global cache was shared for all DHTXX devices connected. As a result
incorrect values were delivered when reading out multiple sensors over SAUL
with less than 1 second delay in between
- A user of the low level API will had to implement the same caching strategy,
resulting in code duplication
By moving the hold logic to the driver, both limitations can be overcome.
2019-07-29 10:39:50 +02:00
Marian Buschsieweke
c75bacceba
drivers/dht: Added error handling
...
Previously the DHT11/DHT21/DHT22 driver ended up in an infinite loop locking up
RIOT when a communication error occurred. This commit adds a simple timeout to
the communication in order to prevent these lock ups.
2019-07-19 15:57:49 +02:00
f8128844b7
Merge pull request #11527 from fjmolinas/pr_wdg_hdr
...
drivers/include: add header definition for wdt
2019-07-16 14:25:40 +02:00
fjmolinas
541f9ddd20
drivers/include: add header definition for wdt
2019-07-16 13:53:28 +02:00
Leandro Lanzieri
cb57c6ff1a
Merge pull request #11798 from jia200x/pr/remove_sx127x_multi
...
sx127x: remove MULTIDIO and fix missing interrupt handling
2019-07-05 11:33:42 +02:00
Robin
4729bea46e
stm32_eth: Multiple Improvements of the original codebase
...
stm32eth: Move to stm32_common periph
cpu/stm32_periph_eth: Rebase to current master branch
- Update DMA to use new vendor headers
- Update send to use iolist. It looks like the packet headers are now transfered as seperate iolist entries which results in the eth periph sending each header as own packet. To fix this a rather ugly workaround is used where the whole iolist content is first copied to a static buffer. This will be fixed soon in another commit
- If MAC is set to zero use luid to generate one
- Small code style fixes
cpu/stm312f7: Add periph config for on-board ethernet
boards/nucleo-f767zi: Add config for on board ethernet
tests/stm32_eth_lwip: Remove board restriction
boards/common/nucleo: Add luid module if stm32 ethernet is used
tests/stm32_eth_gnrc: Add Testcase for gnrc using the stm32 eth periph
stm32_eth: Rework netdev driver layour
tests/stm32_eth_*: Use netdev driver header file for prototypes
stm32_eth: Add auto init for stm32 eth netdev driver
boards/stm32: Enable ethernet conf for nucleo boards
stm32_eth_auto_init: Add dont be pendantic flag
stm32_eth: Remove dma specific stuff from periph_cpu.h
Looks like this was implemented in PR #9171 and 021697ae94
with the same interface.
stm32_eth: Remove eth feature from stm32f4discovery boards
stm32_eth: Migrate to stm32 DMA API
stm32_eth: Add iolist to module deps
stm32_eth: Rework send function to use iolist
stm32_eth: Fix ci build warnings
stm32_eth: Fix bug introduced with iolist usage
stm32_eth: Remove redundant static buffer
stm32_eth: Fix feature dependencies
stm32_eth: Fix wrong header guard name
stm32_eth: Implement correct l2 netstats interface
stm32_eth: Rename public functions to stm32_eth_*
stm32_eth: Fix doccheck
stm32_eth: Move register DEFINE to appropriate header file
stm32_eth: remove untested configuration for f446ze boards
stm32_eth: Move periph configuration struct to stm32_common
stm32_eth: Fix naming of eth_phy_read and eth_phy_write
stm32_eth: Remove obsolete test applications
2019-07-04 15:27:26 +02:00
Victor Arino
e206087d65
stm32_eth: Initial implementation by Victor Arino
...
drivers/eth-phy: add generic Ethernet PHY iface
cpu/stm32f4: implement eth driver peripheral
This implements the ethernet (MAC) peripheral of the stm32f4 as a
netdev driver.
boards/stm32f4discovery: add eth configuration
boards/stm32f4discovery: add feature stm32_eth
tests/stm32_eth_lwip: add test application
2019-07-04 15:04:01 +02:00
Jose Alamos
d94d587e5e
sx127x: remove DIOMULTI
2019-07-04 14:23:48 +02:00
Toon Stegen
331c0db5cf
driver/at: add return code for CME/CMS errors
...
in case of CME or CMS errors, the error codes or human readable strings
are in the response buffer. We want to indicate to the AT driver user
that when tihs case occurrs so he can extract the error codes.
2019-06-25 09:59:27 +02:00
f52d5ebde7
drivers: sys: replace USE_ETHOS_FOR_STDIO macro by MODULE_STDIO_ETHOS
2019-06-23 22:16:03 +02:00
Martine Lenders
abf4d60286
Merge pull request #11718 from jia200x/pr/netdev_ieee802154_pib
...
netdev_ieee802154: add txpower and page
2019-06-19 18:24:13 +02:00
Jose Alamos
302fa1467f
netdev_ieee802154: add txpower to descriptor
2019-06-18 13:51:31 +02:00
Jose Alamos
c33d5f744b
netdev_ieee802154: add channel page to descriptor
2019-06-18 13:51:31 +02:00
Martine Lenders
f3ab285362
slipdev: make rxmem buffer uint8_t
...
`tsrb` changed to that type, so there is no reason for us, to keep the
internally used buffer as a `char` (especially since the rest of the
driver already uses `uint8_t`)
2019-06-05 21:24:38 +02:00
20b94e9c56
usbdev: fix usbopt argument for getter/setter wrappers
2019-06-05 12:06:10 +02:00
Kevin "Bear Puncher" Weiss
4922321f1f
Merge pull request #11585 from fedepell/i2c_reg_endianess_2
...
periph/i2c: handle i2c register write/read helper function correctly in big endian
2019-05-29 11:54:24 +02:00
Kevin "Bear Puncher" Weiss
772dcd189b
Merge pull request #11532 from leandrolanzieri/pr/drivers/at_rcv-functions
...
drivers/at: Add 'at_recv_bytes_until_string' function
2019-05-29 09:55:33 +02:00
Federico Pellegrin
1779abafb5
periph/i2c: make sure i2c registers is big-endian on all archs
2019-05-29 05:15:23 +02:00
Carton
886a29311e
drivers/mrf24j40 : support of NETOPT_LAST_ED_LEVEL
2019-05-23 15:45:03 +02:00
Benjamin Valentin
477938e46e
drivers/mrf24j40: add external PA/LNA control on MC/MD/ME devices
...
The MRF24J40MC/MD/ME modules contain an external power amplifier &
low noise amplifier that has to be enabled manually by setting three bits
in the TESTMODE register.
On MRF24J40MC the power amplifier is powered by a separate voltage regualtor
that has to be enabled by setting GPIO3 to HIGH.
During Sleep and CCA the PA should be disabled.
Co-authored-by: Carton <joel.carron@eeproperty.ch>
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2019-05-23 11:07:04 +02:00
a7f8182249
drivers: sys: add SAUL support for ds75lx sensor
2019-05-22 16:54:20 +02:00
35a3c4ddfe
drivers/ds75lx: add basic driver
2019-05-22 16:54:19 +02:00
Leandro Lanzieri
b5171f4d48
tests/driver_at: Add receive until string test
2019-05-16 14:45:53 +02:00
Leandro Lanzieri
5b04fb1713
drivers/at: Add function to receive until string
2019-05-16 14:45:53 +02:00
MichelRottleuthner
c754f3c4c7
Merge pull request #11451 from fhessel/pcd8544
...
drivers/pcd8544: Use uint8_t instead of char for byte represenatation
2019-04-30 21:47:50 +02:00
Frank Hessel
70ac451a2b
drivers/sdcard_spi: Use uint8_t for byte values
2019-04-29 19:25:34 +02:00
Frank Hessel
827868a7a0
drivers/pcd8544: replace char by uint8_t for bytes
2019-04-25 23:42:30 +02:00
Philipp Blum
9f2ef5e367
drivers/periph_common/gpio_util: introduce gpio_util_shiftin()
2019-04-18 07:09:32 +02:00
c1547efb3a
Merge pull request #11316 from fjmolinas/pr_sx127x_switch
...
drivers/sx127x: add support for rx and tx switch pin
2019-04-10 18:40:37 +02:00
francisco
c62d9feff7
drivers/sx127x: add support for rx and tx switch pin
2019-04-10 08:18:01 +02:00
Sebastian Meiling
4dd09eaa06
Merge pull request #6178 from OTAkeys/pr/can_stm32
...
can stm32: add a driver for STM32 bxCAN peripheral
2019-04-08 08:50:08 +02:00
Dylan Laduranty
a81dbf0037
Merge pull request #11152 from ibr-cm/petersen/l3g4200d-fix-pr
...
l3g4200d: Fixes conversion bug
2019-04-05 15:49:13 +02:00
Vincent Dupont
74ddf56171
tests/conn_can: build stm32 CAN drivers
...
Build can_stm32 module on boards which have a stm32 CAN controller.
2019-04-03 11:12:46 +02:00
Torben Petersen
506e208ffd
drivers/l3g4200d: fixes driver conversion
2019-03-30 10:32:43 +01:00
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
Martine Lenders
664763bb29
netdev: add doc group for network device types
2019-03-26 21:37:20 +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
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
4d352fc93f
usbdev: Extend with low level initialization functions
2019-03-20 09:12:24 +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
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
Jose Alamos
893707a590
netdev/lora: add netdev_lora_rx_info structure
2019-03-08 17:45:08 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Thomas Eichinger
093eb7a985
drivers/at86rf2xx: remove at86rf2xx_reset_state_machine
...
This function was only used once in the initialization procedure.
Inlining the actual state change reduces overhead and lines to
maintain.
If ever needed, undo this commit.
2017-08-14 10:07:42 -07: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
Vincent Dupont
e75868db32
drivers/lsm6dsl: add power up/down functions
2017-08-09 09:53:05 +02:00
Martine Lenders
d07bfb4c9f
ds1307: initial import of a driver for the DS1307 RTC
2017-07-31 14:39:09 +02:00
Sebastian Meiling
95b31660b6
Merge pull request #7173 from haukepetersen/opt_gpiodoc
...
drivers/gpio: improved doc for gpio_init()
2017-07-14 14:17:39 +02:00
Hyungsin
6889cd934a
drivers/at86rf2xx: reliable radio state change
2017-07-07 11:48:44 -07:00
268c6b647e
drivers/can: fix doxygen documentation + typo
2017-07-03 20:43:51 +02:00
smlng
2b9eddfbeb
drivers, lsm6dsl: cleanup
2017-07-03 16:00:31 +02:00
smlng
a7d9547d5e
driver, lsm6dsl: fix temperature reading
2017-07-03 16:00:25 +02:00
f9122018a2
drivers: doxygen documentation improvement
2017-07-02 23:21:36 +02:00
Martine Lenders
1b08b03bd5
Merge pull request #7291 from aabadie/sx127x_fix_doc
...
drivers/sx127x: fix typo in documentation, cleanup
2017-07-02 20:51:43 +02:00
Martine Lenders
87c9edbbae
Merge pull request #7292 from aabadie/fix_adcxx1x_doc
...
drivers/adcxx1c: small doxygen fixes
2017-07-02 20:51:28 +02:00
9632938f93
drivers/adcxx1c: small doxygen fixes
2017-07-02 20:29:54 +02:00
7742fb47e3
drivers/diskio: cleanup documentation
2017-07-02 18:36:48 +02:00
9f2252b6b5
drivers/sx127x: fix typo in documentation, cleanup
2017-07-02 18:19:53 +02:00
0ccc264538
drivers: initial implementation of sx127x radio (LoRa mode only)
2017-06-30 19:00:40 +02:00
49c1725d98
Merge pull request #7249 from haukepetersen/opt_dac_doc
...
drivers/dac: clarified doc and named return values
2017-06-29 12:29:05 +02:00
smlng
c7375529e3
drivers: rework mpl3115a2 pressure sensor
2017-06-29 09:57:15 +02:00
f1a93bf36e
drivers/dht: some cleanup
2017-06-28 16:57:29 +02:00
Hauke Petersen
a2bc258af0
drivers/dac: clarified doc and named return values
...
- added more comprehensive doc to dac_init and dac_set
- named return values for dac_init
- use named return values in existing implementations
2017-06-27 12:52:12 +02:00
smlng
946256d26f
saul: use const for device parameter
2017-06-26 20:25:37 +02:00
Thomas Eichinger
c76fdf567d
Merge pull request #7115 from DipSwitch/pr/fix/at86rf2xx_setstate
...
driver/at86rf2xx: Fix possible race condition in at86rf2xx_configure
2017-06-26 08:51:23 -07:00
smlng
5fa123c8a2
drivers, jc42: fix constness in jc42_init
2017-06-26 16:22:34 +02:00
e4cc780f71
Merge pull request #7243 from smlng/drivers/adxl345/fix_const
...
drivers, adxl345: fix constness in adxl345_init
2017-06-26 16:12:07 +02:00
smlng
8664ca3cba
drivers, adxl345: fix constness in adxl345_init
2017-06-26 16:03:47 +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
Hauke Petersen
3ec75635ba
drivers/gpio: improved doc for gpio_init()
2017-06-26 13:39:28 +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
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
DipSwitch
cbbc44efad
driver/at86rf2xx: fix possible race condition in state machine
2017-06-24 21:43:05 +02:00
317716419c
drivers: use const device descriptor
2017-06-21 17:05:45 +02:00
74d0c3b67a
Merge pull request #7166 from kaspar030/add_mma8x5x_int_support
...
drivers: mma8x5x: add motion detection support
2017-06-21 13:00:46 +02:00
Vincent Dupont
8905199135
can_trx: add CAN transceiver interface
2017-06-19 15:36:20 +02:00
Vincent Dupont
5469ba1d49
can: add CAN stack
...
The CAN stack support only raw CAN at this time.
It contains a device interface (drivers/include/can/candev.h) and the data link
layer, build around can/device.c can/pkt.c and can/router.c. can/dll.c contains
the upper level and lower level interface to send and receive CAN frames.
Upper layer interface is located in include/can/raw.h
2017-06-19 15:35:26 +02:00
c78e8cbd27
drivers: mma8x5x: add motion detection interrupt support
2017-06-17 00:29:11 +02:00
Francisco Acosta
468f12f87d
Merge pull request #6899 from bergzand/drivers/mrf24j40-remdefine
...
drivers/mrf24j40 remove obsolete RSSI_BASE_VALUE define
2017-06-15 16:57:45 +02:00
92147cf269
Merge pull request #7168 from smlng/driver/tmp006/rework
...
driver: tmp006 rework
2017-06-14 23:10:45 +02:00
smlng
054c002960
saul: add support for tmp006
2017-06-14 20:45:01 +02:00
smlng
42a09128aa
drivers: rework tmp006
2017-06-14 20:44:59 +02:00
0e6e3b368b
drivers/bmp180: driver cleanup
2017-06-14 09:48:20 +02:00
smlng
15f8703f01
doc: use markdown sections, adapt pwm.h
2017-06-06 16:07:51 +02:00
smlng
756e3d95fb
doc: make detailed description of flashpage interface more visibile
2017-06-06 16:05:52 +02:00
smlng
236c6cb013
doc: enhance doxygen doc of PM module
2017-06-06 16:05:52 +02:00
smlng
ab6cb269ed
doc: fix UART doxygen docu
...
- move detailed description to be visible on respective module page
- see and compare other periph interfaces, i.e., GPIO, PWM ...
2017-06-06 16:05:52 +02:00
smlng
f5cd3a4496
doc: reorganize and enhance docu on common I2C periph interface
2017-06-06 16:05:47 +02:00
4a852abd03
drivers/bmx280: factorize bme280 and bmp280 implementation
2017-06-02 14:54:17 +02:00
1a2097e97e
Merge pull request #7082 from jia200x/openthread_core
...
pkg/openthread: core and tests
2017-06-01 20:20:37 +02:00
José Ignacio Alamos
017280db13
pkg/openthread: add OpenThread core
2017-06-01 13:44:05 -04:00
Hauke Petersen
d0f84e5460
drivers/netdev2: added more comprehensive doc
2017-06-01 18:54:54 +02:00
Cenk Gündoğan
1473adde17
netdev.h: remove indirect reference to netdev2 from doc
2017-05-31 16:54:38 +02:00
a4e16cd7e9
drivers/dsp0401: initial implementation
2017-05-26 15:24:51 +02:00
Martine Lenders
d4693648ba
Merge pull request #7095 from kaspar030/add_headerguard_check_script
...
dist: tools: add headerguard check script
2017-05-24 18:08:29 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Hauke Petersen
d488fdc1e3
sys/drivers: guard l2filter.h, netstats.h includes
2017-05-23 13:39:49 +02:00
Hauke Petersen
caf97d5c2c
drivers/netdev: add filter list to netdev strcut
2017-05-18 15:24:25 +02:00
Hauke Petersen
48f2a92262
drivers/hdc1000: (re)add error checks for I2C acces
2017-05-12 11:57:43 +02:00
Hauke Petersen
148ff32a42
saul: include errno.h from saul.h
2017-05-12 11:57:26 +02:00
smlng
8d50048c82
drivers: fix doxygen for hd44780
2017-04-21 11:30:15 +02:00
smlng
644dbb1224
driver, mag3110: rework
2017-04-13 14:31:09 +02:00
9862768a60
drivers/mrf24j40 remove obsolete define
2017-04-13 14:27:52 +02:00
dffbc70b1d
Merge pull request #6799 from dylad/adxl345_cleanup
...
drivers/adxl345: cleanup/enhancements
2017-04-11 10:34:16 +02:00
dylad
530a2ef277
drivers/adxl345: cleanup/enhancements
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-04-10 21:13:47 +02:00
26a17c2e75
drivers/io1_xplained: driver cleanup
2017-04-07 16:59:04 +02:00
c65e57b308
Merge pull request #6835 from OTAkeys/pr/lsm6dsl
...
drivers: add lsm6dsl accelerometer/gyroscope device driver
2017-04-06 15:27:51 +02:00
Vincent Dupont
f5adafd813
tests/driver_lsm6dsl: add lsm6dsl driver test app
2017-04-06 10:58:18 +02:00
Vincent Dupont
73d8149490
drivers: add lsm6dsl imu driver
2017-04-06 10:58:18 +02:00
Martine Lenders
0fd85f982d
Merge pull request #6826 from smlng/doc/driver/hd44780
...
doc: fix doxygen grouping of driver hd44780
2017-03-31 22:56:41 +02:00
Loïc Dauphin
47cfe0ac66
drivers/dynamixel: initial support
2017-03-31 11:44:14 +02:00
smlng
a77ed385aa
doc: fix doxygen grouping of driver hd44780
2017-03-31 10:11:38 +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
Joakim Nohlgård
c11a196720
Merge pull request #6766 from miri64/doc/fix/hierachy
...
doc: fix doc hierarchy
2017-03-28 14:38:13 +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
26ec9041a0
driver: add hd44780 lcd support
2017-03-27 16:43:50 +02:00
Loïc Dauphin
08a066a0db
drivers/feetech: initial support
2017-03-27 15:51:11 +02:00
Cenk Gündoğan
3629796937
drivers/nrf24l01p: add function to disable crc
2017-03-22 13:39:47 +01: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
aeccb853a5
doc: fix doc hierarchy
2017-03-20 11:59:10 +01:00
Vincent Dupont
1b2b5d9df9
Merge pull request #5624 from OTAkeys/pr/mtdi_flash
...
mtd: add a generic low level flash interface
2017-03-17 17:18:13 +01:00
Joakim Nohlgård
6d3304f52c
mtd: Add MTD VFS wrapper for use with DevFS
2017-03-16 16:45:49 +01:00
Aurelien Gonce
49ebf55b0d
mtd: add a low level generic driver for flash file system
2017-03-16 11:23:53 +01:00
119fc70075
Merge pull request #6610 from miri64/netdev2/enh/rename-to-netdev
...
netdev2: rename to netdev and remove `gnrc_netdev`
2017-03-15 11:35:19 +01:00
f97901193d
drivers/veml6070: cleanup + use saul UV index sensor type
2017-03-15 10:10:45 +01:00
9c2fc3ebc6
drivers/include/saul: add UV index sensor type
2017-03-15 10:09:56 +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
Thomas Eichinger
798557c32c
doc: drivers: fix doxygen warnings
2017-03-10 14:56:48 +01:00
Joakim Nohlgård
e021b3b3f1
drivers/nvram: Add vfs compatible functions
2017-03-07 17:59:59 +01:00
Joakim Nohlgård
d57ec0e3f2
Merge pull request #6689 from mali/fix_6631
...
doc/saul: add cross link between SAUL and SAUL registry
2017-03-03 05:54:19 +01:00
Laurent Navet
0d09d2d34b
doc/saul: add cross link between SAUL and SAUL registry
2017-03-02 22:35:50 +01:00
65d1b77338
drivers/veml6070: initial implementation
2017-02-28 13:20:21 +01:00
79b2fd89bb
Merge pull request #6568 from haukepetersen/opt_periph_uarttxonly
...
periph/uart: enable to run UART in TX only mode
2017-02-24 13:01:38 +01:00
Hauke Petersen
fc6b7f0575
Merge pull request #6564 from haukepetersen/opt_periph_pwmpower
...
periph/pwm: remove pwm_(start|stop) + doc
2017-02-23 10:58:44 +01:00
Hauke Petersen
5873fd7045
drivers: remove deprecated gpioint interface
2017-02-22 17:51:45 +01:00
Vincent Dupont
f4b0cccd41
Merge pull request #6607 from haukepetersen/opt_periph_errorguard
...
periph: removed broken xx_NUMOF checks
2017-02-22 16:22:16 +01:00
Oleg Hahm
4b79950656
Merge pull request #6558 from haukepetersen/opt_lpc2387_rmadc
...
cpu/lpc2387: remove (unused) legacy ADC driver
2017-02-22 11:01:04 +01:00
Hauke Petersen
419e043c1a
periph/dac: removed DAC_NUMOF check
2017-02-22 10:30:16 +01:00
Peter Kietzmann
6ef3abec5c
Merge pull request #5570 from aabadie/drivers_tsl2561
...
drivers/tsl2561: initial support
2017-02-17 10:06:46 +01:00
Martine Lenders
0858a3ea8c
Merge pull request #6618 from haukepetersen/opt_tcs37727_saulplusinit
...
drivers/tcs37727: SAUL support + misc fixes
2017-02-16 16:03:10 +01:00
Peter Kietzmann
add4b085e1
Merge pull request #6613 from miri64/xbee/doc/fix
...
xbee: fix documentation
2017-02-16 15:11:47 +01:00
Peter Kietzmann
02f03beb5c
Merge pull request #6591 from haukepetersen/rm_ltc4150
...
drivers: remove outdated ltc4150 driver
2017-02-16 15:11:12 +01:00
Hauke Petersen
470f2de771
drivers/tcs37727: SAUL support + misc fixes
...
- added default parameters file
- let init() function use param struct
- named return values
- simplified init function
- sensor now active after init was called
- simplified return values
2017-02-16 14:46:50 +01:00
Martine Lenders
1c5d8d1e9a
xbee: fix documentation
2017-02-15 15:36:55 +01:00
Hauke Petersen
021471e691
periph/uart: removed UART_NUMOF check
2017-02-15 09:45:06 +01:00
Hauke Petersen
0b5ca0e4c3
periph/adc: removed ADC_NUMOF check
2017-02-15 09:44:13 +01:00
Hauke Petersen
40d78d1c1b
drivers/kw2xrf: fix doxygen group
2017-02-14 17:28:31 +01:00
Hauke Petersen
6e6a14f449
drivers: remove outdated ltc4150 driver
2017-02-13 14:08:34 +01:00
Hauke Petersen
2bb3425d4b
s pwm.h: fixed doc
2017-02-13 09:37:31 +01:00
Hauke Petersen
8064bd9fa9
periph/pwm: remove pwm_(start|stop) + doc
...
- joined start/stop and poweron/poweroff
- added general documentation
2017-02-13 09:37:31 +01:00
Hauke Petersen
18fe26a5c8
periph/uart: documented TX only mode
2017-02-09 10:42:52 +01:00
Martine Lenders
5b026c5753
netdev2: unify doc
2017-02-07 21:37:52 +01:00
Martine Lenders
fa4c9b9111
Merge pull request #6559 from haukepetersen/fix_drivers_doxygengroups
...
drivers: fixed doxygen groups
2017-02-07 21:34:52 +01:00
Marc Poulhiès
dcff98ef56
drivers/include/periph/spi: Typo fix
...
Fix typo in inline doc.
2017-02-07 16:59:33 +01:00
Peter Kietzmann
5bf4882592
Merge pull request #6453 from smlng/pr/5469-bis
...
drivers/kw2xrf: adapt to netdev2
2017-02-07 15:58:54 +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
smlng
887f499eca
drivers/kw2xrf: adapt to new SPI interface
...
- add docu for structs, defines and functions
- exclude drivers/kw2xrf/include/overwrites.h (vendor header)
- add missing header guards
2017-02-07 15:08:05 +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
Hauke Petersen
2f9e3c89e1
periph/hwrng: use void* buf for hwrng_read()
2017-02-07 13:20:39 +01:00
Peter Kietzmann
4403cc931a
Merge pull request #6523 from haukepetersen/opt_dht_autoinit
...
drivers/dht: updated auto-init + some enhancements
2017-02-07 11:57:10 +01:00
Hauke Petersen
544c590d5b
drivers: fixed doxygen groups
2017-02-07 11:16:38 +01:00
Hauke Petersen
1dd806bb28
cpu/lpc2387: remove (unused) legacy ADC driver
2017-02-07 10:56:33 +01:00
Martine Lenders
2ef1f2e8f7
Merge pull request #6521 from haukepetersen/rm_lpc_i2clma
...
cpu/drivers: remove deprecated lm75a+lpc2387 I2C drivers
2017-02-07 10:27:26 +01:00
Hauke Petersen
3afc3eb10b
drivers/dht: updated auto-init + some enhancements
...
- unified auto-init to use same style as other SAUl devices
- make use of named return values
- added some asserts
2017-02-07 09:59:23 +01:00
martinheusmann
9d199d5d09
isl29125: added interrupt configuration register
2017-02-02 13:31: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
25ce12f3ef
drivers/tsl2561: initial implementation + saul support
2017-01-31 17:49:16 +01:00
Hauke Petersen
34d1064a00
drivers: remove utterly outdated lm75a driver
2017-01-30 16:14:18 +01:00
Marc Poulhiès
56bd36b55b
spi: doc typo
2017-01-30 13:26:01 +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
5bdb3bfa61
misc: aggregated doxygen fixes
2017-01-25 16:46:46 +01:00
Hauke Petersen
24ceb954ea
drivers/sdcard_spi: adapted to SPI interface changes
2017-01-25 16:46:46 +01:00
Hauke Petersen
4bfce892d3
drivers/periph&cpu: add and use common periph_init()
2017-01-25 16:46:46 +01:00
Hauke Petersen
8ff20d1386
drivers/nvram_spi: adapted to SPI API changes
2017-01-25 16:46:46 +01:00
Hauke Petersen
ac482fd3e2
drivers/w5100: adapted to SPI API changes
2017-01-25 16:46:46 +01:00
Hauke Petersen
3d80b9c581
drivers/lis3dh: adapted to SPI API changes
2017-01-25 16:46:46 +01:00
Hauke Petersen
e5ab3c2020
drivers/kw2xrf: adpated to SPI API changes
2017-01-25 16:46:45 +01:00
Hauke Petersen
87534c75f0
drivers/encx24j600: adapted to SPI API changes
2017-01-25 16:46:45 +01:00
Hauke Petersen
5639b1d52f
drivers/cc2420: adapted to SPI API changes
2017-01-25 16:46:45 +01:00
Hauke Petersen
236f1edddd
drivers/at86rf2xx: adapted to SPI API changes
2017-01-25 16:46:45 +01:00
Hauke Petersen
610e671aac
drivers/adt7310: adapted to SPI API changes
2017-01-25 16:46:45 +01:00
Hauke Petersen
37e0482e35
drivers/periph: remodeled SPI driver interface
2017-01-25 16:46:04 +01:00
Francisco Acosta
e44236d379
Merge pull request #6170 from haukepetersen/add_periph_romaddrtopage
...
drivers/flashrom: added addr-to-page function
2017-01-24 14:18:41 +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
d1db946188
Merge pull request #6344 from haukepetersen/opt_pm_misc
...
pm: misc cleanup and fixes
2017-01-24 14:07:36 +01:00
Hauke Petersen
af1e492552
drivers/flashpage: added addr-to-page function
2017-01-24 09:41:56 +01:00
Peter Kietzmann
72aa1569f9
Merge pull request #6231 from haukepetersen/rm_devenums_pwm
...
drivers/pwm: removed deprecated PWM_x defines
2017-01-23 10:12:11 +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
Oleg Hahm
3c6678b037
*: fix mismatching endifs for header guards
2017-01-19 18:30:53 +01:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Thomas Eichinger
467b255c03
drivers/at86rf2xx: code size optimizations
...
These changes try to reduce code size of the at86rf2xx
driver by reducing code duplication and simplification.
2017-01-19 08:04:08 -08:00
Martine Lenders
7599a81fd6
Merge pull request #6314 from haukepetersen/add_uuid
...
sys: add uuid module for central ID/addr generation
2017-01-19 14:12:09 +01:00
Peter Kietzmann
b92ce8ae2a
Merge pull request #6369 from OlegHahm/at86rf2xx_rssi_base_value
...
at86rf2xx: different types have RSSI base values
2017-01-19 11:44:41 +01:00
Hauke Petersen
88636b6919
drivers/cc2420: 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
55c4477038
periph/pm: minor doc clarification
2017-01-19 11:07:59 +01:00
Peter Kietzmann
616d35e96f
Merge pull request #6153 from haukepetersen/opt_driver_mma8x5x
...
drivers/mma8x5x: remodeled driver
2017-01-19 09:56:31 +01:00
Oleg Hahm
c04c5cb9f9
at86rf2xx: different types have RSSI base values
2017-01-18 23:20:21 +01:00
Oleg Hahm
80d3176499
Merge pull request #6355 from OlegHahm/at86rf2xx_ext_nocca
...
at86rf2xx: remove CCA check
2017-01-18 23:13:57 +01:00
Hauke Petersen
a35709b4f8
Merge pull request #6360 from OlegHahm/periph_timer_remove_irq
...
periph timer: remove timer_irq_(en|dis)able
2017-01-18 22:58:21 +01:00
Hauke Petersen
cf507c4f07
drivers/mma8x5x: remodeld driver
...
- renambed to mma8x5x to reflect the versatility
- cleaned up the interface
- fixed value computation for non 12-bit devices of the family
- added default configuration with mma8x5x_params.h
2017-01-18 10:51:15 +01:00
Hauke Petersen
3f259eaaf9
drivers/pwm: removed deprecated PWM_x defines
2017-01-18 10:11:50 +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
Hauke Petersen
296ca11a23
drivers/periph: removed GPIO from dev_enums.h
2017-01-16 09:31:24 +01:00
Oleg Hahm
3999d08f8c
Merge pull request #6363 from LudwigKnuepfer/pr/fix-pn532-doxygengroup
...
doc: drivers/pn532: add missing ingroup
2017-01-15 15:54:34 +01:00
03d0f138b4
drivers/jc42 fix temperature parameter signedness
2017-01-15 13:10:37 +01:00
9a55556644
Removes not needed includes
2017-01-15 13:10:37 +01:00
0f22e13ccb
drivers/jc42: Add JEDEC JC42.4 temperature sensors
...
This patch adds a driver for the jc42 compatible
temperature sensors. All sensors compatible with
jc42.4 should work. Examples include the mcp9808
and more.
2017-01-15 13:10:36 +01:00
Ludwig Knüpfer
ced11d5744
doc: drivers/pn532: add missing ingroup
2017-01-14 19:49:26 +01:00
Oleg Hahm
d0316fa7ae
periph timer: remove timer_irq_(en|dis)able
2017-01-14 15:34:53 +01:00
Oleg Hahm
7068869b42
at86rf2xx: remove CCA check
...
Rationale: the datasheet states that "It is not recommended to manually
initiate an CCA measurement when using the Extended Operating Mode."
Since the driver for now only supports the extended operating mode, it
should not provide this feature.
2017-01-14 11:27:09 +01:00
Victor Arino
d8d8d55e72
drivers/pn532: add NFC reader PN532 driver
2017-01-13 14:47:19 +01:00
6150e2753a
drivers: periph: pm: introduce new power management API
2017-01-12 11:24:15 +01:00
Peter Kietzmann
a8297595e6
Merge pull request #6108 from haukepetersen/opt_nrf_nrfmin
...
cpu/nrf5x: ported nrfmin driver to netdev2
2017-01-10 16:52:54 +01:00
Hauke Petersen
36317c56f3
cpu/nrf51: ported nrmin radio driver to netdev2
2017-01-10 11:54:16 +01:00
Hauke Petersen
83d206e2b0
drivers/xbee: adapted to netdev2
2017-01-10 11:47:31 +01:00
Francisco Acosta
22322214c5
Merge pull request #6193 from aabadie/bmp180_saul
...
drivers/bmp180: move bmp180 driver to saul auto init using the correct way
2016-12-16 17:05:39 +01:00
26835f4f2c
drivers/bmp180: move bmp180 to saul auto init the correct way
2016-12-16 15:24:34 +01:00
Hauke Petersen
6ab089e63e
drivers/pwm: remove PWM_NUMOF guard
...
as we do not build the periph drivers selectable currently,
the guard is triggered even for boards that do not have any
PWM defined and don't want to use it...
2016-12-15 12:18:39 +01:00
Hauke Petersen
41f453066c
drivers: added interface for writing flash pages
2016-11-30 16:51:09 +01:00
Peter Kietzmann
e547ff1d60
Merge pull request #6013 from haukepetersen/opt_periph_uartreturntypes
...
periph/uart: added names to return values
2016-11-29 19:14:09 +01:00
Martine Lenders
32c19d63e3
netdev2: make doc for driver more precise
...
When working on #6121 I noticed that the documentation of the `netdev2`
driver part is not really precise. This fixes that.
2016-11-22 14:57:26 +01:00
Peter Kietzmann
9c7d9eb06f
Merge pull request #6141 from haukepetersen/opt_bh1750fvi_namedreturnvalues
...
drivers/bh1750fvi: added names to return values
2016-11-21 08:23:24 +01:00
Peter Kietzmann
711415360f
Merge pull request #5433 from OTAkeys/pr/mma8x5x
...
mma8652: add support for all mma8x5x accelerometers
2016-11-18 09:02:42 +01:00
Hauke Petersen
40116c7c66
drivers/bh1750fvi: added names to return values
2016-11-17 22:57:56 +01:00
Vincent Dupont
b9b838f1dc
mma8652: add support for all mma8x5x accelerometers
2016-11-16 14:14:07 +01:00
Thomas Eichinger
103c426cdc
drivers/cc2420: calculate CRC and check CRC_OK bit on packet reception
...
First start calculating the CRC in hardware when receiving a frame.
Then, other than the at86rf2xx transceivers the cc2420 don't consider the
CRC_OK flag when reporting a successful packet reception. This change
introduces a check for this bit and drops the packet else by flushing
the RX FIFO.
2016-11-08 23:28:09 -08:00
Hauke Petersen
314549059c
periph/uart: added names for return values
2016-10-28 10:31:59 +02:00
Martine Lenders
9e97b0a028
Merge pull request #5977 from miri64/ieee802154/enh/centralize-default-values
...
ieee802154: centralize default values
2016-10-26 16:39:44 +02:00
Martine Lenders
eb4ec4b35f
Merge pull request #5961 from yschroeder/pullreq/at86rf2xx_compile_fix
...
at86rf2xx: fix warnings when building with -Wextra -pedantic
2016-10-26 15:59:59 +02:00
Martine Lenders
20e1fce5b7
ieee802154: centralize default values
2016-10-26 15:32:12 +02: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
Yannic Schröder
c7d73e24c1
at86rf2xx: fix warnings when building with -Wextra -pedantic
2016-10-18 10:21:54 +02:00
Kees Bakker
bac5cda1e3
periph/i2c: convert char to uint8_t where applicapable
...
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.
Also convert uint8_t ptrs to void ptrs
2016-10-04 20:26:39 +02:00
Martine Lenders
15c4ceae04
netdev2_ieee802154: cleanup flag definitions
2016-09-30 13:09:27 +02:00
Martine Lenders
9f29e56020
netdev2_ieee802154: remove NETDEV2_IEEE802154_PAN_COMP flag
2016-09-30 13:09:26 +02:00
add6e1d36d
Merge pull request #5674 from aabadie/driver_io1_xplained
...
drivers/io1_xplained: initial implementation of Atmel IO1 Xplained extension board
2016-09-16 10:35:49 +02:00
Laurent Navet
f30c4ade2c
drivers/timer: fix copy/paste error
2016-09-07 21:59:25 +02:00
3aa1ffb5fb
drivers/io1_xplained: initial implementation including temperature/LED/GPIO and auto init
2016-09-02 10:42:09 +02:00
Matthias Kolja Miehl
75ab341089
drivers: mag3110: fix typo in header description
2016-08-20 02:28:09 +02:00
Martine Lenders
cf11a0dab7
Merge pull request #5485 from jfischer-phytec-iot/pr@add-opt-netdev
...
add testmode and cca mode option to netdev
2016-08-05 15:51:56 +02:00
Martine Lenders
bd2429f299
cpu: drivers: adapt devices for netdev2 parameter type change
2016-08-03 12:30:51 +02:00
Martine Lenders
e710164f09
netdev2: function parameter type changes
...
`len` and `count` are both values that should never go `< 0`, so instead of
having to test this (in theory) every time the function is called (regardless
of by assert or if its unnecessary code), I propose to change it to `size_t`.
As a bonus I made the type of recv's buf parameter generic - no reason for it to
be a char and it might lead to unnecessary static casting requirements
2016-08-03 09:51:18 +02:00
Joakim Nohlgård
bc9e5b218b
periph/gpio: Clean up Doxygen text
2016-07-30 08:06:19 +02:00
Johann Fischer
14f0d1ce89
netopt.h: add new options to set the CCA and test modes
...
This patch adds two new options to netopt. NETOPT_CCA_MODE to set
the CCA mode corresponding to the respective PHY standard and
NETOPT_RF_TESTMODE to set the test mode for the radio.
2016-07-27 00:15:27 +02:00
Bas Stottelaar
0902ccb2e0
drivers: si70xx: adapt for SAUL
2016-07-22 18:22:13 +02:00
271cbc26b8
drivers/cc2420 & cpu/cc2538: adding support for default channel configuration
2016-07-14 17:50:50 +02:00
87ca058417
makefiles: expose a single DEFAULT_CHANNEL variable
2016-07-14 17:44:42 +02:00