aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/MCHCK_K20
diff options
context:
space:
mode:
authorflabbergast <s3+flabbergast@sdfeu.org>2016-03-21 21:01:05 +0000
committerflabbergast <s3+flabbergast@sdfeu.org>2016-03-22 16:24:19 +0000
commit7d8012e9ee0b2460f50ca7e8c4d58d70546c7027 (patch)
treebe1d9c38802fe34144af560448e94318f2501bce /os/hal/boards/MCHCK_K20
parent2443b6c6f41dd349d1680f85aad65e979fb21bdc (diff)
downloadChibiOS-Contrib-7d8012e9ee0b2460f50ca7e8c4d58d70546c7027.tar.gz
ChibiOS-Contrib-7d8012e9ee0b2460f50ca7e8c4d58d70546c7027.tar.bz2
ChibiOS-Contrib-7d8012e9ee0b2460f50ca7e8c4d58d70546c7027.zip
[KINETIS] Update boards.
Add FRDM-KL26Z, Teensy LC and 3.1. Update definitions for FRDM-KL25Z, MCHCK, Teensy 3.0.
Diffstat (limited to 'os/hal/boards/MCHCK_K20')
-rw-r--r--os/hal/boards/MCHCK_K20/board.c3
-rw-r--r--os/hal/boards/MCHCK_K20/board.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/os/hal/boards/MCHCK_K20/board.c b/os/hal/boards/MCHCK_K20/board.c
index 9d2b698..d67e6ce 100644
--- a/os/hal/boards/MCHCK_K20/board.c
+++ b/os/hal/boards/MCHCK_K20/board.c
@@ -115,7 +115,8 @@ const PALConfig pal_default_config =
* and before any other initialization.
*/
void __early_init(void) {
- mk20d50_clock_init();
+
+ k20x_clock_init();
}
/**
diff --git a/os/hal/boards/MCHCK_K20/board.h b/os/hal/boards/MCHCK_K20/board.h
index ed22891..504ab0e 100644
--- a/os/hal/boards/MCHCK_K20/board.h
+++ b/os/hal/boards/MCHCK_K20/board.h
@@ -27,6 +27,11 @@
#define BOARD_MCHCK_K20_MX20DX128
#define BOARD_NAME "MCHCK K20 MX20DX128"
+/*
+ * MCU type
+ */
+#define K20x5
+
#define GPIOB_LED 16
#if !defined(_FROM_ASM_)