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

31 Commits

Author SHA1 Message Date
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
0250bf20e3
drivers/bmp180: Model saul_default in kconfig 2022-02-01 13:58:05 +01:00
b4267fbd5e
drivers: make use of new driver_with_saul.mk where applicable 2022-01-06 12:07:07 +01:00
9029e1caf9
drivers/bmp180: migrate to ztimer 2021-11-02 14:57:50 +01:00
Leandro Lanzieri
2547880f3a
drivers/bmp180: add module to Kconfig 2020-11-25 12:00:13 +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
679a07833b
drivers/bmp180: fix potentially use of uninitialized variable
This was reported by scan-build
2019-10-22 19:30:12 +02:00
Torben Petersen
04d346667b drivers/bmp180: fix conversion 2019-03-18 09:43:39 +01:00
a2d1558922 drivers/bmp180: adapt to new I2C api 2018-07-25 12:01:38 +02:00
f1019a8360 drivers/bmp180: use new driver params scheme 2018-02-28 16:19:28 +01:00
94c753c07a drivers: doxygen cleanup 2017-09-01 15:12:20 +02:00
smlng
8d62031463 drivers: fix overshift and overflow errors on 8Bit MCUs
- bmp180: fix overshift error
    - hih6130: fix overflow in sleep interval
    - pn532: fix overshift error
    - bh1750fvi: fix overshift error
    - mpu9050: fix overflow error
2017-08-31 14:49:53 +02:00
85fb33e121 drivers/bmp180: fix doxygen brief documentation 2017-07-02 20:52:36 +02:00
smlng
946256d26f saul: use const for device parameter 2017-06-26 20:25:37 +02:00
Sebastian Meiling
1014663d34 Merge pull request #7213 from aabadie/const_drivers_pointer
drivers: partial use of constness when accessing device descriptor
2017-06-22 16:37:29 +02:00
317716419c drivers: use const device descriptor 2017-06-21 17:05:45 +02:00
d9ea159255 drivers: remove useless saul name suffix 2017-06-21 15:06:53 +02:00
smlng
26c8338a04 driver,bmp180: adapt SAUL scale to read pressure in hectoPascal (hPA) 2017-06-15 11:24:02 +02:00
0e6e3b368b drivers/bmp180: driver cleanup 2017-06-14 09:48:20 +02:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Hauke Petersen
232b8eb2a5 drivers/bmp180: move SAUL config to params.h 2017-01-17 11:34:16 +01:00
47b83b7412 drivers/bmp180: saul driver cleanup 2017-01-11 09:24:40 +01:00
26835f4f2c drivers/bmp180: move bmp180 to saul auto init the correct way 2016-12-16 15:24:34 +01: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
847e6c6494 drivers/bmp180: add a delay before accessing calibration registers 2016-07-25 15:30:39 +02:00
d3fb1d9883 drivers/bmp180: implementation cleanup 2016-07-25 11:52:15 +02:00
4a595d7b19 drivers/bmp180: add saul adaptation 2016-06-01 11:15:01 +02:00
941bdbbc56 drivers/bmp180: initial implementation 2016-03-22 19:51:03 +01:00