From 4660402faf8a1bb94ca11d1b1276e8386c3c9541 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Thu, 25 May 2017 18:35:34 -0700 Subject: Enable the RTOS when running tests on Spike You'll need my latest OpenOCD for this to actually work. --- debug/targets/spike/openocd.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debug/targets/spike/openocd.cfg b/debug/targets/spike/openocd.cfg index 2742335..266852f 100644 --- a/debug/targets/spike/openocd.cfg +++ b/debug/targets/spike/openocd.cfg @@ -8,8 +8,8 @@ set _CHIPNAME riscv jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x10e31913 set _TARGETNAME $_CHIPNAME.cpu -#target create $_TARGETNAME riscv -chain-position $_TARGETNAME -rtos riscv -target create $_TARGETNAME riscv -chain-position $_TARGETNAME +target create $_TARGETNAME riscv -chain-position $_TARGETNAME -rtos riscv +#target create $_TARGETNAME riscv -chain-position $_TARGETNAME gdb_report_data_abort enable -- cgit v1.1