platform active - 2025.2 English - UG1725

Software Debugger Reference Guide (UG1725)

Document ID
UG1725
Release Date
2025-11-20
Version
2025.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.