Add test case for `riscv expose_custom`.
[riscv-tests.git] / debug / targets / RISC-V / spike32-2-rtos.py
1 import targets
2 import testlib
3
4 import spike32 # pylint: disable=import-error
5
6 class spike32_2(targets.Target):
7 harts = [spike32.spike32_hart(), spike32.spike32_hart()]
8 openocd_config_path = "spike-rtos.cfg"
9 timeout_sec = 30
10 implements_custom_test = True
11
12 def create(self):
13 return testlib.Spike(self, progbufsize=0)