targets/qmtech_xc7a35t: Use gpio_serial as serial when not mounted on daughterboard.
This commit is contained in:
parent
9543b5efae
commit
a482d7f6de
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue