From: openocd-gerrit <ope...@us...> - 2024-11-02 21:05:25
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via f4d81cd4d49336f695b8d4b00aa0afdbc6ea22cd (commit) from 99f60d5e594278b876142a957090d8649d5e6c44 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f4d81cd4d49336f695b8d4b00aa0afdbc6ea22cd Author: Marc Schink <de...@za...> Date: Fri Aug 30 10:47:55 2024 +0200 tcl/interface: Restructure parport config files Provide cable specific configuration files like for the FTDI interface. Depcrecate the old configuration files but keep them until the next release for compatibility reasons. Change-Id: I436bd60779a107120c9e1b1f0b8a69a39a240ad4 Signed-off-by: Marc Schink <de...@za...> Reviewed-on: https://review.openocd.org/c/openocd/+/8514 Reviewed-by: Antonio Borneo <bor...@gm...> Tested-by: jenkins diff --git a/tcl/interface/parport.cfg b/tcl/interface/parport.cfg index b9fceeb85..8fb1c148b 100644 --- a/tcl/interface/parport.cfg +++ b/tcl/interface/parport.cfg @@ -5,17 +5,6 @@ # # Addresses: 0x378/LPT1 or 0x278/LPT2 ... # +echo "DEPRECATED: use interface/parport/wiggler.cfg instead of deprecated interface/parport.cfg" -if { [info exists PARPORTADDR] } { - set _PARPORTADDR $PARPORTADDR -} else { - if {$tcl_platform(platform) eq "windows"} { - set _PARPORTADDR 0x378 - } { - set _PARPORTADDR 0 - } -} - -adapter driver parport -parport port $_PARPORTADDR -parport cable wiggler +source [find interface/parport/wiggler.cfg] diff --git a/tcl/interface/parport_dlc5.cfg b/tcl/interface/parport/dlc5.cfg similarity index 100% copy from tcl/interface/parport_dlc5.cfg copy to tcl/interface/parport/dlc5.cfg diff --git a/tcl/interface/parport.cfg b/tcl/interface/parport/wiggler.cfg similarity index 100% copy from tcl/interface/parport.cfg copy to tcl/interface/parport/wiggler.cfg diff --git a/tcl/interface/parport_dlc5.cfg b/tcl/interface/parport_dlc5.cfg index 24acea7a9..83f3b56c4 100644 --- a/tcl/interface/parport_dlc5.cfg +++ b/tcl/interface/parport_dlc5.cfg @@ -5,13 +5,6 @@ # # http://www.xilinx.com/itp/xilinx4/data/docs/pac/appendixb.html # +echo "DEPRECATED: use interface/parport/dlc5.cfg instead of deprecated interface/parport_dlc5.cfg" -if { [info exists PARPORTADDR] } { - set _PARPORTADDR $PARPORTADDR -} else { - set _PARPORTADDR 0 -} - -adapter driver parport -parport port $_PARPORTADDR -parport cable dlc5 +source [find interface/parport/dlc5.cfg] ----------------------------------------------------------------------- Summary of changes: tcl/interface/parport.cfg | 15 ++------------- tcl/interface/{parport_dlc5.cfg => parport/dlc5.cfg} | 0 tcl/interface/{parport.cfg => parport/wiggler.cfg} | 0 tcl/interface/parport_dlc5.cfg | 11 ++--------- 4 files changed, 4 insertions(+), 22 deletions(-) copy tcl/interface/{parport_dlc5.cfg => parport/dlc5.cfg} (100%) copy tcl/interface/{parport.cfg => parport/wiggler.cfg} (100%) hooks/post-receive -- Main OpenOCD repository |