Creating an Application Component from Examples - 2025.2 English - UG1400

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

Document ID
UG1400
Release Date
2025-11-20
Version
2025.2 English

You can create an application component from the example template by following the steps below:

  1. Go to View > Examples, or click File > New > Component From Example, or click the toolbar on the left side or use Ctrl + Shift + R shortcut keys to open the Example view.
  2. Click the example in the example list.
  3. Click Show details to the requirement of the template.
  4. Click Create Application Component from Template. Refer to Creating an Application Component for details.

When creating a Linux application component, you can select a third party sysroot toolchain by selecting the checkbox and providing the path.

If you disable use sysroot toolchain, Vitis tools uses the default gcc compiler. If you pass a path that does not have any gcc or g++ compilers, Vitis throws an error.

For the CLI flow, add the following arguments to your create_app_component command:
use_sysroot_toolchain=True
sysroot_toolchain=<TOOLCHAIN_PATH>