aboutsummaryrefslogtreecommitdiff
path: root/debug/targets/RISC-V/spike32-2-rtos.py
blob: 3a2e8b840a836d8ecd474aadc6dcb6ac0874d8a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import targets
import testlib

import spike32  # pylint: disable=import-error

class spike32_2(targets.Target):
    harts = [spike32.spike32_hart(), spike32.spike32_hart()]
    openocd_config_path = "spike-rtos.cfg"
    timeout_sec = 30
    implements_custom_test = True
    support_hasel = False

    def create(self):
        return testlib.Spike(self, progbufsize=0, dmi_rti=4,
                support_hasel=False, support_abstract_csr=True)