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 /demos/SPC5 | |
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 'demos/SPC5')
-rw-r--r-- | demos/SPC5/NIL-SPC560D-EVB/mcuconf.h | 5 | ||||
-rw-r--r-- | demos/SPC5/RT-SPC560B-EVB/mcuconf.h | 5 | ||||
-rw-r--r-- | demos/SPC5/RT-SPC560D-EVB/mcuconf.h | 5 | ||||
-rw-r--r-- | demos/SPC5/RT-SPC560P-EVB/mcuconf.h | 5 | ||||
-rw-r--r-- | demos/SPC5/RT-SPC563M-EVB/mcuconf.h | 5 | ||||
-rw-r--r-- | demos/SPC5/RT-SPC564A-EVB/mcuconf.h | 5 | ||||
-rw-r--r-- | demos/SPC5/RT-SPC56EC-EVB/mcuconf.h | 5 | ||||
-rw-r--r-- | demos/SPC5/RT-SPC56EL-EVB/mcuconf.h | 5 |
8 files changed, 40 insertions, 0 deletions
diff --git a/demos/SPC5/NIL-SPC560D-EVB/mcuconf.h b/demos/SPC5/NIL-SPC560D-EVB/mcuconf.h index 195a81a2e..0b48d33e0 100644 --- a/demos/SPC5/NIL-SPC560D-EVB/mcuconf.h +++ b/demos/SPC5/NIL-SPC560D-EVB/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* SPC560B/Cxx drivers configuration.
* The following settings override the default settings present in
@@ -146,3 +149,5 @@ SPC5_ME_PCTL_LP(2))
#define SPC5_ADC_ADC1_STOP_PCTL (SPC5_ME_PCTL_RUN(0) | \
SPC5_ME_PCTL_LP(0))
+
+#endif /* _MCUCONF_H_ */
diff --git a/demos/SPC5/RT-SPC560B-EVB/mcuconf.h b/demos/SPC5/RT-SPC560B-EVB/mcuconf.h index 161c03b97..b510c5be3 100644 --- a/demos/SPC5/RT-SPC560B-EVB/mcuconf.h +++ b/demos/SPC5/RT-SPC560B-EVB/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* SPC560Bxx drivers configuration.
* The following settings override the default settings present in
@@ -266,3 +269,5 @@ SPC5_ME_PCTL_LP(2))
#define SPC5_ADC_ADC1_STOP_PCTL (SPC5_ME_PCTL_RUN(0) | \
SPC5_ME_PCTL_LP(0))
+
+#endif /* _MCUCONF_H_ */
diff --git a/demos/SPC5/RT-SPC560D-EVB/mcuconf.h b/demos/SPC5/RT-SPC560D-EVB/mcuconf.h index 195a81a2e..0b48d33e0 100644 --- a/demos/SPC5/RT-SPC560D-EVB/mcuconf.h +++ b/demos/SPC5/RT-SPC560D-EVB/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* SPC560B/Cxx drivers configuration.
* The following settings override the default settings present in
@@ -146,3 +149,5 @@ SPC5_ME_PCTL_LP(2))
#define SPC5_ADC_ADC1_STOP_PCTL (SPC5_ME_PCTL_RUN(0) | \
SPC5_ME_PCTL_LP(0))
+
+#endif /* _MCUCONF_H_ */
diff --git a/demos/SPC5/RT-SPC560P-EVB/mcuconf.h b/demos/SPC5/RT-SPC560P-EVB/mcuconf.h index f5ea0dbc4..6ec56ad71 100644 --- a/demos/SPC5/RT-SPC560P-EVB/mcuconf.h +++ b/demos/SPC5/RT-SPC560P-EVB/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* SPC560Pxx drivers configuration.
* The following settings override the default settings present in
@@ -187,3 +190,5 @@ SPC5_ME_PCTL_LP(2))
#define SPC5_ADC_ADC1_STOP_PCTL (SPC5_ME_PCTL_RUN(0) | \
SPC5_ME_PCTL_LP(0))
+
+#endif /* _MCUCONF_H_ */
diff --git a/demos/SPC5/RT-SPC563M-EVB/mcuconf.h b/demos/SPC5/RT-SPC563M-EVB/mcuconf.h index 83acd51a4..e8f7ebd81 100644 --- a/demos/SPC5/RT-SPC563M-EVB/mcuconf.h +++ b/demos/SPC5/RT-SPC563M-EVB/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* SPC563Mxx drivers configuration.
* The following settings override the default settings present in
@@ -151,3 +154,5 @@ #define SPC5_CAN_USE_FLEXCAN1 FALSE
#define SPC5_CAN_FLEXCAN1_USE_EXT_CLK FALSE
#define SPC5_CAN_FLEXCAN1_IRQ_PRIORITY 11
+
+#endif /* _MCUCONF_H_ */
diff --git a/demos/SPC5/RT-SPC564A-EVB/mcuconf.h b/demos/SPC5/RT-SPC564A-EVB/mcuconf.h index 8c6e534b4..9094394d5 100644 --- a/demos/SPC5/RT-SPC564A-EVB/mcuconf.h +++ b/demos/SPC5/RT-SPC564A-EVB/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* SPC564Axx drivers configuration.
* The following settings override the default settings present in
@@ -181,3 +184,5 @@ #define SPC5_CAN_USE_FLEXCAN2 FALSE
#define SPC5_CAN_FLEXCAN2_USE_EXT_CLK FALSE
#define SPC5_CAN_FLEXCAN2_IRQ_PRIORITY 11
+
+#endif /* _MCUCONF_H_ */
diff --git a/demos/SPC5/RT-SPC56EC-EVB/mcuconf.h b/demos/SPC5/RT-SPC56EC-EVB/mcuconf.h index 96d37c06d..0172e8182 100644 --- a/demos/SPC5/RT-SPC56EC-EVB/mcuconf.h +++ b/demos/SPC5/RT-SPC56EC-EVB/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* SPC56ECxx drivers configuration.
* The following settings override the default settings present in
@@ -286,3 +289,5 @@ SPC5_ME_PCTL_LP(2))
#define SPC5_ADC_ADC1_STOP_PCTL (SPC5_ME_PCTL_RUN(0) | \
SPC5_ME_PCTL_LP(0))
+
+#endif /* _MCUCONF_H_ */
diff --git a/demos/SPC5/RT-SPC56EL-EVB/mcuconf.h b/demos/SPC5/RT-SPC56EL-EVB/mcuconf.h index 542294fa3..bf28f0965 100644 --- a/demos/SPC5/RT-SPC56EL-EVB/mcuconf.h +++ b/demos/SPC5/RT-SPC56EL-EVB/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* SPC56ELxx drivers configuration.
* The following settings override the default settings present in
@@ -287,3 +290,5 @@ SPC5_ME_PCTL_LP(2))
#define SPC5_SPI_DSPI2_STOP_PCTL (SPC5_ME_PCTL_RUN(0) | \
SPC5_ME_PCTL_LP(0))
+
+#endif /* _MCUCONF_H_ */
|