Creating an Application Project for OpenAMP - 2022.1 English

Libmetal and OpenAMP User Guide (UG1186)

Document ID
UG1186
Release Date
2022-06-15
Version
2022.1 English

1. From the Xilinx Vitis window, create the application project by selecting File > New > Application Projects or select Create Application Project.

2. The wizard will guide you through the steps of creating new application projects.

a. Choose a platform or create a platform project from Vivado exported XSA.

b. Put application project in a system project, associate it with a processor.

c. Prepare the application runtime – domain.

d. Choose a template for application to quick start development.

3. Specify the BSP OS platform:

- standalone for a Baremetal application.

- freertos<version>_xilinx for a FreeRTOS application.

a. Specify the hardware platform.

b. Select the processor:

For the Zynq UltraScale+ MPSoC device (ZynqMP), Cortex-R5 (RPU) is supported.

- Select psu_cortexr5_0 or psu_cortexr5_1 .

- For the Zynq-7000 SoC device (zynq), only Cortex-A9 is supported.

Select ps7_cortexa9_1 .

c. Select one of the following:

- Use Existing if you had previously created an application with a BSP and want to re-use the same BSP.

- Create New BSP to create a new BSP.

IMPORTANT: If you select Create New BSP, the openamp library is automatically included, but the compiler flags must be set as indicated in the upcoming steps.

d. Click Next to select an available template (do not click Finish ).

4. Select one of the three application templates available for OpenAMP remote Baremetal from the available templates:

° OpenAMP echo-test

° OpenAMP matrix multiplication Demo

° OpenAMP RPC Demo

5. Click Finish .

6. In the Xilinx Vitis project explorer, right-click the BSP and select Board Support Package Settings.

7. Navigate to the BSP Settings > Overview > OpenAMP .

8. Click the OK button.