Marian Buschsieweke
cac44edec7
tree-wide: replace multiple empty lines with one
...
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00
KSKNico
7a6b83a40c
drivers: replace header guards with #pragma once
2025-05-16 19:33:04 +02:00
MrKevinWeiss
7a68fb0d5e
*Kconfig*: Remove dep-only Kconfig files
2024-03-26 14:54:22 +01:00
Marian Buschsieweke
395254af41
drivers/pir: Add missing doc and fix doccheck
...
This commits add documentation to the PIR params and adds generic
exclude patters to the doc check, so that when boards provide custom PIR
params they do not need to document them again. The reasoning is that
the documentation in the central place is sufficient.
2023-01-05 14:25:18 +01:00
Marian Buschsieweke
16f859dafd
drivers/saul: use const qualifier for data to write
...
This makes life easier when calling e.g. `saul_reg_write()` with data
stored in flash.
As now the signatures for reading and writing differ (in that `const`
qualifier only), `saul_notsup()` is split into `saul_write_notsup()`
and `saul_read_notsup()`. However, one is implemented as a symbol alias
of the other, so that ROM consumption remains unchanged.
2022-05-23 08:35:27 +02:00
Francisco Molina
c19a78765a
drivers/pir: migrate to ztimer64
2022-01-18 16:27:44 +01:00
Alexandre Abadie
b4267fbd5e
drivers: make use of new driver_with_saul.mk where applicable
2022-01-06 12:07:07 +01:00
Leandro Lanzieri
14d986d25d
drivers: add Kconfig hardware feature to various drivers
...
- fxos8700
- hdc1000
- pir
- pulse_counter
2021-12-15 10:30:51 +01:00
Leandro Lanzieri
697f61f41a
drivers/pir: add module to Kconfig
2021-01-14 10:00:43 +01:00
Bas Stottelaar
92b1dfc703
drivers/*: realign ENABLE_DEBUG
2020-10-23 01:26:09 +02:00
Alexandre Abadie
304bce3724
drivers: configure per driver dependency resolution
2020-07-20 14:32:16 +02:00
Alexandre Abadie
490126cfa0
drivers: move USEMODULE_INCLUDES in each driver directories
2020-07-15 20:36:27 +02:00
Kees Bakker
0cb92e1e51
drivers: replace memset by simple assignments
...
A memset was used to clear two of the SAUL values in phydat_t::val
The change is to replace that by the following
res->val[1] = 0;
res->val[2] = 0;
which makes the code more obvious.
2019-01-07 21:59:25 +01:00
Hyungsin
0c5c3d9b77
driver/pir: add pir-based occupancy sensing
2018-06-26 13:46:37 -07:00
Alexandre Abadie
94c753c07a
drivers: doxygen cleanup
2017-09-01 15:12:20 +02:00
Alexandre Abadie
317716419c
drivers: use const device descriptor
2017-06-21 17:05:45 +02:00
Oleg Hahm
b428979a1d
debug: add missing line breaks
2016-09-27 23:38:41 +02:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
Yonezawa-T2
1ce140d910
debug: fix compilation error for %p formatter
2016-03-29 11:46:29 +09:00
Hauke Petersen
e51d634aeb
drivers: adapted gpio_init(_x)() calls
2016-03-17 14:55:30 +01:00
Ludwig Knüpfer
eda6328e21
documentation: update my name (Ortmann -> Knüpfer)
2015-09-27 18:58:30 +02:00
Hauke Petersen
2cc2d9f740
drivers: adjusted drivers to changed GPIO interface
2015-06-12 19:10:29 +02:00
Ludwig Ortmann
e75dd40eea
drivers: import PIR motion sensor driver
...
Includes an application for manual testing.
2014-09-26 18:07:46 +02:00