This is an automated email from Gerrit. Tim "mithro" Ansell ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/4090
-- gerrit commit bf5e15988a7d49b88529410d6e52ec7872ab2e05 Author: Tim 'mithro' Ansell <[email protected]> Date: Tue Apr 4 11:13:32 2017 +1000 tcl: Adding back fpga_program function. Change-Id: I8962139495d45901d1c8faf19adccdb7343b8a4b Signed-off-by: Tim 'mithro' Ansell <[email protected]> diff --git a/tcl/cpld/xilinx-xc6s.cfg b/tcl/cpld/xilinx-xc6s.cfg index 9ce7ad4..cba7cb0 100644 --- a/tcl/cpld/xilinx-xc6s.cfg +++ b/tcl/cpld/xilinx-xc6s.cfg @@ -88,3 +88,9 @@ proc xc6s_print_dna {tap} { puts [format "DNA = %57b (0x%x)\n" $hex_dna $hex_dna] } + +proc fpga_program {} { + global _CHIPNAME + xc6s_print_dna $_CHIPNAME.tap + xc6s_program $_CHIPNAME.tap +} diff --git a/tcl/cpld/xilinx-xc7.cfg b/tcl/cpld/xilinx-xc7.cfg index d5824f8..2be7920 100644 --- a/tcl/cpld/xilinx-xc7.cfg +++ b/tcl/cpld/xilinx-xc7.cfg @@ -55,3 +55,8 @@ proc xc7_program {tap} { irscan $tap $XC7_BYPASS runtest 2000 } + +proc fpga_program {} { + global _CHIPNAME + xc7_program $_CHIPNAME.tap +} -- ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
