add Freescale Kinetis K40 devices and Kwikstik eval board
[fw/openocd] / tcl / board / kwikstik.cfg
diff --git a/tcl/board/kwikstik.cfg b/tcl/board/kwikstik.cfg
new file mode 100644 (file)
index 0000000..ed9b583
--- /dev/null
@@ -0,0 +1,19 @@
+#
+# Freescale KwikStik development board
+#
+
+#
+# JLINK interface is onboard
+#
+source [find interface/jlink.cfg]
+
+jtag_rclk 100
+
+source [find target/k40.cfg]
+
+reset_config trst_and_srst
+
+#
+# Bank definition for the 'program flash' (instructions and/or data)
+#
+flash bank $_CHIPNAME.pflash kinetis 0x00000000 0x40000 0 4 $_TARGETNAME