platform active - 2023.2 English

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

Document ID
UG1400
Release Date
2023-12-13
Version
2023.2 English

Set/get active platform.

Syntax

platform active [platform-name]

Set or get the active platform. If a platform-name is specified, it is made the active platform. Otherwise, the name of active platform is returned. If no active platform exists, this command returns an empty string.

Options

None.

Returns

An empty string, if a platform is set as active or no active platform exists. The platform name, when the active platform is read.

Examples

platform active

Return the name of the active platform.

platform active zc702_platform

Set zc702_platform as active platform.