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/KINETIS | |
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/KINETIS')
-rw-r--r-- | demos/KINETIS/RT-FREEDOM-K20D50M-EXT/mcuconf.h | 5 | ||||
-rw-r--r-- | demos/KINETIS/RT-FREEDOM-K20D50M/mcuconf.h | 5 | ||||
-rw-r--r-- | demos/KINETIS/RT-FREEDOM-KL25Z-EXT/mcuconf.h | 5 | ||||
-rw-r--r-- | demos/KINETIS/RT-FREEDOM-KL25Z/mcuconf.h | 5 | ||||
-rw-r--r-- | demos/KINETIS/RT-MCHCK-K20-GPT/mcuconf.h | 4 | ||||
-rw-r--r-- | demos/KINETIS/RT-MCHCK-K20-SPI/mcuconf.h | 5 | ||||
-rw-r--r-- | demos/KINETIS/RT-TEENSY3/mcuconf.h | 5 |
7 files changed, 34 insertions, 0 deletions
diff --git a/demos/KINETIS/RT-FREEDOM-K20D50M-EXT/mcuconf.h b/demos/KINETIS/RT-FREEDOM-K20D50M-EXT/mcuconf.h index 2b013b687..198a03dcf 100644 --- a/demos/KINETIS/RT-FREEDOM-K20D50M-EXT/mcuconf.h +++ b/demos/KINETIS/RT-FREEDOM-K20D50M-EXT/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define K20x_MCUCONF
/*
@@ -109,3 +112,5 @@ #define KINETIS_EXT_PORTD_WIDTH 16
#define KINETIS_EXT_PORTE_WIDTH 13
#endif
+
+#endif /* _MCUCONF_H_ */
diff --git a/demos/KINETIS/RT-FREEDOM-K20D50M/mcuconf.h b/demos/KINETIS/RT-FREEDOM-K20D50M/mcuconf.h index 2277ad4b4..61897094e 100644 --- a/demos/KINETIS/RT-FREEDOM-K20D50M/mcuconf.h +++ b/demos/KINETIS/RT-FREEDOM-K20D50M/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define K20x_MCUCONF
/*
@@ -67,3 +70,5 @@ * SERIAL driver system settings.
*/
#define KINETIS_SERIAL_USE_UART0 TRUE
+
+#endif /* _MCUCONF_H_ */
diff --git a/demos/KINETIS/RT-FREEDOM-KL25Z-EXT/mcuconf.h b/demos/KINETIS/RT-FREEDOM-KL25Z-EXT/mcuconf.h index bd2abc1d3..da7ba95f0 100644 --- a/demos/KINETIS/RT-FREEDOM-KL25Z-EXT/mcuconf.h +++ b/demos/KINETIS/RT-FREEDOM-KL25Z-EXT/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define KL2x_MCUCONF
/*
@@ -142,3 +145,5 @@ #ifndef KINETIS_EXT_PORTE_WIDTH
#define KINETIS_EXT_PORTE_WIDTH 0
#endif
+
+#endif /* _MCUCONF_H_ */
diff --git a/demos/KINETIS/RT-FREEDOM-KL25Z/mcuconf.h b/demos/KINETIS/RT-FREEDOM-KL25Z/mcuconf.h index 5ddb8fe7e..3b77632f7 100644 --- a/demos/KINETIS/RT-FREEDOM-KL25Z/mcuconf.h +++ b/demos/KINETIS/RT-FREEDOM-KL25Z/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
/*
* STM32F0xx drivers configuration.
* The following settings override the default settings present in
@@ -69,3 +72,5 @@ * SERIAL driver system settings.
*/
#define KINETIS_SERIAL_USE_UART0 TRUE
+
+#endif /* _MCUCONF_H_ */
diff --git a/demos/KINETIS/RT-MCHCK-K20-GPT/mcuconf.h b/demos/KINETIS/RT-MCHCK-K20-GPT/mcuconf.h index efe95cb44..cc4b58127 100644 --- a/demos/KINETIS/RT-MCHCK-K20-GPT/mcuconf.h +++ b/demos/KINETIS/RT-MCHCK-K20-GPT/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define K20x_MCUCONF
/*
@@ -72,3 +75,4 @@ /* TODO: Move this to a KINETIS registry */
#define KINETIS_HAS_PIT0 TRUE
+#endif /* _MCUCONF_H_ */
diff --git a/demos/KINETIS/RT-MCHCK-K20-SPI/mcuconf.h b/demos/KINETIS/RT-MCHCK-K20-SPI/mcuconf.h index 4cb8eb628..70b86cf72 100644 --- a/demos/KINETIS/RT-MCHCK-K20-SPI/mcuconf.h +++ b/demos/KINETIS/RT-MCHCK-K20-SPI/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define K20x_MCUCONF
/*
@@ -63,3 +66,5 @@ */
#define KINETIS_SPI_USE_SPI0 TRUE
#define KINETIS_SPI_SPI0_IRQ_PRIORITY 8
+
+#endif /* _MCUCONF_H_ */
diff --git a/demos/KINETIS/RT-TEENSY3/mcuconf.h b/demos/KINETIS/RT-TEENSY3/mcuconf.h index e216230c8..ae35fe36d 100644 --- a/demos/KINETIS/RT-TEENSY3/mcuconf.h +++ b/demos/KINETIS/RT-TEENSY3/mcuconf.h @@ -14,6 +14,9 @@ limitations under the License.
*/
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
#define K20x_MCUCONF
/*
@@ -55,3 +58,5 @@ * SERIAL driver system settings.
*/
#define KINETIS_SERIAL_USE_UART0 TRUE
+
+#endif /* _MCUCONF_H_ */
|