CMSIS-Core (Cortex-A)
Version 1.1.4
CMSIS-Core support for Cortex-A processor-based devices
|
To use the CMSIS-Core-A the following files are added to the embedded application:
The Reset_Handler defined in Startup File startup_<device>.c is executed after reset. The default initialization sequence is
After the system initialization control is transferred to the C/C++ run-time library which performs initialization and calls the main function in the user code. In addition the Startup File startup_<device>.c contains a weak default handler implementation for every exception. It may also contain stack and heap configurations for the user application.
The System Configuration Files system_<device>.c and system_<device>.h performs the setup for the processor clock and the initialization of memory caches, memory management unit, generic interrupt interface and floating point unit. The variable SystemCoreClock indicates the CPU clock speed. System and Clock Configuration describes the minimum feature set. In addition the file may contain functions for the memory bus setup and clock re-configuration.
The Device Header File <device.h> is the central include file that the application programmer is using in the C/C++ source code. It provides the following features:
CMSIS-Pack provides the #define CMSIS_header_file in RTE_Components.h which gives you access to this device.h file.
The CMSIS-Core-A user files are device specific. In addition, the Startup File startup_<device>.c is also compiler vendor specific. The various compiler vendor tool chains may provide folders that contain the CMSIS files for each supported device.
Thereafter, the functions described under Reference can be used in the application.
Examples