tcl: Adapt config files to new ftdi command syntax
The patch was created automatically using the following script: %<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<--- (cat << EOF ftdi_device_desc ftdi device_desc ftdi_serial ftdi serial ftdi_channel ftdi channel ftdi_layout_init ftdi layout_init ftdi_layout_signal ftdi layout_signal ftdi_set_signal ftdi set_signal ftdi_get_signal ftdi get_signal ftdi_vid_pid ftdi vid_pid ftdi_tdo_sample_edge ftdi tdo_sample_edge EOF ) | while read a b; do sed -i "s/$a/$b/g" $(find tcl -type f -name "*.cfg" ) done %<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<--- Change-Id: Iff781f37bb5511b7e15cbe6dcdf6d28e89fb174f Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: http://openocd.zylin.com/6333 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
1d4b252bb1
commit
7c38f24529
@@ -3,12 +3,12 @@
|
||||
adapter driver ftdi
|
||||
# The miniSpartan6+ sadly doesn't have a custom device description, so we just
|
||||
# have to hope you got it right.
|
||||
#ftdi_device_desc "Dual RS232-HS"
|
||||
ftdi_vid_pid 0x0403 0x6010
|
||||
#ftdi device_desc "Dual RS232-HS"
|
||||
ftdi vid_pid 0x0403 0x6010
|
||||
# interface 1 is the uart
|
||||
ftdi_channel 0
|
||||
ftdi channel 0
|
||||
# just TCK TDI TDO TMS, no reset
|
||||
ftdi_layout_init 0x0008 0x000b
|
||||
ftdi layout_init 0x0008 0x000b
|
||||
reset_config none
|
||||
# this generally works fast: the fpga can handle 30MHz, the spi flash can handle
|
||||
# 54MHz with simple read, no dummy cycles, and wait-for-write-completion
|
||||
|
||||
Reference in New Issue
Block a user