Keil Logo

µVISION: Generating More Than One Library


Information in this article applies to:

  • Keil µVision IDE

QUESTION

Is it possible to generate more than one library using a single µVision project?

Can a library be both generated and used in the same µVision project?

ANSWER

A µVision project can only generate one library.
You cannot generate a library and use it in the same project because linking only occurs once per project and this would require two links.

For different libraries you usually require different source files, which logically means a different µVision project. You may always use conditional compilation to produce variations on a library using a single project.

Instead, create a multi-project workspace. Have the first project create the library, and the next project use that library. Do a batch build to build them all at once.

MORE INFORMATION

SEE ALSO

Last Reviewed: Thursday, February 11, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  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.