mirror of
https://github.com/saymrwulf/litex-boards.git
synced 2026-11-21 09:54:20 +00:00
stlv7325: fix video args
This commit is contained in:
parent
66cbd27bbf
commit
7c99f0758d
1 changed files with 25 additions and 21 deletions
|
|
@ -80,6 +80,9 @@ class BaseSoC(SoCCore):
|
||||||
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,12 +202,10 @@ 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)
|
||||||
|
|
@ -219,6 +220,9 @@ def main():
|
||||||
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