mirror of
https://github.com/saymrwulf/litex-boards.git
synced 2026-11-20 09:52:57 +00:00
stlv7325: fix video args
This commit is contained in:
parent
66cbd27bbf
commit
7c99f0758d
1 changed files with 25 additions and 21 deletions
|
|
@ -71,15 +71,18 @@ class _CRG(LiteXModule):
|
||||||
|
|
||||||
class BaseSoC(SoCCore):
|
class BaseSoC(SoCCore):
|
||||||
def __init__(self, sys_clk_freq=100e6,
|
def __init__(self, sys_clk_freq=100e6,
|
||||||
with_ethernet = False,
|
with_ethernet = False,
|
||||||
with_etherbone = False,
|
with_etherbone = False,
|
||||||
local_ip = "192.168.1.50",
|
local_ip = "192.168.1.50",
|
||||||
remote_ip = "",
|
remote_ip = "",
|
||||||
eth_dynamic_ip = False,
|
eth_dynamic_ip = False,
|
||||||
with_led_chaser = True,
|
with_led_chaser = True,
|
||||||
with_pcie = False,
|
with_pcie = False,
|
||||||
with_sata = False,
|
with_sata = False,
|
||||||
with_jtagbone = True,
|
with_jtagbone = True,
|
||||||
|
with_video_colorbars = False,
|
||||||
|
with_video_framebuffer = False,
|
||||||
|
with_video_terminal = False,
|
||||||
**kwargs):
|
**kwargs):
|
||||||
platform = sitlinv_stlv7325.Platform()
|
platform = sitlinv_stlv7325.Platform()
|
||||||
|
|
||||||
|
|
@ -199,26 +202,27 @@ def main():
|
||||||
sdopts = parser.target_group.add_mutually_exclusive_group()
|
sdopts = parser.target_group.add_mutually_exclusive_group()
|
||||||
sdopts.add_argument("--with-spi-sdcard", action="store_true", help="Enable SPI-mode SDCard support.")
|
sdopts.add_argument("--with-spi-sdcard", action="store_true", help="Enable SPI-mode SDCard support.")
|
||||||
sdopts.add_argument("--with-sdcard", action="store_true", help="Enable SDCard support.")
|
sdopts.add_argument("--with-sdcard", action="store_true", help="Enable SDCard support.")
|
||||||
viopts = target_group.add_mutually_exclusive_group()
|
viopts = parser.target_group.add_mutually_exclusive_group()
|
||||||
viopts.add_argument("--with-video-terminal", action="store_true", help="Enable Video Terminal (HDMI).")
|
viopts.add_argument("--with-video-terminal", action="store_true", help="Enable Video Terminal (HDMI).")
|
||||||
viopts.add_argument("--with-video-framebuffer", action="store_true", help="Enable Video Framebuffer (HDMI).")
|
viopts.add_argument("--with-video-framebuffer", action="store_true", help="Enable Video Framebuffer (HDMI).")
|
||||||
viopts.add_argument("--with-video-colorbars", action="store_true", help="Enable Video Colorbars (HDMI).")
|
viopts.add_argument("--with-video-colorbars", action="store_true", help="Enable Video Colorbars (HDMI).")
|
||||||
builder_args(parser)
|
|
||||||
soc_core_args(parser)
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
assert not (args.with_etherbone and args.eth_dynamic_ip)
|
assert not (args.with_etherbone and args.eth_dynamic_ip)
|
||||||
|
|
||||||
soc = BaseSoC(
|
soc = BaseSoC(
|
||||||
sys_clk_freq = args.sys_clk_freq,
|
sys_clk_freq = args.sys_clk_freq,
|
||||||
with_ethernet = args.with_ethernet,
|
with_ethernet = args.with_ethernet,
|
||||||
with_etherbone = args.with_etherbone,
|
with_etherbone = args.with_etherbone,
|
||||||
local_ip = args.local_ip,
|
local_ip = args.local_ip,
|
||||||
remote_ip = args.remote_ip,
|
remote_ip = args.remote_ip,
|
||||||
eth_dynamic_ip = args.eth_dynamic_ip,
|
eth_dynamic_ip = args.eth_dynamic_ip,
|
||||||
with_pcie = args.with_pcie,
|
with_pcie = args.with_pcie,
|
||||||
with_sata = args.with_sata,
|
with_sata = args.with_sata,
|
||||||
with_jtagbone = args.with_jtagbone,
|
with_jtagbone = args.with_jtagbone,
|
||||||
|
with_video_colorbars = args.with_video_colorbars,
|
||||||
|
with_video_framebuffer = args.with_video_framebuffer,
|
||||||
|
with_video_terminal = args.with_video_terminal,
|
||||||
**parser.soc_argdict
|
**parser.soc_argdict
|
||||||
)
|
)
|
||||||
if args.with_spi_sdcard:
|
if args.with_spi_sdcard:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue