hdlcoder.Board.addDeviceTree - Add device tree for board object - MATLAB (original) (raw)
Main Content
Class: hdlcoder.Board
Namespace: hdlcoder
Add device tree for board object
Since R2021b
Syntax
addDeviceTree(dtFile)
Description
addDeviceTree([dtFile](#mw%5F40a6b332-582d-419c-ae82-9db40eff2d09))
registers a new device tree file to an hdlcoder.Board
object.
Specify the device tree by using one of these extensions:".dtb"
,".dts"
, or ".dtsi"
. Use".dtb"
when the device tree is specified as a binary file. Use".dts"
or ".dtsi"
when the device tree is specified as a source file.
Input Arguments
Device tree file name, specified as a string or character vector.
Example: "board.dtsi"
Limitations
- HDL Coderâ„¢ supports specifying only a single device tree file for a plugin file.
- You cannot specify a binary device tree file for custom board and reference design simultaneously. When specifying device tree files for custom board and reference designs, specify the device trees as source files.
Version History
Introduced in R2021b