To install additional
custom platforms, follow the steps below.
Installation with Environment Variable
- Extract the platform package:
If the platform package is delivered as a ZIP file, extract it to a suitable location.
- Set the environment variable:Define the
PLATFORM_REPO_PATHSenvironment variable to point to the extracted directory path before launching Vitis tools. For example, in a Bash terminal:export PLATFORM_REPO_PATHS=<Platform_Path>
This setting applies to both the v++
command-line tool and the Vitis Unified IDE.
Adding Platforms in Vitis Unified IDE
- Extract the platform package:
If the platform package is delivered as a ZIP file, extract it to a suitable location.
- Set the environment variable:Define the
PLATFORM_REPO_PATHSenvironment variable to point to the extracted directory path before launching Vitis tools. For example, in a Bash terminal:export PLATFORM_REPO_PATHS=<Platform_Path>
Batch Mode with Vitis Python API
For batch operations, use
the Vitis Python API to add custom platform repositories
programmatically:
client.add_platform_repos(platform=["/platform/path"])
This method is particularly useful for automation and python script-based workflows.