Keil Logo

µVISION: C File Always Recompiled When Creating SRC Files


Information in this article applies to:

  • µVision Version 2.10

QUESTION

In µVision, when I select Create Assembler SRC File from the C File Options dialog, the C file is ALWAYS recompiled even if there are no changes. Is this necessary or required?

ANSWER

Yes. The C file must be recompiled each time because of the method µVision uses to track file dependencies. With the Keil compiler and assembler, file dependencies are stored in the .OBJ file. When you generate a .SRC file from a .C file, no .OBJ file is built. Therefore, the file dependency information is not generated. And, the C file must be recompiled each time you update the project.

Last Reviewed: Wednesday, January 20, 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.