Main Content

addDeviceTreeIncludeDirectory

Class: hdlcoder.ReferenceDesign
Namespace: hdlcoder

Specify the path of an include file to compile the device tree against

Since R2021b

Syntax

addDeviceTreeIncludeDirectory(dirPath)

Description

addDeviceTreeIncludeDirectory(dirPath) specifies a folder path of an include file to compile the device tree against.

Input Arguments

expand all

Absolute path or relative path of the device tree include folder, specified as a string or character vector. The include folder path can be either an absolute path or a path relative to the reference design plugin folder. You do not need to specify the reference design plugin folder as an include folder because it is automatically added to the include folder list. All include folders exist on the host computer. If a folder cannot be found, a warning is produced and the include folder is skipped.

Example: "C:\work\devicetrees\zynq" specifies an absolute path.

Example: "devicetrees\zynq" specifies a path relative to the reference design plugin folder.

Version History

Introduced in R2021b