aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorErhan Kurubas <erhan.kurubas@espressif.com>2022-04-05 13:49:28 +0300
committerAntonio Borneo <borneo.antonio@gmail.com>2022-05-21 09:01:56 +0000
commitce5027ab019ac7f96d05ec5f8f533144b3bcafdf (patch)
tree219818a258c2ee7e61632941b9cc5e0089bb3ea8 /doc
parente5f515f990cc345fd3089a5520f39d5a128329bd (diff)
downloadriscv-openocd-ce5027ab019ac7f96d05ec5f8f533144b3bcafdf.zip
riscv-openocd-ce5027ab019ac7f96d05ec5f8f533144b3bcafdf.tar.gz
riscv-openocd-ce5027ab019ac7f96d05ec5f8f533144b3bcafdf.tar.bz2
semihosting: add semihosting_basedir command
This command allows users to set base working directory for the semihosting I/O operations.Default is the current OpenOCD directory. Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com> Change-Id: I80c5979e4c96d66cccdd12cc6fcd5f353e5c6b4d Reviewed-on: https://review.openocd.org/c/openocd/+/6888 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index be9e5ac..cc1d104 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -9624,6 +9624,12 @@ is valid during the run of the event handlers and is accessible with this
command.
@end deffn
+@deffn {Command} {arm semihosting_basedir} [dir]
+@cindex ARM semihosting
+Set the base directory for semihosting I/O, either an absolute path or a path relative to OpenOCD working directory.
+Use "." for the current directory.
+@end deffn
+
@section ARMv4 and ARMv5 Architecture
@cindex ARMv4
@cindex ARMv5