IMPORTANT: This tutorial requires Vitis 2023.1 or later to run.
NOTE: The instructions provided below assume that you are running in a bash shell.
To configure the environment to run Vitis, source the following scripts:
Then make sure the following environment variables are correctly set to point to your installed ZCU102 platform, rootfs and sysroot directories respectively.
export PLATFORM_REPO_PATHS=<path to the ZCU102 platform install dir> export ROOTFS=<path to the ZYNQMP common image directory, containing rootfs> export SYSROOT=$ROOTFS/sysroots/cortexa72-cortexa53-xilinx-linux export SDKTARGETSYSROOT=$SYSROOT
NOTE: The ZYNQMP common image file can be downloaded from the Vitis Embedded Platforms page, and contains the Sysroot, Rootfs, and boot Image for AMD Zynq™ MPSoC devices.