A collection of object files linking to a
program during the compile time is a static library. Creating an application requires a
platform.
To create a library component, select .
- Input the Static Library component name and specify the location. Click Next.
- Select a fixed platform and select Next. Note: If you do not have an existing fixed platform, refer the chapter Creating a Platform Component from XSA to create a platform. If your target platform is not in the list, you can add it by clicking the '+' button.
- Select the target processor domain for the library, and select Next.
- Click Add Files or
Add Folders to import the source
file for the library, and select Next.Note: You can import source files after creating a library component by right clicking the SRC folder and import the source.
- Review the summary and click Finish.
After creating a library component, you can select to build it
in Flow Navigator. For more information on
compiler setting, refer to Build Configuration Settings.
Note:
Vitis does not provide
linker support for library component. Omit Linker setting if you check the build
configuration settings.