doc: fix use of deprecated config file in the example

Commit 31c58c139d ("jtag: drivers: stlink: handle all versions with
single config") deprecates the use of "interface/stlink-v2-1.cfg" in
favor of a unique config file "interface/stlink.cfg".

Update the example in the documentation.

Change-Id: I1aed7c70e15f4edb4f81a3ee8e3bce575fde873b
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4667
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
Antonio Borneo 2018-09-04 19:01:45 +02:00 committed by Tomas Vanek
parent 08a79c71f2
commit 4423a58b4d
1 changed files with 1 additions and 1 deletions

View File

@ -8789,7 +8789,7 @@ baud with our custom divisor to get 12MHz)
@item @code{itmdump -f /dev/ttyUSB1 -d1} @item @code{itmdump -f /dev/ttyUSB1 -d1}
@item OpenOCD invocation line: @item OpenOCD invocation line:
@example @example
openocd -f interface/stlink-v2-1.cfg \ openocd -f interface/stlink.cfg \
-c "transport select hla_swd" \ -c "transport select hla_swd" \
-f target/stm32l1.cfg \ -f target/stm32l1.cfg \
-c "tpiu config external uart off 24000000 12000000" -c "tpiu config external uart off 24000000 12000000"