Lines Matching full:dts

22 #   - To users as a final devicetree source (DTS) file which can
36 # files in scripts/dts to make all this work. We also optionally will
57 # - ${PROJECT_BINARY_DIR}/zephyr.dts exists
59 # - ${KCONFIG_BINARY_DIR}/Kconfig.dts exists
97 # ${BOARD_DIRECTORIES}/<normalized_board_target>.dts
103 set(DT_SCRIPTS ${ZEPHYR_BASE}/scripts/dts)
112 # The generated file containing the final DTS, for debugging.
113 set(ZEPHYR_DTS ${PROJECT_BINARY_DIR}/zephyr.dts)
117 set(DTS_POST_CPP ${PROJECT_BINARY_DIR}/zephyr.dts.pre)
118 set(DTS_DEPS ${PROJECT_BINARY_DIR}/zephyr.dts.d)
123 set(DTS_KCONFIG ${KCONFIG_BINARY_DIR}/Kconfig.dts)
129 set(DTS_CMAKE ${PROJECT_BINARY_DIR}/dts.cmake)
134 set(VENDOR_PREFIXES dts/bindings/vendor-prefixes.txt)
141 if(EXISTS ${dir}/${shortened_board_string}.dts AND NOT BOARD_${BOARD}_SINGLE_SOC)
143 "(${shortened_board_string}.dts) not allowed, use '<board>_<soc>.dts' naming"
145 elseif(EXISTS ${dir}/${board_string}.dts AND EXISTS ${dir}/${shortened_board_string}.dts)
147 "${board_string}.dts and ${shortened_board_string}.dts. "
148 "Please choose one naming style, ${board_string}.dts is recommended."
150 elseif(EXISTS ${dir}/${board_string}.dts)
151 set(DTS_SOURCE ${dir}/${board_string}.dts)
152 elseif(EXISTS ${dir}/${shortened_board_string}.dts)
153 set(DTS_SOURCE ${dir}/${shortened_board_string}.dts)
159 # We found a devicetree. Append all relevant dts overlays we can find...
160 zephyr_file(CONF_FILES ${BOARD_DIRECTORIES} DTS DTS_SOURCE)
164 DTS no_rev_suffix_dts_board_overlays
173 set(DTS_SOURCE ${ZEPHYR_BASE}/boards/common/stub.dts)
177 # Find all the DTS files we need to concatenate and preprocess, as
182 zephyr_file(CONF_FILES ${BOARD_EXTENSION_DIRS} DTS board_extension_dts_files)
213 message(STATUS "Found BOARD.dts: ${dts_file}")
223 set(bindings_path ${dts_root}/dts/bindings)
249 # challenging is this? Can we cache the dts dependencies?
251 # Run the preprocessor on the DTS input files.
295 --dts ${DTS_POST_CPP}
298 --dts-out ${ZEPHYR_DTS}.new # for debugging and dtc
311 message(STATUS "Generated zephyr.dts: ${ZEPHYR_DTS}")
331 message(STATUS "Generated zephyr.dts: ${ZEPHYR_DTS}")
353 # cycle when sysbuild is used of configuring and building multiple times due to the dts.cmake file
372 message(STATUS "Including generated dts.cmake file: ${DTS_CMAKE}")
407 -O dts