Skip to content
Snippets Groups Projects
Commit aa220972 authored by Florent Kermarrec's avatar Florent Kermarrec
Browse files

gsd_butterstick: Force uart_name to crossover when set to serial.

parent fddca1cd
No related branches found
No related tags found
No related merge requests found
...@@ -99,6 +99,8 @@ class BaseSoC(SoCCore): ...@@ -99,6 +99,8 @@ class BaseSoC(SoCCore):
platform = butterstick.Platform(revision=revision, device=device ,toolchain=toolchain) platform = butterstick.Platform(revision=revision, device=device ,toolchain=toolchain)
# SoCCore ---------------------------------------------------------------------------------- # SoCCore ----------------------------------------------------------------------------------
if kwargs["uart_name"] == "serial":
kwargs["uart_name"] = "crossover"
SoCCore.__init__(self, platform, sys_clk_freq, SoCCore.__init__(self, platform, sys_clk_freq,
ident = "LiteX SoC on ButterStick", ident = "LiteX SoC on ButterStick",
ident_version = True, ident_version = True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment