From 44d049f3ad03a96024a35b5d9872d50e82f5d2a4 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Wed, 22 May 2024 15:53:52 +0200 Subject: [PATCH] litex/soc/integration/soc.py: add_uart: disable check_duplicate -> required when this method is called more than once --- litex/soc/integration/soc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index dc3a4e49b..7bcdfdd8a 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -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"):