Add basic multicore test.
[riscv-tests.git] / debug / targets / freedom-e300-sim / openocd.cfg
index e8edda4e6c660392c0deb3913c5fdb30d12b0f5c..5733f27c5fc64b80c00dd476cfdbb9647d11a48d 100644 (file)
@@ -1,13 +1,15 @@
 adapter_khz     10000
 
 source [find interface/jtag_vpi.cfg]
+jtag_vpi_set_port $::env(JTAG_VPI_PORT)
+#jtag_vpi_set_port 34448
 
 set _CHIPNAME riscv
 jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x10e31913
 
 set _TARGETNAME $_CHIPNAME.cpu
-target create $_TARGETNAME riscv -chain-position $_TARGETNAME
+target create $_TARGETNAME riscv -chain-position $_TARGETNAME -rtos riscv
 
 init
-
 halt
+echo "Ready for Remote Connections"