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/STM32F1xx/cmparams.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'os/common/startup/ARMCMx/devices/STM32F1xx') diff --git a/os/common/startup/ARMCMx/devices/STM32F1xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32F1xx/cmparams.h index b54f872f5..9f934fc1e 100644 --- a/os/common/startup/ARMCMx/devices/STM32F1xx/cmparams.h +++ b/os/common/startup/ARMCMx/devices/STM32F1xx/cmparams.h @@ -72,6 +72,8 @@ assembler source files. We verify that the info matches instead.*/ #include "stm32f1xx.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 @@ -79,6 +81,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