Lines Matching full:devicetree
12 # This module makes information from the devicetree available to
16 # defined in <zephyr/devicetree.h>
22 # - To users as a final devicetree source (DTS) file which can
26 # devicetree extensions defined in cmake/modules/extensions.cmake
35 # We rely on the C preprocessor, the devicetree python package, and
46 # - DTS_SOURCE: set to the path to the devicetree file which
50 # 2. The following has happened if a devicetree was found and
60 # - DTS_INCLUDE_FILES is set to a ;-list of all devicetree files
63 # - the devicetree extensions in the extensions.cmake module
69 # - DTS_ROOT: a deduplicated list of places where devicetree
74 # may be found for devicetree files
81 # devicetree overlay file in one of the BOARD_DIRECTORIES
83 # for devicetree files
84 # - DTC_OVERLAY_FILE: list of devicetree overlay files which will be
85 # used to modify or extend the base devicetree.
86 # - EXTRA_DTC_OVERLAY_FILE: list of extra devicetree overlay files.
94 # C preprocessor when generating the devicetree from DTS_SOURCE
95 # - DTS_SOURCE: the devicetree source file to use may be pre-set
102 # The directory containing devicetree related scripts.
114 # The generated C header needed by <zephyr/devicetree.h>
159 # We found a devicetree. Append all relevant dts overlays we can find...
172 # If we don't have a devicetree, provide an empty stub
178 # well as all the devicetree bindings and vendor prefixes associated
193 build_info(devicetree user-files PATH ${DTC_OVERLAY_FILE_AS_LIST})
203 build_info(devicetree extra-user-files PATH ${EXTRA_DTC_OVERLAY_FILE_AS_LIST})
215 message(STATUS "Found devicetree overlay: ${dts_file}")
243 # Run the C preprocessor on the devicetree source, so we can parse it
244 # (using the Python devicetree package) in later steps.
268 # Make sure we re-run CMake if any devicetree sources or transitive
430 build_info(devicetree files PATH ${dts_files})
431 build_info(devicetree include-dirs PATH ${DTS_ROOT_SYSTEM_INCLUDE_DIRS})
432 build_info(devicetree bindings-dirs PATH ${DTS_ROOT_BINDINGS})