Keil Logo

Create a Library File

Enable Create Library in the dialog Options for Target — Output. µVision calls the Library Manager instead of the Linker/Locater. Since the code in the library will not be linked and located, the entries in the tabs Linker and Target are ignored.

Build the project. Once the library file has been created, it can be used in projects the same way as you add source files to a project.

By default, µVision loads only those library modules that are necessary for the application. In some rare cases it might be required to always include library modules.

When you build a library using Software Components, you might need to set the flag Include in library in the dialog Options for Component - Properties to include source files and libraries used by the Software Component.

Note

  • If the library should be used for different devices, select a CPU listed under Generic in the Device Database.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.