Changed settings forces a full rebuild... Building configuration: ch - Debug Updating build tree... 65 file(s) deleted. Updating build tree... adc.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler board.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32f4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler can.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chcond.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chcore.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chcore_v7m.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chcoreasm_v7m.s chdebug.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chdynamic.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chevents.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chheap.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chmboxes.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chmemcore.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chmempools.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chmsg.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chmtx.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chqueues.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chregistry.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chschd.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chsem.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chsys.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chthreads.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chtm.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler chvt.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler cstartup.s ext.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler gpt.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler gpt_lld.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler hal.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler hal_lld.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler i2c.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler icu.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler mac.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler main.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler mmc_spi.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler nvic.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler pal.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler pal_lld.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler pwm.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler rtc.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler sdc.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler serial.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler serial_lld.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler serial_usb.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler spi.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler spi_lld.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler st.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler st_lld.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler stm32_dma.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler test.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler testbmk.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler testdyn.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler testevt.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler testheap.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler testmbox.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler testmsg.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler testmtx.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler testpools.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler testqueues.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler testsem.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler testthd.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler uart.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler usb.c Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 70 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\compilers\IAR\chtypes.h 102 rule 96) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 71 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 422 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 434 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 442 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 452 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 461 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 468 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 477 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\chconf.h 486 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 72 87) Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\hal\boards\ST_STM32F4_DISCOVERY\board.h 230 rule 96) Error[Pm009]: symbol has the same initial 31 characters as macro "__STM32F4XX_STDPERIPH_VERSION_SUB1" (declared at line C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 142 141) - identifiers (internal and external) shall not rely on significance of more than 31 characters (MISRA C 1998 rule 11) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 462 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 463 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 464 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\ext\CMSIS\ST\stm32f4xx.h 9134 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 238 87) Error[Pm013]: same name as type "s8" (declared at line 472 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 232 ..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm013]: same name as type "s16" (declared at line 471 of "C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\iar\..\..\ C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 247 ..\..\..\os\ext\CMSIS\ST\stm32f4xx.h") - typedef names shall not be reused (MISRA C 1998 rule 17) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 285 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 307 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 314 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 321 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 328 rule 96) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 Error[Pm154]: in the definition of a function-like macro, each instance of a parameter shall be enclosed in parenthesis (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 341 rule 96) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore_v7m.h 421 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\ports\ARMCMx\chcore.h 245 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 155 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 250 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\testhal\STM32\STM32F4xx\IRQ_STORM\mcuconf.h 291 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 128 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 142 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 143 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 144 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 154 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 166 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 178 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\hal\ports\STM32\LLD\TIMv1\st_lld.h 192 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 69 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\hal\include\st.h 80 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 73 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 139 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 140 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 141 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 142 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 143 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 144 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 145 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 146 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 147 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 148 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 149 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 150 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 151 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 157 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 175 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chdebug.h 196 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 74 87) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 75 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 95 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 96 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 97 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 98 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 99 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chstats.h 100 Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 76 87) Warning[Pe301]: typedef name has already been declared (with same type) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 76 Error[Pm012]: the type char shall always be declared as unsigned char or signed char (MISRA C 1998 rule 14) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 137 Error[Pm093]: use of union - overlapping storage shall not be used (MISRA C 1998 rule 109) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 177 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 436 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 446 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 456 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 466 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 476 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 486 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 507 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 510 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 518 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 526 Error[Pm038]: type casting from any type to or from pointers shall not be used (MISRA C 1998 rule 45) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 533 Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 554 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 556 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 568 rule 54) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 113) Error[Pm075]: the type of this expression is "int", but the function has return type "_Bool" - for functions with non-void return types: (1) C:\stuff\ChibiOS_3\os\rt\include\chschd.h 570 there shall be one return statement for every exit branch (including the end of the program), (2) each return shall have an expression, (3) the return expression shall match the declared return type (MISRA C 1998 rule 83) Error[Pm050]: a null statement shall only occur on a line by itself, and shall not have any other text on the same line (MISRA C 1998 C:\stuff\ChibiOS_3\os\rt\include\chschd.h 582 rule 54) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 585 braces (MISRA C 1998 rule 59) Error[Pm097]: all the members of a structure (or union) shall be named and shall only be accessed via their name (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\chschd.h 596 113) Error[Pm055]: the statement forming the body of an if, else if, else, while, do ... while, or for statement shall always be enclosed in C:\stuff\ChibiOS_3\os\rt\include\chschd.h 610 braces (MISRA C 1998 rule 59) Error[Pm077]: #include statements in a file shall only be preceded by other preprocessor directives or comments (MISRA C 1998 rule C:\stuff\ChibiOS_3\os\rt\include\ch.h 77 87) Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 63 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 76 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 86 Error[Pm084]: in the definition of a function-like macro, the whole definition shall be enclosed in parenthesis (MISRA C 1998 rule 96) C:\stuff\ChibiOS_3\os\rt\include\chsys.h 100 Error limit reached Error while running C/C++ Compiler vectors.s Total number of errors: 6100 Total number of warnings: 61