From 9f95ff5b6ba01db09552b84a0ab79607060a2666 Mon Sep 17 00:00:00 2001 From: Ali Labbene Date: Wed, 11 Dec 2019 08:59:21 +0100 Subject: Official ARM version: v5.4.0 Add CMSIS V5.4.0, please refer to index.html available under \docs folder. Note: content of \CMSIS\Core\Include has been copied under \Include to keep the same structure used in existing projects, and thus avoid projects mass update Note: the following components have been removed from ARM original delivery (as not used in ST packages) - CMSIS_EW2018.pdf - .gitattributes - .gitignore - \Device - \CMSIS - \CoreValidation - \DAP - \Documentation - \DoxyGen - \Driver - \Pack - \RTOS\CMSIS_RTOS_Tutorial.pdf - \RTOS\RTX - \RTOS\Template - \RTOS2\RTX - \Utilities - All ARM/GCC projects files are deleted from \DSP, \RTOS and \RTOS2 Change-Id: Ia026c3f0f0d016627a4fb5a9032852c33d24b4d3 --- .../html/_c_o_r_e__m_i_s_r_a__exceptions_pg.html | 167 --------------------- 1 file changed, 167 deletions(-) delete mode 100644 Documentation/Core/html/_c_o_r_e__m_i_s_r_a__exceptions_pg.html (limited to 'Documentation/Core/html/_c_o_r_e__m_i_s_r_a__exceptions_pg.html') diff --git a/Documentation/Core/html/_c_o_r_e__m_i_s_r_a__exceptions_pg.html b/Documentation/Core/html/_c_o_r_e__m_i_s_r_a__exceptions_pg.html deleted file mode 100644 index 9386291..0000000 --- a/Documentation/Core/html/_c_o_r_e__m_i_s_r_a__exceptions_pg.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - -MISRA-C:2004 Compliance Exceptions -CMSIS-CORE: MISRA-C:2004 Compliance Exceptions - - - - - - - - - - - - - - - -
-
- - - - - - - -
-
CMSIS-CORE -  Version 4.30 -
-
CMSIS-CORE support for Cortex-M processor-based devices
-
-
- -
-
    - -
-
- - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
MISRA-C:2004 Compliance Exceptions
-
-
-

CMSIS-CORE uses the common coding rules for CMSIS components that are documented under Introduction.

-

CMSIS-CORE violates the following MISRA-C:2004 rules:

-
    -
  • Required Rule 8.5, object/function definition in header file.
    - Violated since function definitions in header files are used for function inlining'.
  • -
-
    -
  • Advisory Rule 12.4, Side effects on right hand side of logical operator.
    - Violated because volatile is used for core register definitions.
  • -
-
    -
  • Advisory Rule 14.7, Return statement before end of function.
    - Violated to simplify code logic.
  • -
-
    -
  • Required Rule 18.4, declaration of union type or object of union type: '{...}'.
    - Violated since unions are used for effective representation of core registers.
  • -
-
    -
  • Advisory Rule 19.4, Disallowed definition for macro.
    - Violated since macros are used for assembler keywords.
  • -
-
    -
  • Advisory Rule 19.7, Function-like macro defined.
    - Violated since function-like macros are used to generate more efficient code.
  • -
-
    -
  • Advisory Rule 19.16, all preprocessing directives must be valid.
    - Violated to set default settings for macros.
  • -
-

<device>.h files generated by SVDConv.exe violate the following MISRA-C:2004 rules:

-
    -
  • Advisory Rule 20.2, Re-use of C90 identifier pattern.
    - Violated since CMSIS macros begin with '__'. Since CMSIS is developed and verified with various compilers this approach is acceptable and avoids conflicts with user symbols.
  • -
-
    -
  • Advisory Rule 19.1, Declaration before #include.
    - Violated since Interrupt Number Definition Type (IRQn_Type) must be defined before including the core header file.
  • -
-
-
- - - - -- cgit