zephyr/tests/unit/util
Adrien Ricciardi bf8b1d67d6 sys: util: Add SIZEOF_FIELD() macro
This macro allows to know the size of a struct member at compile time.

Several parts of the Zephyr code are currently using directly the macro
code.

Also added a unit test.

Signed-off-by: Adrien Ricciardi <aricciardi@baylibre.com>
2024-06-07 21:43:07 +02:00
..
CMakeLists.txt tests: unit: util: Rework test structure for C++ testing 2024-01-02 16:01:11 +00:00
main.c sys: util: Add SIZEOF_FIELD() macro 2024-06-07 21:43:07 +02:00
prj.conf
testcase.yaml tests: unit: util: Rework test structure for C++ testing 2024-01-02 16:01:11 +00:00