Merge pull request #829 from XuHangHub/riscv

doc/openocd.texi: fix expose_csrs example
This commit is contained in:
Tim Newsome 2023-03-30 09:56:00 -07:00 committed by GitHub
commit 78231cda38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -10708,13 +10708,13 @@ CSRs.
@example
# Expose a single RISC-V CSR number 128 under the name "csr128":
$_TARGETNAME expose_csrs 128
riscv expose_csrs 128
# Expose multiple RISC-V CSRs 128..132 under names "csr128" through "csr132":
$_TARGETNAME expose_csrs 128-132
riscv expose_csrs 128-132
# Expose a single RISC-V CSR number 1996 under custom name "csr_myregister":
$_TARGETNAME expose_csrs 1996=myregister
riscv expose_csrs 1996=myregister
@end example
@end deffn