MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model
2024-03-27 10:28:12 +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
d5336efb41
drivers/isl29020: Update kconfig model
2022-03-04 14:15:43 +01:00
b4267fbd5e
drivers: make use of new driver_with_saul.mk where applicable
2022-01-06 12:07:07 +01:00
MrKevinWeiss
b1bb309566
driver/isl29020: Allow SAUL_DEFAULT in kconfig
2021-12-14 16:17:05 +01:00
Leandro Lanzieri
4e99411f2b
drivers/isl29020: add module to Kconfig
2020-11-27 09:20:08 +01:00
Bas Stottelaar
92b1dfc703
drivers/*: realign ENABLE_DEBUG
2020-10-23 01:26:09 +02:00
Leandro Lanzieri
d25fc243c4
treewide: change prefix for generated Kconfig symbols.
...
This changes the prefixes of the symbols generated from USEMODULE and
USEPKG variables. The changes are as follow:
KCONFIG_MODULE_ => KCONFIG_USEMODULE_
KCONFIG_PKG_ => KCONFIG_USEPKG_
MODULE_ => USEMODULE_
PKG_ => USEPKG_
2020-08-31 09:37: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
Akshai M
db96ebcbe1
drivers/isl29020 : Expose to Kconfig
...
Expose configurations to Kconfig.
2020-05-08 18:07:27 +05:30
Akshai M
f01bbd3c58
drivers/isl29020 : Make ADDR configurable
...
Make ISL29020_PARAM_ADDR configurable
2020-05-08 18:07:27 +05:30
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
fc17eb4c55
drivers/isl29020: adapt to new I2C api
2018-07-25 12:01:39 +02:00
0b78a1bec5
drivers/isl29020: rework driver API and params definition
2018-07-25 12:01:39 +02:00
a08e9919a9
drivers: fix doxygen grouping
2018-06-11 19:10:40 +02: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
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
Hauke Petersen
81d27683c2
drivers/isl29020: added default params.h file
2017-01-18 15:33:20 +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
Hauke Petersen
18361631a0
drivers/isl29020: added SAUL integration
2015-11-30 20:33:54 +01:00
Ludwig Ortmann
a729afa9ec
drivers/isl29020: fix return value integer error
...
Problem:
Since `i2c_read_reg` returns (signed) `int` values, the result can
be negative. However, the variable used to save the result is unsigned.
Fix:
Add and use a signed variable for return value storing.
2015-05-02 08:35:38 +02:00
Ludwig Ortmann
8ba166df6d
drivers/isl29020: fix some spelling errors
2015-05-02 08:33:15 +02:00
altairpearl
b47cc8d93d
drivers : Update include guards to remove leading underscores
2015-03-30 20:00:28 +05:30
PeterKietzmann
dcd70c807b
drivers/isl29020: Acquire exclusive access ti I2C bus
2015-03-03 18:08:38 +01:00
BytesGalore
469f28bf5c
added missing extern "C"
guards
2014-10-22 07:50:48 +02:00
Hauke Petersen
0f7e8b2f9f
drivers: added driver for ISL29020 light sensor
2014-10-15 14:54:04 +02:00