litex/soc/integration/soc.py: add_uart: disable check_duplicate -> required when this method is called more than once

This commit is contained in:
Gwenhael Goavec-Merou 2024-05-22 15:53:52 +02:00
parent 14dbdeb0cb
commit 44d049f3ad
1 changed files with 1 additions and 1 deletions

View File

@ -1563,7 +1563,7 @@ class LiteXSoC(SoC):
if self.irq.enabled:
self.irq.add(name, use_loc_if_exists=True)
else:
self.add_constant("UART_POLLING")
self.add_constant("UART_POLLING", check_duplicate=False)
# Add UARTbone ---------------------------------------------------------------------------------
def add_uartbone(self, name="uartbone", uart_name="serial", clk_freq=None, baudrate=115200, cd="sys"):