From: Jim Paris Date: Mon, 22 Aug 2011 20:48:14 +0000 (-0400) Subject: Fix redbee config files X-Git-Tag: v0.6.0-rc1~604 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dd318f824366281fcd8690ecae43c1ce54d4df59;p=openocd Fix redbee config files 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 --- diff --git a/tcl/board/redbee-econotag.cfg b/tcl/board/redbee-econotag.cfg deleted file mode 100644 index 7a02ce0d..00000000 --- a/tcl/board/redbee-econotag.cfg +++ /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 index 3aa68c10..00000000 --- a/tcl/board/redbee-usb.cfg +++ /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 index 00000000..046e7a47 --- /dev/null +++ b/tcl/board/redbee.cfg @@ -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 index 00000000..2dcd0278 --- /dev/null +++ b/tcl/interface/redbee-econotag.cfg @@ -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 index 00000000..8fa7b0be --- /dev/null +++ b/tcl/interface/redbee-usb.cfg @@ -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