Keil Logo

Customization Files

The CARM Compiler provides a number of source files you may modify to adapt your target program to a specific hardware platform. These files contain:

  • Code that executes upon reset (STARTUP.S).
  • Code that performs low-level stream I/O.
  • Code for memory allocation.

The code contained in these files is already compiled or assembled and included in the C library. When you link your program, the code from the library is automatically included unless an object module with the same module is included in the project.

You may customize these files to adjust them to your requirements. If you use the µVision IDE, we recommend that you copy the customization file into your project folder to make modifications. The modified version of the file may be added to your project.

When you use the command-line tools, you must include the object files generated from the modified customization files on the linker command line. The following example shows you how to include custom replacement files for STARTUP.S and PUTCHAR.C:

  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.