A static library is a collection of
object files that are linked into a program during the compile time. A platform is
required before creating an application.
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 library component is created by right clicking the SRC folder and import the source.
- Review the summary and click Finish.
After Library component is created, you can select to build it
in Flow Navigator. For more information on compiler setting,
refer to Build Configuration Settings.
Note: Linker support for Library component is
not provided. Omit Linker setting if you check the build configuration
settings.