/**************************************************************************************************/ /** \mainpage Introduction The Cortex Microcontroller Software Interface Standard (CMSIS) is a vendor-independent hardware abstraction layer for the Cortex®-M processor series and defines generic tool interfaces. The CMSIS enables consistent device support and simple software interfaces to the processor and the peripherals, simplifying software re-use, reducing the learning curve for microcontroller developers, and reducing the time to market for new devices. The CMSIS is defined in close cooperation with various silicon and software vendors and provides a common approach to interface to peripherals, real-time operating systems, and middleware components. The CMSIS is intended to enable the combination of software components from multiple middleware vendors. CMSIS Version 5 supports also the ARMv8-M architecture including TrustZone® for ARMv8-M hardware security extensions and the Cortex-M23 and Cortex-M33 processors. \anchor CM_Components The CMSIS components are: - CMSIS-Core (Cortex-M): API for the Cortex-M processor core and peripherals. It provides a standardized interface for Cortex-M0, Cortex-M0+, Cortex-M3, Cortex-M4, Cortex-M7, Cortex-M23, Cortex-M33, SC000, and SC300. Also included are SIMD intrinsic functions for Cortex-M4, Cortex-M7, and Cortex-M33 SIMD instructions. - CMSIS-Core (Cortex-A): API and basic run-time system for the Cortex-A5/A7/A9 processor core and peripherals. - CMSIS-Driver: defines generic peripheral driver interfaces for middleware making it reusable across supported devices. The API is RTOS independent and connects microcontroller peripherals with middleware that implements for example communication stacks, file systems, or graphic user interfaces. - CMSIS-DSP: DSP Library Collection with over 60 Functions for various data types: fixed-point (fractional q7, q15, q31) and single precision floating-point (32-bit). The library is available for all Cortex-M cores. Implementations that are optimized for the SIMD instruction set are available for Cortex-M4, Cortex-M7, and Cortex-M33. - CMSIS-RTOS v1: Common API for Real-Time Operating Systems along with reference implementation based on RTX. It provides a standardized programming interface that is portable to many RTOS and enables software components that can work across multiple RTOS systems. - CMSIS-RTOS v2: extends CMSIS-RTOS v1 with support for ARMv8-M architecture, dynamic object creation, provisions for multi-core systems, and binary compatible interface across ABI compliant compilers. - CMSIS-Pack: describes with an XML-based package description (PDSC) file the user and device relevant parts of a file collection (called a software pack) that includes source, header and library files, documentation, Flash programming algorithms, source code templates, and example projects. Development tools and web infrastructures use the PDSC file to extract device parameters, software components, and evaluation board configurations. - CMSIS-SVD: System View Description for Peripherals. Describes the peripherals of a device in an XML file and can be used to create peripheral awareness in debuggers or header files with peripheral register and interrupt definitions. - CMSIS-DAP: Debug Access Port. Standardized firmware for a Debug Unit that connects to the CoreSight Debug Access Port. CMSIS-DAP is distributed as a separate package and is well suited for integration on evaluation boards. This component is provided as separate download. - CMSIS-Zone: System resource definition and partitioning. Defines methods to describe system resources and to partition these resources into multiple projects and execution areas. \note Refer to \ref CM_Pack_Content for more information on the content of the Software Pack. \image html CMSISv4_small.png "CMSIS Structure" \section Motivation Motivation CMSIS has been created to help the industry in standardization. It enables consistent software layers and device support across a wide range of development tools and microcontrollers. CMSIS is not a huge software layer that introduces overhead and does not define standard peripherals. The silicon industry can therefore support the wide variations of Cortex-M processor-based devices with this common standard. In detail the benefits of the CMSIS are: - Overall CMSIS reduces the learning curve, development costs, and time-to-market. Developers can write software quicker through a variety of easy-to-use, standardized software interfaces. - Consistent software interfaces improve the software portability and re-usability. Generic software libraries and interfaces provide consistent software framework. - Provides interfaces for debug connectivity, debug peripheral views, software delivery, and device support to reduce time-to-market for new microcontroller deployment. - Provides a compiler independent layer that allows using different compilers. CMSIS is supported by mainstream compilers. - Enhances program debugging with peripheral information for debuggers and ITM channels for printf-style output and RTOS kernel awareness. - CMSIS is delivered in CMSIS-Pack format which enables fast software delivery, simplifies updates, and enables consistent integration into development tools. - CMSIS-Zone will simplify system resource and partitioning as it manages the configuration of multiple processors, memory areas, and peripherals. \section CodingRules Coding Rules The CMSIS uses the following essential coding rules and conventions: - Compliant with ANSI C and C++. - Uses ANSI C standard data types defined in \b . - Variables and parameters have a complete data type. - Expressions for \em \#define constants are enclosed in parenthesis. - Conforms to MISRA 2012 (but does not claim MISRA compliance). MISRA rule violations are documented. In addition, the CMSIS recommends the following conventions for identifiers: - \b CAPITAL names to identify Core Registers, Peripheral Registers, and CPU Instructions. - \b CamelCase names to identify function names and interrupt functions. - \b Namespace_ prefixes avoid clashes with user identifiers and provide functional groups (i.e. for peripherals, RTOS, or DSP Library). The CMSIS is documented within the source files with: \li Comments that use the C or C++ style. \li Doxygen compliant function comments that provide: - brief function overview. - detailed description of the function. - detailed parameter explanation. - detailed information about return values. Doxygen comment example: \verbatim /** * @brief Enable Interrupt in NVIC Interrupt Controller * @param IRQn interrupt number that specifies the interrupt * @return none. * Enable the specified interrupt in the NVIC Interrupt Controller. * Other settings of the interrupt such as priority are not affected. */ \endverbatim \section Validation Validation The various components of CMSIS Version 5 are validated using mainstream compilers. To get a diverse coverage, ARM uses the ARM Compiler v5 (based on EDG front-end), the ARM Compiler v6 (based on LLVM front-end), and the GCC Compiler in the various tests. For each component, the section \b "Validation" describes the scope of the various verifications. CMSIS components are compatible with a range of C and C++ language standards. The CMSIS components comply with the Application Binary Interface (ABI) for the ARM Architecture (exception CMSIS-RTOS v1). This ensures C API interfaces that support inter-operation between various toolchains. As CMSIS defines API interfaces and functions that scale to a wide range of processors and devices, the scope of the run-time test coverage is limited. However, several components are validated using dedicated test suites. The CMSIS source code is checked for MISRA C:2012 conformance using PC-Lint. MISRA deviations are documented with reasonable effort, however ARM does not claim MISRA compliance as there is today for example no guideline enforcement plan. The CMSIS source code is not checked for MISRA C++:2008 conformance as there is a risk that it is incompatible with C language standards, specifically warnings that may be generated by the various C compilers. \section License License The CMSIS is provided free of charge by ARM under Apache 2.0 license. View the Apache 2.0 License. \section CM_Pack_Content ARM::CMSIS Pack The ARM::CMSIS Pack contains the following: File/Directory |Content :-----------------|:--------------------------------------------------------------------------------- \b ARM.CMSIS.pdsc |Package description file in CMSIS-Pack format. \b LICENSE.txt |CMSIS License Agreement (Apache 2.0) \b CMSIS |\ref CM_Components "CMSIS components" (see below) \b Device |CMSIS reference implementations of ARM Cortex-M processor based devices CMSIS Directory --------------- Directory |Content :-------------------------|:---------------------------------------------------------------------------------------------------------------------------------------- \b Documentation |This documentation \b Core |User code templates for CMSIS-Core (Cortex-M) related files, referenced in ARM.CMSIS.PDSC \b Core_A |User code templates for CMSIS-Core (Cortex-A) related files, referenced in ARM.CMSIS.PDSC \b DAP |CMSIS-DAP Debug Access Port source code and reference implementations \b Driver |Header files for the CMSIS-Driver peripheral interface API \b DSP_Lib |CMSIS-DSP software library source code \b Include |Include files for CMSIS-Core (Cortex-M) and CMSIS-DSP \b Lib |CMSIS-DSP generated libraries for ARMCC and GCC \b Pack |CMSIS-Pack example \b RTOS |CMSIS-RTOS Version 1 along with RTX reference implementation \b RTOS2 |CMSIS-RTOS Version 2 along with RTX reference implementation \b SVD |CMSIS-SVD example \b Utilities |PACK.xsd (CMSIS-Pack schema file), PackChk.exe (checking tool for software packs), \n CMSIS-SVD.xsd (CMSIS-SVD schema file), SVDConv.exe (conversion tool for SVD files)
*/ /*=======0=========1=========2=========3=========4=========5=========6=========7=========8=========9=========0=========1====*/ /** \page cm_revisionHistory Revision History The following table shows the overall high-level history of the various CMSIS releases. In addition, each CMSIS component has its own release history: - CMSIS-Core (Cortex-M) Revision History - CMSIS-Core (Cortex-A) Revision History - Driver Revision History - DSP Revision History (Change Log) - RTOS v1 Revision History - RTOS v2 Revision History - Pack Revision History - SVD Revision History - DAP Revision History - Zone Revision History
Version Description
5.1.0 - CMSIS-Core (Cortex-M) 5.0.2 several minor corrections and enhancements - CMSIS-Core (Cortex-A) 1.0.0 implements a basic run-time system for Cortex-A5/A7/A9 - CMSIS-Driver 2.05 status typedef made volatile - CMSIS-DSP 1.5.2 fixed GNU Compiler specific diagnostics - CMSIS-RTOS 2.1.1 added support for Cortex-A5/A7/A9 to RTX5 - CMSIS-PACK 1.5.0 added SDF format specification - CMSIS-SVD 1.3.3 (unchanged) - CMSIS-DAP 1.1.0 (unchanged) - CMSIS-Zone 0.0.1 (Preview) format to describe system resources and tool for partitioning of resources
5.0.1 - CMSIS-Core 5.0.1 added __PACKED_STRUCT macro and uVisor support - CMSIS-Driver 2.05 updated all typedefs related to status now being volatile. - CMSIS-DSP 1.5.1 added ARMv8M DSP libraries - CMSIS-RTOS 2.1.0 added support for critical and uncritical sections - CMSIS-PACK 1.4.8 add Pack Index File specification - CMSIS-SVD 1.3.3 (unchanged) - CMSIS-DAP 1.1.0 (unchanged)
5.0.0 Added support for: ARMv8-M architecture including TrustZone for ARMv8-M and Cortex-M23, Cortex-M33 processors - CMSIS-Core (Cortex-M) 5.0.0 added support for ARMv8-M and Cortex-M23, Cortex-M33 processors - CMSIS-Driver 2.04.0 (unchanged) - CMSIS-DSP 1.4.9 minor corrections and performance improvements - CMSIS-RTOS 2.0.0 new API with RTX 5.0.0 reference implementation and corrections in RTX 4.8.2 - CMSIS-PACK 1.4.4 introducing CPDSC project description - CMSIS-SVD 1.3.3 several enhancements and rework of documentation - CMSIS-DAP 1.1.0 (unchanged)
4.5.0 Maintenance release that is fixing defects. See component's revision history for more details. See component's revision history for more details. - CMSIS-Core (Cortex-M) 4.30.0 - CMSIS-DAP 1.1.0 (unchanged) - CMSIS-Driver 2.04.0 - CMSIS-DSP 1.4.7 - CMSIS-PACK 1.4.1 - CMSIS-RTOS RTX 4.80.0 - CMSIS-SVD 1.3.1
4.4.0 Feature release adding CMSIS-DAP (see extended End User Licence Agreement) and CMSIS-Driver for CAN. See component's revision history for more details. - CMSIS-Core (Cortex-M) 4.20.0 - CMSIS-DAP 1.1.0 - CMSIS-Driver 2.03.0 - CMSIS-DSP 1.4.5 (unchanged) - CMSIS-RTOS RTX 4.79.0 - CMSIS-PACK 1.4.0 - CMSIS-SVD 1.3.0
4.3.0 Maintenance release adding SAI CMSIS-Driver and fixing defects. See component's revision history for more details. - CMSIS-Core (Cortex-M) 4.10.0 - CMSIS-Driver 2.02.0 - CMSIS-DSP 1.4.5 - CMSIS-RTOS RTX 4.78.0 - CMSIS-PACK 1.3.3 - CMSIS-SVD (unchanged)
4.2 Introducing processor support for Cortex-M7.
4.1 Enhancements in CMSIS-Pack and CMSIS-Driver.\n Added: PackChk validation utility\n Removed support for GNU: Sourcery G++ Lite Edition for ARM
4.0 First release in CMSIS-Pack format.\n Added specifications for CMSIS-Pack, CMSIS-Driver
3.30 Maintenance release with enhancements in each component
3.20 Maintenance release with enhancements in each component
3.01 Added support for Cortex-M0+ processors
3.00 Added support for SC000 and SC300 processors\n Added support for GNU GCC Compiler\n Added CMSIS-RTOS API
2.10 Added CMSIS-DSP Library
2.0 Added support for Cortex-M4 processor
1.30 Reworked CMSIS startup concept
1.01 Added support for Cortex-M0 processor
1.00 Initial release of CMSIS-Core (Cortex-M) for Cortex-M3 processor
*/