Creating a Linux Application Project
You can create a C or C++ Linux application project by using the New Application Project wizard.
To create a project:
- Click
This will show you the page that guide you to create the application project.
. The New Application Project wizard
appears. - Click Next to open the platform view.
- Choose a platform for your project.
- You can either use a pre-supplied platform (from Xilinx or another vendor), or a previously created custom platform.
- You can create one automatically from an exported Vivado hardware project (XSA).
Click Next to proceed.
- Select the Platform that has a Linux domain and
click Next.Note: If the Linux domain is not present in the platform, add it as shown in the following steps:
- After selecting the platform, click Next.
- On the system project page, select Show all the processors in the hardware specification option, and then select the Linux processor which is displayed in the list and click Next.
- Provide the name of the application project of
your choice and select Next.
This displays the list of domains present in the platform. Optional: You can choose the sysroot, the root file system, and the kernel image path.
- Click Next to proceed to the Templates
page.
The software platform provides useful sample applications listed in the Templates page that you can use to create your project. The Description box displays a brief description of the selected sample application. When you use a sample application for your project, the Vitis software platform creates the required source and header files and linker script.
- Select the desired template. To create a blank project, select
Empty Application.
You can then add C files to the project after the project is created.
- Click Finish to create your application project and board support package (if it does not exist).