From a482d7f6de4ee14d059b241cec69fb369c6a4a31 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 4 Nov 2021 18:52:36 +0100 Subject: [PATCH] targets/qmtech_xc7a35t: Use gpio_serial as serial when not mounted on daughterboard. --- litex_boards/targets/qmtech_xc7a35t.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/litex_boards/targets/qmtech_xc7a35t.py b/litex_boards/targets/qmtech_xc7a35t.py index e7f9fb4..caba8c7 100755 --- a/litex_boards/targets/qmtech_xc7a35t.py +++ b/litex_boards/targets/qmtech_xc7a35t.py @@ -76,6 +76,9 @@ class BaseSoC(SoCCore): platform = qmtech_xc7a35t.Platform(toolchain=toolchain, with_daughterboard=with_daughterboard) # SoCCore ---------------------------------------------------------------------------------- + if (kwargs["uart_name"] == "serial") and (not with_daughterboard): + kwargs["uart_name"] = "gpio_serial" + SoCCore.__init__(self, platform, sys_clk_freq, ident = "LiteX SoC on QMTech XC7A35T" + (" + Daughterboard" if with_daughterboard else ""), ident_version = ident_version,