The interface needs to be defined first, otherwise
'openocd -f board/redbee-econotag.cfg' gives an error.
---
 tcl/board/redbee-econotag.cfg |    4 ++--
 tcl/board/redbee-usb.cfg      |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tcl/board/redbee-econotag.cfg b/tcl/board/redbee-econotag.cfg
index 7a02ce0..a39f1ae 100644
--- a/tcl/board/redbee-econotag.cfg
+++ b/tcl/board/redbee-econotag.cfg
@@ -1,8 +1,8 @@
-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
+
+source [find target/mc13224v.cfg]
diff --git a/tcl/board/redbee-usb.cfg b/tcl/board/redbee-usb.cfg
index 3aa68c1..6f67ea3 100644
--- a/tcl/board/redbee-usb.cfg
+++ b/tcl/board/redbee-usb.cfg
@@ -1,8 +1,8 @@
-source [find target/mc13224v.cfg]
-
-# The redbee-econotag has an onboard ft2232h with
+# The redbee-usb 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
+
+source [find target/mc13224v.cfg]
-- 
1.7.4.1
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to