- Launch the AMD Vitis™ unified software platform.
- In Vitis, click
- Enter the name and location for the BSP.
- Select the design.
- For the operating system, select Standalone.
- Select the processor.
- Click Finish.
- Add the Libmetal and OpenAMP libraries.
- In the Vitis components view, select the created platform: .
- Check the boxes for the Libmetal and OpenAMP libraries.Note: You can optionally build an OpenAMP RPC demo that uses the OpenAMP provided proxy information. To do this, follow these instructions:
- Navigate to the Vitis components view.
- Select the created platform by clicking .
- Set the
OPENAMP_WITH_PROXYflag to true.
Note: To use an external repository for OpenAMP or Libmetal libraries, use the following steps:- Create a new directory with the following
structure:
'libmetal' or 'openamp' - data - src - Inside the data folder, copy the YAML from the openamp.yaml or libmetal.yaml GitHub repositories.
- Inside the src folder, copy your modified version of the OpenAMP or Libmetal repository and the sdt directory from the libmetal/src/sdt GitHub repository.
- Point Vitis to your local copy: . Click + to add the top level new directory with data and src inside and then click OK.
- Click Rescan Repositories.
- When adding the library, select the local copy from the drop down menu.
Note: Instead of adding external libraries to Vitis, you should clone the upstream Libmetal and OpenAMP libraries and build them with native CMake. - Build the BSP in the flow view by clicking Build in the view.
- Create the application by selecting . Note: OpenAMP demos (RPC, matrix multiplication, and echo-test) run only on Zynq UltraScale+ MPSoCs and Versal AI Core Series evaluation kits, and only with FreeRTOS.
- Select .
- Build the application by selecting the application project mode in the menu. Click Build in the flow view.