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
This commit is contained in:
Jim Paris 2011-08-22 16:48:14 -04:00 committed by Øyvind Harboe
parent b2ff00fb86
commit dd318f8243
5 changed files with 13 additions and 16 deletions

View File

@ -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

View File

@ -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

1
tcl/board/redbee.cfg Normal file
View File

@ -0,0 +1 @@
source [find target/mc13224v.cfg]

View File

@ -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

View File

@ -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