1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/pcf857x
Marian Buschsieweke d0fccdb549
drivers/pcf857x: Move compile time check to compilation unit
This allows including the header without using the module. Obviously,
calls to the functions provided by the header won't like without using
the module. But including the header can still be useful for e.g.:

    if (IS_USED(MODULE_PCF857x)) {
        /* make use of the module */
    }

In the above example all calls to pcf857x functions would be optimized
out when the module is not used, full compile checks happen in either
case.
2023-09-15 12:52:58 +02:00
..
include drivers: add PCF857X I/O expander driver 2021-12-04 14:11:04 +01:00
Kconfig drivers/pcf857x: Update kconfig model 2022-03-04 14:15:49 +01:00
Makefile drivers: make use of new driver_with_saul.mk where applicable 2022-01-06 12:07:07 +01:00
Makefile.dep drivers: add PCF857X I/O expander driver 2021-12-04 14:11:04 +01:00
Makefile.include drivers: add PCF857X I/O expander driver 2021-12-04 14:11:04 +01:00
pcf857x_saul.c drivers/saul: use const qualifier for data to write 2022-05-23 08:35:27 +02:00
pcf857x.c drivers/pcf857x: Move compile time check to compilation unit 2023-09-15 12:52:58 +02:00