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/STM32F1xx | |
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/STM32F1xx')
-rw-r--r-- | testhal/STM32/STM32F1xx/ADC/mcuconf.h | 4 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/CAN/mcuconf.h | 4 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/EXT/mcuconf.h | 4 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/I2C/mcuconf.h | 4 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h | 4 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h | 4 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/RTC/mcuconf.h | 4 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/SPI/mcuconf.h | 4 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/UART/mcuconf.h | 4 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h | 4 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h | 5 |
11 files changed, 45 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F1xx/ADC/mcuconf.h b/testhal/STM32/STM32F1xx/ADC/mcuconf.h index 8ee2548c4..0c5ed6d1f 100644 --- a/testhal/STM32/STM32F1xx/ADC/mcuconf.h +++ b/testhal/STM32/STM32F1xx/ADC/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define STM32F103_MCUCONF
/*
@@ -203,3 +206,4 @@ #define STM32_USB_USB1_HP_IRQ_PRIORITY 13
#define STM32_USB_USB1_LP_IRQ_PRIORITY 14
+#endif /* _MCUCONF_H_ */
diff --git a/testhal/STM32/STM32F1xx/CAN/mcuconf.h b/testhal/STM32/STM32F1xx/CAN/mcuconf.h index 9347a663d..529809537 100644 --- a/testhal/STM32/STM32F1xx/CAN/mcuconf.h +++ b/testhal/STM32/STM32F1xx/CAN/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define STM32F103_MCUCONF
/*
@@ -203,3 +206,4 @@ #define STM32_USB_USB1_HP_IRQ_PRIORITY 13
#define STM32_USB_USB1_LP_IRQ_PRIORITY 14
+#endif /* _MCUCONF_H_ */
diff --git a/testhal/STM32/STM32F1xx/EXT/mcuconf.h b/testhal/STM32/STM32F1xx/EXT/mcuconf.h index 8aba93855..3b4fea944 100644 --- a/testhal/STM32/STM32F1xx/EXT/mcuconf.h +++ b/testhal/STM32/STM32F1xx/EXT/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define STM32F103_MCUCONF
/*
@@ -203,3 +206,4 @@ #define STM32_USB_USB1_HP_IRQ_PRIORITY 13
#define STM32_USB_USB1_LP_IRQ_PRIORITY 14
+#endif /* _MCUCONF_H_ */
diff --git a/testhal/STM32/STM32F1xx/I2C/mcuconf.h b/testhal/STM32/STM32F1xx/I2C/mcuconf.h index 02cf605fe..6e7315afd 100644 --- a/testhal/STM32/STM32F1xx/I2C/mcuconf.h +++ b/testhal/STM32/STM32F1xx/I2C/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define STM32F103_MCUCONF
/*
@@ -203,3 +206,4 @@ #define STM32_USB_USB1_HP_IRQ_PRIORITY 13
#define STM32_USB_USB1_LP_IRQ_PRIORITY 14
+#endif /* _MCUCONF_H_ */
diff --git a/testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h index 95252053a..e1ce58eed 100644 --- a/testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h +++ b/testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define STM32F103_MCUCONF
/*
@@ -203,3 +206,4 @@ #define STM32_USB_USB1_HP_IRQ_PRIORITY 13
#define STM32_USB_USB1_LP_IRQ_PRIORITY 14
+#endif /* _MCUCONF_H_ */
diff --git a/testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h index ffe4505b9..900f2bd7f 100644 --- a/testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h +++ b/testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define STM32F103_MCUCONF
/*
@@ -203,3 +206,4 @@ #define STM32_USB_USB1_HP_IRQ_PRIORITY 13
#define STM32_USB_USB1_LP_IRQ_PRIORITY 14
+#endif /* _MCUCONF_H_ */
diff --git a/testhal/STM32/STM32F1xx/RTC/mcuconf.h b/testhal/STM32/STM32F1xx/RTC/mcuconf.h index 674f5b1c0..fc566a85a 100644 --- a/testhal/STM32/STM32F1xx/RTC/mcuconf.h +++ b/testhal/STM32/STM32F1xx/RTC/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License. */ +#ifndef _MCUCONF_H_ +#define _MCUCONF_H_ + #define STM32F103_MCUCONF /* @@ -203,3 +206,4 @@ #define STM32_USB_USB1_HP_IRQ_PRIORITY 13 #define STM32_USB_USB1_LP_IRQ_PRIORITY 14 +#endif /* _MCUCONF_H_ */ diff --git a/testhal/STM32/STM32F1xx/SPI/mcuconf.h b/testhal/STM32/STM32F1xx/SPI/mcuconf.h index 145428ceb..38136095f 100644 --- a/testhal/STM32/STM32F1xx/SPI/mcuconf.h +++ b/testhal/STM32/STM32F1xx/SPI/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define STM32F103_MCUCONF
/*
@@ -203,3 +206,4 @@ #define STM32_USB_USB1_HP_IRQ_PRIORITY 13
#define STM32_USB_USB1_LP_IRQ_PRIORITY 14
+#endif /* _MCUCONF_H_ */
diff --git a/testhal/STM32/STM32F1xx/UART/mcuconf.h b/testhal/STM32/STM32F1xx/UART/mcuconf.h index 2881ed758..fcb49ace8 100644 --- a/testhal/STM32/STM32F1xx/UART/mcuconf.h +++ b/testhal/STM32/STM32F1xx/UART/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define STM32F103_MCUCONF
/*
@@ -203,3 +206,4 @@ #define STM32_USB_USB1_HP_IRQ_PRIORITY 13
#define STM32_USB_USB1_LP_IRQ_PRIORITY 14
+#endif /* _MCUCONF_H_ */
diff --git a/testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h b/testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h index 2f28b5712..626332a6a 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define STM32F103_MCUCONF
/*
@@ -203,3 +206,4 @@ #define STM32_USB_USB1_HP_IRQ_PRIORITY 13
#define STM32_USB_USB1_LP_IRQ_PRIORITY 14
+#endif /* _MCUCONF_H_ */
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h index ed79607d0..8774d0c15 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define STM32F103_MCUCONF
/*
@@ -211,3 +214,5 @@ #define STM32_USB_OTG_THREAD_PRIO LOWPRIO
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
+
+#endif /* _MCUCONF_H_ */
|