From fbcf16a4aa77b2e6b950c9e15e4cec44580eab44 Mon Sep 17 00:00:00 2001 From: Bartosz Stebel Date: Sat, 1 Jul 2023 01:03:13 +0200 Subject: [PATCH] Fix STLV7325 after renames in litex_boards, add v2 --- make.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/make.py b/make.py index f1a72956..109368f0 100755 --- a/make.py +++ b/make.py @@ -363,8 +363,18 @@ def __init__(self): class STLV7325(Board): def __init__(self): - from litex_boards.targets import aliexpress_stlv7325 - Board.__init__(self, aliexpress_stlv7325.BaseSoC, soc_capabilities={ + from litex_boards.targets import sitlinv_stlv7325_v1 + Board.__init__(self, sitlinv_stlv7325_v1.BaseSoC, soc_capabilities={ + # Communication + "serial", + # Storage + "sdcard", + }) + +class STLV7325_v2(Board): + def __init__(self): + from litex_boards.targets import sitlinv_stlv7325_v2 + Board.__init__(self, sitlinv_stlv7325_v2.BaseSoC, soc_capabilities={ # Communication "serial", # Storage @@ -746,6 +756,7 @@ def __init__(self): "sds1104xe" : SDS1104XE, "mnt_rkx7" : MNT_RKX7, "stlv7325" : STLV7325, + "stlv7325_v2" : STLV7325_v2, "decklink_quad_hdmi_recorder" : DecklinkQuadHDMIRecorder, # Lattice