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

1789 Commits

Author SHA1 Message Date
Juan Carrano
53de520619 drivers/at: fix invalid function pointer cast. 2018-10-31 10:58:43 +01:00
Josarn
d1261a7ef0 at86rf2xx: correct framebuffer release
This PR sets the tranceiver in PLL_ON state to avoid corruption of the
data in the frame buffer and sets it back to the last state which the
 transceiver had before changing into transmit mode after the data is
read out. This is done to avoid data corruption when `_recv(...)` is
called to retrieve the buffer size and frame buffer protection is released.
2018-10-26 19:16:34 +02: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
Martine Lenders
bd06f7e846
Merge pull request #10250 from bergzand/pr/at86rf2xx/reenable_ack_req
at86rf2xx: Re-enable ack requests by default
2018-10-25 14:08:35 +02:00
c3da55b015
at86rf2xx: Re-enable ack requests by default
Properly splitting the flags between netdev_ieee802154 and the at86rf2xx
driver had as side effect that the ACK REQ flag was no longer set by
default. This commit reverts the default settings by enabling it again
on startup. The current code calls the generic netdev setter to set the
flag.
2018-10-25 12:17:02 +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
bed1e22e7d sys/auto_init: Changes to support SAUL
SAUL read functionality implemented only, as described in
tsl4531x_saul.c.
This driver will work with SAUL in both low and high power modes,
with the startup mode configurable in tsl4531x_params.h.
2018-10-23 17:26:28 +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
a8c2de12fa
Merge pull request #9870 from bergzand/pr/ethos/fix_recv_with_drop
ethos: Add drop frame case to recv function
2018-10-18 15:30:48 +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
Kevin "Bear Puncher" Weiss
0628345364
Merge pull request #10093 from aabadie/pr/drivers/periph_eeprom_refactor
drivers/periph_eeprom: refactor implementation and test application
2018-10-16 16:30:40 +02:00
Semjon Kerner
5b0152f4f7 drivers/netdev_ieee802154: drop NETOPT_MAX_PKT_SIZE 2018-10-16 13:28:03 +02:00
Semjon Kerner
2728065be4 drivers/netdev_ieee802154: support NETOPT_MAX_PKT_SIZE 2018-10-16 13:27:21 +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
f2c1355560 drivers/adxl345: move scale factor macro to internal implem 2018-10-15 15:00:04 +02:00
Leandro Lanzieri
7a39f03986 drivers/adxl345: Fix byte swap on reading function 2018-10-15 14:57:55 +02:00
Oleg Artamonov
acda8c8828 drivers/adxl345: macros cleanup 2018-10-15 14:57:55 +02:00
Oleg Artamonov
631c16fdb1 drivers/adxl345: fix range values 2018-10-15 14:57:55 +02:00
Oleg Artamonov
de5f38d134 drivers/adxl345: fix scale factor calc 2018-10-15 14:57:55 +02:00
Oleg Artamonov
fb65067d3a drivers/adxl345: fix ADXL345 driver 2018-10-15 14:57:55 +02:00
Peter Kietzmann
b2c791c6cb
Merge pull request #10135 from miri64/cpu/enh/periph-gpio-irq-closing-endif
cpu, periph_gpio: mark closing #endif for MODULE_PERIPH_GPIO_IRQ
2018-10-15 13:41:02 +02:00
1ca44cf072 drivers/vcnl40x0: initial implementation 2018-10-15 11:44:10 +02:00
9cedd7e244 drivers/saul: add proximity sensor type 2018-10-15 11:44:04 +02:00
Kevin "Bear Puncher" Weiss
33aa604dd7
Merge pull request #10145 from gschorcht/drivers_hd44780_fix
drivers/hd44780: fix compilation errors
2018-10-12 09:51:15 +02:00
Hauke Petersen
5f50db07e8 misc: use correct hauke.petersen@fu email address 2018-10-11 12:20:37 +02:00
Gunar Schorcht
11be2035dd drivers/hd44780: fix compilation errors 2018-10-11 08:21:28 +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
Hauke Petersen
38750f1e30 drivers/l3g4200d: fix typo in src file header 2018-09-26 11:00:48 +02:00
6dfc07b076 drivers/sx127x: remove useless rx timeout setter 2018-09-25 22:22:13 +02:00
smlng
59e299635b cppcheck: add/correct reason for cppcheck-suppress
Adding and correcting description/rational on why certain cppcheck
warnings or errors are intentionally suppressed.
2018-09-25 12:03:58 +02:00
Vincent Dupont
1f2985dfc6
Merge pull request #9952 from OTAkeys/at_fix_buffer_memset
at driver: allow using same buffer for command and response in at_send_cmd_get_lines()
2018-09-24 17:33:58 +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
1c2dd28c90
Merge pull request #9937 from dylad/fix_mutex_tsl2561
drivers/tsl2561: add missing acquire∕release functions
2018-09-21 10:28:42 +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
semjonkerner
83711b4819 drivers/Makefile.dep: order modules alphabetically 2018-09-20 11:00:21 +02:00
semjonkerner
603c04e2cc drivers/Makefile.dep: delete duplicate srf02 module 2018-09-20 11:00:21 +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
Toon Stegen
021ab9764a at driver: fix at_send_cmd_get_lines bug
When reusing the same buffer for the at command and response, no command
would be sent because the buffer was cleared. This is fixed by only
clearing the buffer after the command has been sent.
2018-09-18 12:16:09 +02:00
761987ef0d
ethos: Add drop frame case to recv function
The ethos driver does not drop the received frame if the recv function
is called with NULL buffer and with a length. This commit fixes that.
2018-09-18 11:20:29 +02:00