Creating an Application Component from Examples - 2025.1 English - UG1400

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

Document ID
UG1400
Release Date
2025-05-29
Version
2025.1 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 any Linux application component, you can select a third party sysroot toolchain in the GUI by selecting the checkbox and providing the path as seen below.

If use sysroot toolchain is disabled, then the default gcc compiler will be used. Furthermore, if the user passes a path that does not have any gcc or g++ compilers, then Vitis will throw an error.

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