CMSIS-Core (Cortex-A)  
CMSIS-Core support for Cortex-A processor-based devices
 
Loading...
Searching...
No Matches
Startup File startup_<device>.c

The Startup File startup_<device>.c contains:

  • Exception vectors of the Cortex-A Processor with weak functions that implement default routines.
  • The reset handler which is executed after CPU reset and typically calls the SystemInit function.
  • The setup values for the various stack pointers, i.e. per exceptional mode and main stack.

The file exists for each supported toolchain and is the only tool-chain specific CMSIS file.

startup_Device.c Template File

An Arm Compiler specific startup file for an Armv7-A processor like Cortex-A9 is shown below. The files for other compiler vendors differ slightly in the syntax, but not in the overall structure.