Skip to content

Commit 7cddb2a

Browse files
57300kartben
authored andcommitted
cmake: extensions: Add TARGET arguments to the dt_* API
The CMake dt_* API is backed by target properties. By default, it uses the target named `devicetree_target` that is initialized in `dts.cmake`. We should be able to customize this, now that we have a function for loading those properties into a different target. For example: zephyr_dt_import(EDT_PICKLE_FILE /path/to/edt.pickle TARGET target) dt_nodelabel(node NODELABEL label TARGET target) This would make it possible to reference multiple devicetrees in the same build system, particularly sysbuild. Signed-off-by: Grzegorz Swiderski <[email protected]>
1 parent 468db18 commit 7cddb2a

File tree

1 file changed

+115
-65
lines changed

1 file changed

+115
-65
lines changed

0 commit comments

Comments
 (0)