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

2224 Commits

Author SHA1 Message Date
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
benpicco
f4876013cd
Merge pull request #12789 from maribu/bmx280_endianess
drivers/bmx280: Fix incorrect endian conversion
2019-11-28 14:04:41 +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
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
d0d6e53ff4
Merge pull request #11960 from fjmolinas/pr_msp430_flashpage_raw
cpu/msp430_common: add flashpage_raw
2019-11-25 12:48:48 +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
fjmolinas
f0bbcef987 drivers/mtd_flashpage: add 16bit compatibility 2019-11-24 13:19:19 +01:00
41e29e3fda
Merge pull request #12790 from maribu/atmega_isr_thread
cpu/atmega_common
2019-11-24 11:10:10 +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
54b8e01ba3 drivers/opt3001: fix typos 2019-11-23 22:39:39 +01:00
c2f4d0bb7a drivers/feetech: fix typos 2019-11-23 22:39:39 +01:00
6d79a068b0 drivers/encx24j600: fix typos 2019-11-23 22:39:39 +01:00
7704eabfa6 drivers/dynamixel: fix typos 2019-11-23 22:39:39 +01:00
54831bbb6e drivers/bh1750fvi: fix typos 2019-11-23 22:39:39 +01:00
a62797e8ba drivers/adcxx1c: fix typos 2019-11-23 22:39:39 +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
a25313e5b7 drivers/ph_oem: fix typos 2019-11-23 22:39:39 +01:00
04516d78c5 drivers/pcd8544: 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
2e94fc9253 drivers/mrf24j40: fix typos 2019-11-23 22:39:39 +01:00
17e0405a07 drivers/lsm6dsl: fix typos 2019-11-23 22:39:39 +01:00
12223c4e6e drivers/lpsxxx: fix typos 2019-11-23 22:39:39 +01:00
f81e5c552a drivers/enc28j60: fix typos 2019-11-23 22:39:39 +01:00
6f6ca90270 drivers/ccs811: fix typos 2019-11-23 22:39:39 +01:00
da4d5be21f drivers/bmx055: fix typos 2019-11-23 22:39:39 +01:00
5c4bf445bb drivers/apa102: fix typos 2019-11-23 22:39:39 +01:00
ec47a7542a drivers/ads101x: 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
4347f720f5
drivers/at86rf2xx: Update to new ATmega API
Replace __enter_isr() with atmega_enter_isr() and __exit_isr() with
atmega_exit_isr()
2019-11-23 12:27:13 +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
f08df428fa
drivers/bmx280: Fix incorrect endian conversion
The binary shift operators in C are defined via the change of their values, not
the change of the memory representation of them. When reading a value from
little endian out of buffer `buf`, `((uint16_t)buf[1] << 8) | buf[0]` will
thus work regardless of the byte order of the host system.
2019-11-22 20:58:31 +01:00
Marian Buschsieweke
0a0c1697d7
drivers/ina2xx: Added SAUL integration 2019-11-22 20:29:53 +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