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
b4267fbd5e
drivers: make use of new driver_with_saul.mk where applicable
2022-01-06 12:07:07 +01:00
Leandro Lanzieri
2c35ab234e
drivers/tcs37727/kconfig: add hardware feature
2021-12-07 11:32:15 +01:00
Leandro Lanzieri
785148dd6c
drivers/tcs37727: add module to Kconfig
2021-01-21 10:02:27 +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
b4a23b8899
drivers/tcs37727 : Expose to Kconfig
...
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-05-07 23:55:32 +05:30
Akshai M
04bdd405d2
drivers/tcs37727 : Add CONFIG_
...
Add CONFIG_ prefix to TCS37727_ATIME_DEFAULT and update
documentation for doxygen.
2020-05-07 23:20:24 +05:30
Kees Bakker
e60715d243
drivers/tcs37727: do normal assignment instead of memcpy
2019-01-10 19:43:44 +01:00
78c5b46eac
drivers/tcs37727: adapt to new I2C api
2018-07-25 12:01:38 +02:00
a48a90f234
drivers/tcs37727: use new driver params scheme
2018-07-25 12:01:38 +02:00
smlng
b283b7784c
make: fix various compile errors with Wextra
...
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
sys, pm_layered: fix casting nonscalar to the same type
cpu, stm32_common: fix type-limits, remove always true assert
cpu, stm32f4: fix pointer arithmetic in periph/i2c
drivers, at86rf2xx: fix type-limits where condition always true
saul, gpio: fix if no gpio configured for saul
cpu, saml21: add frequency check to periph/timer
driver, cc110x: fix unused param and type-limts errors
boards, wsn430-common: fix old-style-declaration
make: fix old style definition
drivers, sdcard_spi: fix old style typedef
driver, at30tse: remove unnecessary check
driver, nrf24: fix type-limit
driver, pn532: change buffer from char to uint8_t
tests/driver_sdcard: fix type limits
boards, feather-m0: add missing field inits
driver, tcs37727: fix type limits
pkg, emb6: disable some compiler warnings
tests/emb6: disable some compiler warings
pkg, openthread: fix sign compare and unused params
tests/trickle: fix struct init
tests/pthread_cooperation: fix type limits
board, mips-malta: remove feature periph_uart
shell: fix var size for netif command
gnrc, netif: fix sign-compare
gnrc, nib: fix sign-compare
shell: fix output in netif command
posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
smlng
ae1833c871
doc: fix or remove weird and invisble chars
2017-09-06 08:49:05 +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
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Hauke Petersen
470f2de771
drivers/tcs37727: SAUL support + misc fixes
...
- added default parameters file
- let init() function use param struct
- named return values
- simplified init function
- sensor now active after init was called
- simplified return values
2017-02-16 14:46:50 +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
Ruediger Bartz
d188293b15
drivers/tcs37727: fixed ATIME setup in init function
2015-11-20 11:41:52 +01:00
Johann F
c6cec830f9
drivers/tcs37727: initial commit for tcs37727 driver
...
The driver supports lux and ct calculation and autogain funktion.
2015-10-22 12:05:19 +02:00