diff options
author | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-08-01 22:55:00 +0000 |
---|---|---|
committer | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-08-01 22:55:00 +0000 |
commit | 800bd88d35aedfcddb02ece1514aad8da7a92fd6 (patch) | |
tree | d87ac844b5de7680e1b0f411f4b700f656086ca9 /os/hal/boards/FREESCALE_FREEDOM_KL25Z/board.h | |
parent | ef7990a192c7b381aee7dfa354deb63c4d4a3c81 (diff) | |
download | ChibiOS-800bd88d35aedfcddb02ece1514aad8da7a92fd6.tar.gz ChibiOS-800bd88d35aedfcddb02ece1514aad8da7a92fd6.tar.bz2 ChibiOS-800bd88d35aedfcddb02ece1514aad8da7a92fd6.zip |
[KINETIS] Initial support for KL25 family
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7110 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/boards/FREESCALE_FREEDOM_KL25Z/board.h')
-rw-r--r-- | os/hal/boards/FREESCALE_FREEDOM_KL25Z/board.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/os/hal/boards/FREESCALE_FREEDOM_KL25Z/board.h b/os/hal/boards/FREESCALE_FREEDOM_KL25Z/board.h new file mode 100644 index 000000000..c1ec60aea --- /dev/null +++ b/os/hal/boards/FREESCALE_FREEDOM_KL25Z/board.h @@ -0,0 +1,44 @@ +/*
+ ChibiOS/RT - Copyright (C) 2006-2014 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef _BOARD_H_
+#define _BOARD_H_
+
+/*
+ * Setup for Freescale Freedom KL25Z board.
+ */
+
+/*
+ * Board identifier.
+ */
+#define BOARD_FREESCALE_FREEDOM_KL25Z
+#define BOARD_NAME "Freescale Freedom KL25Z"
+
+/* External 8 MHz crystal with PLL for 48 MHz core/system clock. */
+#define KINETIS_SYSCLK_FREQUENCY 48000000UL
+#define KINETIS_MCG_MODE KINETIS_MCG_MODE_PEE
+
+#if !defined(_FROM_ASM_)
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void boardInit(void);
+#ifdef __cplusplus
+}
+#endif
+#endif /* _FROM_ASM_ */
+
+#endif /* _BOARD_H_ */
|