Marian Buschsieweke
cac44edec7
tree-wide: replace multiple empty lines with one
...
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00
KSKNico
7a6b83a40c
drivers: replace header guards with #pragma once
2025-05-16 19:33:04 +02:00
Benjamin Valentin
7ae354f191
drivers/at24cxxx: fix uninitialized return value in _set()
2024-12-17 15:24:13 +01:00
crasbe
251b525e7e
drivers/at24cxxx: add documentation about driver usage
2024-04-16 18:06:03 +02:00
crasbe
6d1bfd63c6
drivers/at24cxxx: add defines for M24C01
2024-04-16 18:06:03 +02:00
MrKevinWeiss
7a68fb0d5e
*Kconfig*: Remove dep-only Kconfig files
2024-03-26 14:54:22 +01:00
Benjamin Valentin
1a19005c22
drivers/at24cxxx: add defines for AT24CS04 & AT24CS08
2023-11-16 14:28:20 +01:00
Benjamin Valentin
7884d6e7fe
drivers/at24cxxx: merge mtd driver with at24cxxx.c
2023-02-17 10:55:21 +01:00
Hendrik van Essen
3837536a73
drivers/at24cxxx: implement read_page for mtd
2023-02-15 11:56:21 +01:00
Marian Buschsieweke
86fdbd7054
core/lib: Add macros/utils.h header
...
The macros CONCAT(), MIN(), and MAX() are defined over and over again in
RIOT's code base. This de-duplicates the code by moving the macros to a
common place.
2023-01-07 09:47:44 +01:00
MrKevinWeiss
40f4950f85
drivers/at24cxxx: Fix kconfig model
2022-08-17 14:37:21 +02:00
chrysn
d764e037bf
drivers/at2[45]: EEPROMs can be written byte-wise
...
See-Also: https://github.com/RIOT-OS/RIOT/pull/17683#discussion_r815362737
2022-03-31 10:58:52 +02:00
Gunar Schorcht
312c31dce5
drivers: update to new I2C API
2021-11-29 06:35:25 +01:00
Alexandre Abadie
a090f492bb
drivers/at24cxxx: declare pseudomodules at driver level
2021-10-05 11:48:53 +02:00
Francisco Molina
14ef09b8b4
drivers/mtd: fix Kconfig dependencies
...
Currently implementations of the MTD api are selecting the module,
this makes it easy for default backends to be selected. But the
correct modeling is simply selecting the MTD api and then selecting
a backend. BOARDs providing one of the backends can expose this and
then that backend can be selected by default.
There is also currently nothing preventing from using the MTD api
with no backend since a mock backend can easily be provided as is
done in all mtd tests.
2021-09-22 09:22:51 +02:00
Nicolas Harel
bc25d3b458
drivers/at24cxxx: rearrange AT24CXXX_PARAMS
2021-07-07 10:15:55 +02:00
Benjamin Valentin
c569d9a1d9
drivers: add MTD_DRIVER_FLAG_DIRECT_WRITE to mtd drivers
...
- EEPROMs don't need read-modify-write cylce
- SD cards will handle read-modify-write internally
2021-01-28 11:51:28 +01:00
Leandro Lanzieri
4d35b803c4
drivers/at24cxx: add modules to Kconfig
2020-11-18 18:38:49 +01:00
Bas Stottelaar
8d602435a5
drivers/*: reorder ENABLE_DEBUG after last include
2020-10-23 00:45:56 +02:00
Gunar Schorcht
6d61381d2a
drivers: use inline functions for GPIO comparisons
...
The expandable GPIO API requires the comparison of structured GPIO types. This means that inline functions must be used instead of direct comparisons. For the migration process, drivers must first be changed so that they use the inline comparison functions.
2020-08-31 13:10:28 +02:00
Benjamin Valentin
02f37b998a
drivers/at24cxxx: export page-wise write function
...
Export the _write_page() function so it can be used by the MTD subsystem.
2020-08-18 17:25:40 +02:00
Alexandre Abadie
304bce3724
drivers: configure per driver dependency resolution
2020-07-20 14:32:16 +02:00
Alexandre Abadie
490126cfa0
drivers: move USEMODULE_INCLUDES in each driver directories
2020-07-15 20:36:27 +02:00
fabian18
9ecd836443
drivers/at24cxxx: add MTD wrapper for at24cxxx EEPROMs
2020-05-20 19:20:05 +02:00
fabian18
2c77ee4cab
drivers/at24cxxx: at24cxxx EEPROM driver
2020-02-24 14:00:25 +01:00