From 3d1a86e9fb0b9495a726dab534e97c063b5f368b Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 3 Mar 2015 10:02:55 +0000 Subject: MISRA-related fixes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7710 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32L1xx/ADC/mcuconf.h | 5 +++++ testhal/STM32/STM32L1xx/EXT/mcuconf.h | 5 +++++ testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h | 5 +++++ testhal/STM32/STM32L1xx/PWM-ICU/mcuconf.h | 5 +++++ testhal/STM32/STM32L1xx/SPI/mcuconf.h | 5 +++++ testhal/STM32/STM32L1xx/UART/mcuconf.h | 5 +++++ 6 files changed, 30 insertions(+) (limited to 'testhal/STM32/STM32L1xx') diff --git a/testhal/STM32/STM32L1xx/ADC/mcuconf.h b/testhal/STM32/STM32L1xx/ADC/mcuconf.h index 2e3ff75cd..8e8ad55d6 100644 --- a/testhal/STM32/STM32L1xx/ADC/mcuconf.h +++ b/testhal/STM32/STM32L1xx/ADC/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License. */ +#ifndef _MCUCONF_H_ +#define _MCUCONF_H_ + /* * STM32L1xx drivers configuration. * The following settings override the default settings present in @@ -175,3 +178,5 @@ #define STM32_USB_LOW_POWER_ON_SUSPEND FALSE #define STM32_USB_USB1_HP_IRQ_PRIORITY 13 #define STM32_USB_USB1_LP_IRQ_PRIORITY 14 + +#endif /* _MCUCONF_H_ */ diff --git a/testhal/STM32/STM32L1xx/EXT/mcuconf.h b/testhal/STM32/STM32L1xx/EXT/mcuconf.h index e2ebd4cf6..3d58651cb 100644 --- a/testhal/STM32/STM32L1xx/EXT/mcuconf.h +++ b/testhal/STM32/STM32L1xx/EXT/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License. */ +#ifndef _MCUCONF_H_ +#define _MCUCONF_H_ + /* * STM32L1xx drivers configuration. * The following settings override the default settings present in @@ -175,3 +178,5 @@ #define STM32_USB_LOW_POWER_ON_SUSPEND FALSE #define STM32_USB_USB1_HP_IRQ_PRIORITY 13 #define STM32_USB_USB1_LP_IRQ_PRIORITY 14 + +#endif /* _MCUCONF_H_ */ diff --git a/testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h index fcf9570ac..ac6101480 100644 --- a/testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h +++ b/testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License. */ +#ifndef _MCUCONF_H_ +#define _MCUCONF_H_ + /* * STM32L1xx drivers configuration. * The following settings override the default settings present in @@ -175,3 +178,5 @@ #define STM32_USB_LOW_POWER_ON_SUSPEND FALSE #define STM32_USB_USB1_HP_IRQ_PRIORITY 13 #define STM32_USB_USB1_LP_IRQ_PRIORITY 14 + +#endif /* _MCUCONF_H_ */ diff --git a/testhal/STM32/STM32L1xx/PWM-ICU/mcuconf.h b/testhal/STM32/STM32L1xx/PWM-ICU/mcuconf.h index 973354698..5003974ef 100644 --- a/testhal/STM32/STM32L1xx/PWM-ICU/mcuconf.h +++ b/testhal/STM32/STM32L1xx/PWM-ICU/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License. */ +#ifndef _MCUCONF_H_ +#define _MCUCONF_H_ + /* * STM32L1xx drivers configuration. * The following settings override the default settings present in @@ -175,3 +178,5 @@ #define STM32_USB_LOW_POWER_ON_SUSPEND FALSE #define STM32_USB_USB1_HP_IRQ_PRIORITY 13 #define STM32_USB_USB1_LP_IRQ_PRIORITY 14 + +#endif /* _MCUCONF_H_ */ diff --git a/testhal/STM32/STM32L1xx/SPI/mcuconf.h b/testhal/STM32/STM32L1xx/SPI/mcuconf.h index 8db3cd8a4..9d2fbed1d 100644 --- a/testhal/STM32/STM32L1xx/SPI/mcuconf.h +++ b/testhal/STM32/STM32L1xx/SPI/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License. */ +#ifndef _MCUCONF_H_ +#define _MCUCONF_H_ + /* * STM32L1xx drivers configuration. * The following settings override the default settings present in @@ -175,3 +178,5 @@ #define STM32_USB_LOW_POWER_ON_SUSPEND FALSE #define STM32_USB_USB1_HP_IRQ_PRIORITY 13 #define STM32_USB_USB1_LP_IRQ_PRIORITY 14 + +#endif /* _MCUCONF_H_ */ diff --git a/testhal/STM32/STM32L1xx/UART/mcuconf.h b/testhal/STM32/STM32L1xx/UART/mcuconf.h index c531da11f..e23832a62 100644 --- a/testhal/STM32/STM32L1xx/UART/mcuconf.h +++ b/testhal/STM32/STM32L1xx/UART/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License. */ +#ifndef _MCUCONF_H_ +#define _MCUCONF_H_ + /* * STM32L1xx drivers configuration. * The following settings override the default settings present in @@ -175,3 +178,5 @@ #define STM32_USB_LOW_POWER_ON_SUSPEND FALSE #define STM32_USB_USB1_HP_IRQ_PRIORITY 13 #define STM32_USB_USB1_LP_IRQ_PRIORITY 14 + +#endif /* _MCUCONF_H_ */ -- cgit v1.2.3