hsi::create_dt_tree - 2021.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2021-12-15
Version
2021.2 English

Description

Create a DT tree.

Syntax

create_dt_tree -dts_file <arg> [-dts_version <arg>] [-quiet] [-verbose] 

Returns

Tree object. Returns nothing if the command fails.

Usage

Name Description
-dts_file dts file name
[-dts_version] dts version
[-quiet] Ignore command errors
[-verbose] Suspend message limits during command execution

Categories

DeviceTree

Description

Create a new DT tree add to the current HSI session.

If successful, this command returns the name of the DT tree created. Otherwise it returns an error.

Arguments

-dts_file - The DT tree name or file name targeted for the output DTSI file.

-dts_version - The DTS version of the DTSI file.

-verbose – (optional) Temporarily override any message limits and return all messages from this command.
Note: Message limits can be defined with the set_msg_config command.

Examples

Create a new DT tree pl.dtsi and add the tree to the current session:

hsi::create_dt_tree -dts_file pl.dtsi -dts_version /dts-v1/
hsi::create_dt_tree -dts_file system.dts -dts_version /dts-v3/ -header "include pl.dtsi, include ps.dtsi"
hsi::create_dt_tree -dts_file ps.dtsi -dts_version /dts-v3/ -header "PS system info"