Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
dt-util.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Gerson Fernando Budke <nandojve@gmail.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DT_UTIL_H_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_DT_UTIL_H_
9
10/*
11 * This file exists to keep in-tree DTS clean. This means, only
12 * #include <dt-bindings/foo.h> form should be included. The
13 * <dt-bindings/dt-util.h> wraps <sys/util_macro.h> file exposing
14 * all macro base definitions to DTS preprocessor. It provides
15 * necessary background to elaborate complex constructions like
16 * variable length macros with zero or more elements.
17 */
18
19#include <sys/util_macro.h>
20
21#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_DT_UTIL_H_ */
Macro utilities.