]> git.sur5r.net Git - openocd/commitdiff
Fix redbee config files
authorJim Paris <jim@jtan.com>
Mon, 22 Aug 2011 20:48:14 +0000 (16:48 -0400)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 24 Aug 2011 09:13:26 +0000 (11:13 +0200)
Currently the board/redbee-*.cfg files incorrectly include the
interface definition.  Move the interfaces to interface/,
and create a single board/redbee.cfg that is common to both boards.
Intended usage is now:
  openocd -f interface/redbee-econotag.cfg -f board/redbee.cfg

tcl/board/redbee-econotag.cfg [deleted file]
tcl/board/redbee-usb.cfg [deleted file]
tcl/board/redbee.cfg [new file with mode: 0644]
tcl/interface/redbee-econotag.cfg [new file with mode: 0644]
tcl/interface/redbee-usb.cfg [new file with mode: 0644]

diff --git a/tcl/board/redbee-econotag.cfg b/tcl/board/redbee-econotag.cfg
deleted file mode 100644 (file)
index 7a02ce0..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-source [find target/mc13224v.cfg]
-
-# The redbee-econotag has an onboard ft2232h with channel A wired
-# to the JTAG pins on the mc13224v
-# channel B is wired to UART1
-interface ft2232
-ft2232_layout redbee-econotag
-ft2232_vid_pid 0x0403 0x6010
diff --git a/tcl/board/redbee-usb.cfg b/tcl/board/redbee-usb.cfg
deleted file mode 100644 (file)
index 3aa68c1..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-source [find target/mc13224v.cfg]
-
-# The redbee-econotag has an onboard ft2232h with
-# channel B wired to the JTAG pins on the mc13224v
-# channel A is wired to UART1 on the mc13224v
-interface ft2232
-ft2232_layout redbee-usb
-ft2232_vid_pid 0x0403 0x6010
diff --git a/tcl/board/redbee.cfg b/tcl/board/redbee.cfg
new file mode 100644 (file)
index 0000000..046e7a4
--- /dev/null
@@ -0,0 +1 @@
+source [find target/mc13224v.cfg]
diff --git a/tcl/interface/redbee-econotag.cfg b/tcl/interface/redbee-econotag.cfg
new file mode 100644 (file)
index 0000000..2dcd027
--- /dev/null
@@ -0,0 +1,6 @@
+# The redbee-econotag has an onboard ft2232h with
+# ft2232h channel A wired to mc13224v JTAG
+# ft2232h channel B wired to mc13224v UART1 
+interface ft2232
+ft2232_layout redbee-econotag
+ft2232_vid_pid 0x0403 0x6010
diff --git a/tcl/interface/redbee-usb.cfg b/tcl/interface/redbee-usb.cfg
new file mode 100644 (file)
index 0000000..8fa7b0b
--- /dev/null
@@ -0,0 +1,6 @@
+# The redbee-usb has an onboard ft2232h with
+# ft2232h channel B wired to mc13224v JTAG
+# ft2232h channel A wired to mc13224v UART1 
+interface ft2232
+ft2232_layout redbee-usb
+ft2232_vid_pid 0x0403 0x6010