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