[sw/openocd] minor cleanups

This commit is contained in:
stnolting 2024-10-26 22:21:47 +02:00
parent 5b015cba54
commit 8bb8a02091

View file

@ -14,10 +14,10 @@ transport select jtag
# -------------------------------------------------------------------
# Target configuration
# -------------------------------------------------------------------
set _CHIPNAME neorv32
jtag newtap $_CHIPNAME cpu -irlen 5
set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME.0 riscv -chain-position $_TARGETNAME
set chipname neorv32
jtag newtap $chipname cpu -irlen 5
set targetname $chipname.cpu
target create $targetname.0 riscv -chain-position $targetname
# expose NEORV32-specific CSRs
riscv expose_csrs 2048=cfureg0