Keil Logo

C166: Customizing the Startup Code


Information in this article applies to:

  • C166 All Versions

QUESTION

I need to customize the startup routines that the compiler adds to my program. Can you tell me how to do this?

ANSWER

The startup code is provided in the \KEIL\C166\LIB\ folder. The files STARTUP.A66 and START167.A66 are the startup code for the C166 and C167 (and other derivatives) respectively.

Copy the relevent file into your project directory, add it to your project and modify it as needed. You will find that there are a number of DEFINED variables at the top of the file that make configuration easy

MORE INFORMATION


Last Reviewed: Thursday, February 25, 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.