diff options
author | Jim Paris <jim@jtan.com> | 2011-08-22 16:48:14 -0400 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-08-24 11:13:26 +0200 |
commit | dd318f824366281fcd8690ecae43c1ce54d4df59 (patch) | |
tree | 74293998b6bab03567f921fd1025f3ea73c42a85 | |
parent | b2ff00fb86ffc0f6ee0241ee67513f3e42fdfc81 (diff) |
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
-rw-r--r-- | tcl/board/redbee-econotag.cfg | 8 | ||||
-rw-r--r-- | tcl/board/redbee-usb.cfg | 8 | ||||
-rw-r--r-- | tcl/board/redbee.cfg | 1 | ||||
-rw-r--r-- | tcl/interface/redbee-econotag.cfg | 6 | ||||
-rw-r--r-- | tcl/interface/redbee-usb.cfg | 6 |
5 files changed, 13 insertions, 16 deletions
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 |