diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-03 10:02:55 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-03 10:02:55 +0000 |
commit | 3d1a86e9fb0b9495a726dab534e97c063b5f368b (patch) | |
tree | b4f2ee8b71ba6682cb897553ba0df9f7376f1562 /testhal/STM32/STM32F37x | |
parent | 390fbb5acfe140fa4b65eac5180ae726381d3b4f (diff) | |
download | ChibiOS-3d1a86e9fb0b9495a726dab534e97c063b5f368b.tar.gz ChibiOS-3d1a86e9fb0b9495a726dab534e97c063b5f368b.tar.bz2 ChibiOS-3d1a86e9fb0b9495a726dab534e97c063b5f368b.zip |
MISRA-related fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7710 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F37x')
-rw-r--r-- | testhal/STM32/STM32F37x/ADC/mcuconf.h | 5 | ||||
-rw-r--r-- | testhal/STM32/STM32F37x/CAN/mcuconf.h | 5 | ||||
-rw-r--r-- | testhal/STM32/STM32F37x/EXT/mcuconf.h | 5 | ||||
-rw-r--r-- | testhal/STM32/STM32F37x/I2C/mcuconf.h | 5 | ||||
-rw-r--r-- | testhal/STM32/STM32F37x/IRQ_STORM/mcuconf.h | 5 | ||||
-rw-r--r-- | testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h | 5 | ||||
-rw-r--r-- | testhal/STM32/STM32F37x/SDADC/mcuconf.h | 5 | ||||
-rw-r--r-- | testhal/STM32/STM32F37x/SPI/mcuconf.h | 5 | ||||
-rw-r--r-- | testhal/STM32/STM32F37x/UART/mcuconf.h | 5 | ||||
-rw-r--r-- | testhal/STM32/STM32F37x/USB_CDC/mcuconf.h | 5 |
10 files changed, 50 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F37x/ADC/mcuconf.h b/testhal/STM32/STM32F37x/ADC/mcuconf.h index a37f95252..6b7ab783b 100644 --- a/testhal/STM32/STM32F37x/ADC/mcuconf.h +++ b/testhal/STM32/STM32F37x/ADC/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* STM32F30x drivers configuration.
* The following settings override the default settings present in
@@ -213,3 +216,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/STM32F37x/CAN/mcuconf.h b/testhal/STM32/STM32F37x/CAN/mcuconf.h index 73b11f22e..e1ff110cd 100644 --- a/testhal/STM32/STM32F37x/CAN/mcuconf.h +++ b/testhal/STM32/STM32F37x/CAN/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* STM32F30x drivers configuration.
* The following settings override the default settings present in
@@ -213,3 +216,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/STM32F37x/EXT/mcuconf.h b/testhal/STM32/STM32F37x/EXT/mcuconf.h index 73b11f22e..e1ff110cd 100644 --- a/testhal/STM32/STM32F37x/EXT/mcuconf.h +++ b/testhal/STM32/STM32F37x/EXT/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* STM32F30x drivers configuration.
* The following settings override the default settings present in
@@ -213,3 +216,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/STM32F37x/I2C/mcuconf.h b/testhal/STM32/STM32F37x/I2C/mcuconf.h index 923616c2a..8dc120ca3 100644 --- a/testhal/STM32/STM32F37x/I2C/mcuconf.h +++ b/testhal/STM32/STM32F37x/I2C/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* STM32F30x drivers configuration.
* The following settings override the default settings present in
@@ -213,3 +216,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/STM32F37x/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32F37x/IRQ_STORM/mcuconf.h index 52068c622..9cdb68d23 100644 --- a/testhal/STM32/STM32F37x/IRQ_STORM/mcuconf.h +++ b/testhal/STM32/STM32F37x/IRQ_STORM/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* STM32F30x drivers configuration.
* The following settings override the default settings present in
@@ -213,3 +216,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/STM32F37x/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h index bb76bdb0b..2b3aa982e 100644 --- a/testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h +++ b/testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* STM32F30x drivers configuration.
* The following settings override the default settings present in
@@ -213,3 +216,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/STM32F37x/SDADC/mcuconf.h b/testhal/STM32/STM32F37x/SDADC/mcuconf.h index c30ef476d..2aab37104 100644 --- a/testhal/STM32/STM32F37x/SDADC/mcuconf.h +++ b/testhal/STM32/STM32F37x/SDADC/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* STM32F30x drivers configuration.
* The following settings override the default settings present in
@@ -213,3 +216,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/STM32F37x/SPI/mcuconf.h b/testhal/STM32/STM32F37x/SPI/mcuconf.h index 02daa11c9..5c39bd13c 100644 --- a/testhal/STM32/STM32F37x/SPI/mcuconf.h +++ b/testhal/STM32/STM32F37x/SPI/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* STM32F30x drivers configuration.
* The following settings override the default settings present in
@@ -213,3 +216,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/STM32F37x/UART/mcuconf.h b/testhal/STM32/STM32F37x/UART/mcuconf.h index e747f3f3f..15fc5e3fe 100644 --- a/testhal/STM32/STM32F37x/UART/mcuconf.h +++ b/testhal/STM32/STM32F37x/UART/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* STM32F30x drivers configuration.
* The following settings override the default settings present in
@@ -213,3 +216,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/STM32F37x/USB_CDC/mcuconf.h b/testhal/STM32/STM32F37x/USB_CDC/mcuconf.h index f067de293..9b67e0eb6 100644 --- a/testhal/STM32/STM32F37x/USB_CDC/mcuconf.h +++ b/testhal/STM32/STM32F37x/USB_CDC/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* STM32F30x drivers configuration.
* The following settings override the default settings present in
@@ -213,3 +216,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_ */
|