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

25 Commits

Author SHA1 Message Date
MrKevinWeiss
7a68fb0d5e
*Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
Marian Buschsieweke
3c287c058d
sys/phydat: Fix unit confusion
Previously, `UNIT_G` was used for g-force with the correct symbol `g`,
`UNIT_GR` for gram (as in kilogram) with the incorrect symbol `G` (which
would be correct for Gauss), and `UNIT_GS` for Gauss with symbol `Gs`
(which is an uncommon but correct symbol).

To avoid confusion between G-Force, Gauss, and Gram the units have been
renamed to `UNIT_G_FORCE`, `UNIT_GRAM`, and `UNIT_GAUSS`. In addition,
gram now uses the correct symbol `g` and Gauss uses `G`.
2023-02-23 16:44:24 +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
MrKevinWeiss
0861012200
drivers/adxl345: Model saul_default in kconfig 2022-02-01 13:58:04 +01:00
b4267fbd5e
drivers: make use of new driver_with_saul.mk where applicable 2022-01-06 12:07:07 +01:00
Leandro Lanzieri
a08fa462fa
drivers/adxl345: add module to Kconfig 2020-11-18 18:38:47 +01:00
Bas Stottelaar
92b1dfc703 drivers/*: realign ENABLE_DEBUG 2020-10-23 01:26:09 +02:00
304bce3724
drivers: configure per driver dependency resolution 2020-07-20 14:32:16 +02:00
490126cfa0
drivers: move USEMODULE_INCLUDES in each driver directories 2020-07-15 20:36:27 +02: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
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
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
dylad
d114e2852c drivers/adxl345: fixes & cleanup
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-08-03 11:12:25 +02:00
dylad
cfc826012f drivers/adxl345: update driver to the new I2C API
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
799d3309e8 drivers/adxl345: use new driver params scheme 2018-03-01 13:40:01 +01:00
94c753c07a drivers: doxygen cleanup 2017-09-01 15:12:20 +02:00
smlng
946256d26f saul: use const for device parameter 2017-06-26 20:25:37 +02:00
smlng
8664ca3cba drivers, adxl345: fix constness in adxl345_init 2017-06-26 16:03:47 +02:00
317716419c drivers: use const device descriptor 2017-06-21 17:05:45 +02:00
Hauke Petersen
3cbc0352ea drivers: use saul_notsup 2017-05-08 13:56:35 +02:00
dylad
530a2ef277 drivers/adxl345: cleanup/enhancements
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-04-10 21:13:47 +02: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