From 1474f60da3ac5bf5bc04eddfea7e3d41b1932658 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 5 Feb 2017 14:10:07 +0000 Subject: MISRA-related fixes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10084 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'os/common/startup/ARMCMx/devices/STM32F7xx') diff --git a/os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h index 8fc73be10..e0bc65466 100644 --- a/os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h +++ b/os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h @@ -66,6 +66,8 @@ assembler source files. We verify that the info matches instead.*/ #include "stm32f7xx.h" +/*lint -save -e9029 [10.4] Signedness comes from external files, it is + unpredictable but gives no problems.*/ #if CORTEX_MODEL != __CORTEX_M #error "CMSIS __CORTEX_M mismatch" #endif @@ -77,6 +79,7 @@ #if CORTEX_PRIORITY_BITS != __NVIC_PRIO_BITS #error "CMSIS __NVIC_PRIO_BITS mismatch" #endif +/*lint -restore*/ #endif /* !defined(_FROM_ASM_) */ -- cgit v1.2.3