You can create an application component from the example template by following the steps below:
- Go to , or click , or click the toolbar on the left side or use Ctrl + Shift + R shortcut keys to open the Example view.
- Click the example in the example list.
- Click Show details to the requirement of the template.
- 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>