diff options
author | Marc Schink <dev@zapb.de> | 2023-11-07 17:14:09 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2023-11-18 11:29:06 +0000 |
commit | f55b122b42c212fcb3219e372a7361d6573bd6a3 (patch) | |
tree | fe74a06bce2ddb31dd23ce7a2e6af07888455ca8 /src/jtag/startup.tcl | |
parent | 1c9f4ac181f6d5716f392a9e2d9167e797c390c7 (diff) | |
download | riscv-openocd-f55b122b42c212fcb3219e372a7361d6573bd6a3.zip riscv-openocd-f55b122b42c212fcb3219e372a7361d6573bd6a3.tar.gz riscv-openocd-f55b122b42c212fcb3219e372a7361d6573bd6a3.tar.bz2 |
jtag/drivers/kitprog: Restructure commands
Use a command group 'kitprog' with subcommands instead of individual
commands with 'kitprog_' prefix.
The old command is still available to ensure backwards compatibility,
but is marked as deprecated.
Change-Id: I7f0d447939819ffc488a3d7a8de672b58887127f
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/7967
Reviewed-by: Bohdan Tymkiv <bohdan200@gmail.com>
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/jtag/startup.tcl')
-rw-r--r-- | src/jtag/startup.tcl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jtag/startup.tcl b/src/jtag/startup.tcl index 597a49e..4eca677 100644 --- a/src/jtag/startup.tcl +++ b/src/jtag/startup.tcl @@ -1126,6 +1126,12 @@ proc "cmsis_dap_usb" {args} { eval cmsis-dap usb $args } +lappend _telnet_autocomplete_skip "kitprog_init_acquire_psoc" +proc "kitprog_init_acquire_psoc" {} { + echo "DEPRECATED! use 'kitprog init_acquire_psoc', not 'kitprog_init_acquire_psoc'" + eval kitprog init_acquire_psoc +} + lappend _telnet_autocomplete_skip "pld device" proc "pld device" {driver tap_name {opt 0}} { echo "DEPRECATED! use 'pld create ...', not 'pld device ...'" |