Keil Logo

Special Sections

There are several special features of some sections:

  • Sections that contain a 0 in the section name prefix or class name are cleared to zero by the startup code.
  • The ?C_MEMCLRSEC section is generated by the L166 Linker. It contains the address ranges of the memory that is cleared to zero.
  • The ?C_INITSEC section contains initialization data for global and static objects that are initialized to a value other than zero.
  • The ?C_STARTUP_CODE section contains the startup code that initializes the MCU. This code is executed before the main C function is called. If you use on-chip ROM, the startup code must be located there and must be assigned the ICODE class.
  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.