On Linux, set up the Vivado environment in a terminal window by sourcing <Vitis_install_path>/settings64.sh
Launch the Vitis Unified Software Platform:
vitis -workspace $VSSR_WS/rpu_ws
From the Welcome screen or File -> New menu select Create Application Project
Platform: Select Create a new platform from hardware (XSA), then browse and select the hardware XSA file to be used and press Next.
Application Project Details: Add application name and select r5_0 for the target processor.
Domain Selection: Create new domain for r5 application to run standalone operating system (default).
Application Template: Choose Empty Application(C) and click Finish
Navigate to BSP Settings and click Modify BSP Settings.
Select libmetal and xilpm libraries from the overview tab.
Change stdin and stdout to use UART1 instead of UART0 and press Ok to exit bsp settings.
Import Sources: Right click rpu_app and select Import Sources… (or do File -> import ) and import sources from ${REPO_SRC}/sw/standalone-srcs/rpu_app/src/ and click Finish.
Build all the projects (platform bsp and rpu_app) by clicking the build icon or by right clicking rpu_app in explorer pan and selecting Build Project
The application will be generated at:
$VSSR_WS/rpu_ws/rpu_app/Debug/rpu_app.elf
For more detailed information on how to use Vitis, please refer to the Vitis Documentation.