UART_POLLING
This commit is contained in:
parent
48b523cf7e
commit
c95ddbbff8
|
@ -71,6 +71,7 @@ class CVA6(CPU):
|
||||||
def gcc_flags(self):
|
def gcc_flags(self):
|
||||||
flags = GCC_FLAGS[self.variant]
|
flags = GCC_FLAGS[self.variant]
|
||||||
flags += "-D__cva6__ "
|
flags += "-D__cva6__ "
|
||||||
|
flags += f" -DUART_POLLING"
|
||||||
return flags
|
return flags
|
||||||
|
|
||||||
# Memory Mapping.
|
# Memory Mapping.
|
||||||
|
|
|
@ -56,6 +56,9 @@ class TestCPU(unittest.TestCase):
|
||||||
def test_picorv32(self):
|
def test_picorv32(self):
|
||||||
self.assertTrue(self.boot_test("picorv32"))
|
self.assertTrue(self.boot_test("picorv32"))
|
||||||
|
|
||||||
|
def test_cva6(self):
|
||||||
|
self.assertTrue(self.boot_test("cva6"))
|
||||||
|
|
||||||
# OpenRISC CPUs.
|
# OpenRISC CPUs.
|
||||||
#def test_mor1kx(self):
|
#def test_mor1kx(self):
|
||||||
# self.assertTrue(self.boot_test("mor1kx"))
|
# self.assertTrue(self.boot_test("mor1kx"))
|
||||||
|
|
Loading…
Reference in New Issue