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 --- demos/SPC5/NIL-SPC560D-EVB/mcuconf.h | 5 +++++ demos/SPC5/RT-SPC560B-EVB/mcuconf.h | 5 +++++ demos/SPC5/RT-SPC560D-EVB/mcuconf.h | 5 +++++ demos/SPC5/RT-SPC560P-EVB/mcuconf.h | 5 +++++ demos/SPC5/RT-SPC563M-EVB/mcuconf.h | 5 +++++ demos/SPC5/RT-SPC564A-EVB/mcuconf.h | 5 +++++ demos/SPC5/RT-SPC56EC-EVB/mcuconf.h | 5 +++++ demos/SPC5/RT-SPC56EL-EVB/mcuconf.h | 5 +++++ 8 files changed, 40 insertions(+) (limited to 'demos/SPC5') 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_ */ -- cgit v1.2.3