Keil Logo

Configure Startup Code

The Startup Code initializes the microcontroller and has to match the configuration of the hardware design. Typically, the startup code resides in a file named startup_device_family.s. Some devices might also use a file named system_device_family.c. Startup files should be copied to the project folder. For devices supported by Software Packs, the startup files are located in the group Device.

Though the default settings are a good starting point, adaptation might be needed. For example, the CPU/PLL clock and the BUS system are target specific and cannot be configured automatically.

Open the file in the editor. Most startup files include special comments for the Configuration Wizard providing GUI-like controls to set values.

The tab Text Editor switches to the standard editor view.

Related Knowledgebase Articles

  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.