UART_POLLING

This commit is contained in:
Massimiliano Giacometti 2022-05-19 15:07:46 +02:00
parent 48b523cf7e
commit c95ddbbff8
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -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"))