diff --git a/make.py b/make.py index 49c6e354..31ebb389 100755 --- a/make.py +++ b/make.py @@ -731,7 +731,7 @@ def __init__(self): # Gowin Boards #--------------------------------------------------------------------------------------------------- -# Sipeed Tang nano 20K support ------------------------------------------------------------------------------- +# Sipeed Tang Nano 20K support --------------------------------------------------------------------- class Sipeed_tang_nano_20k(Board): soc_kwargs = {"l2_size" : 2048} # Use Wishbone and L2 for memory accesses. @@ -743,6 +743,18 @@ def __init__(self): "sdcard", }) +# Sipeed Tang Primer 20K support ------------------------------------------------------------------- + +class Sipeed_tang_primer_20k(Board): + soc_kwargs = {"l2_size" : 512} # Use Wishbone and L2 for memory accesses. + def __init__(self): + from litex_boards.targets import sipeed_tang_primer_20k + Board.__init__(self, sipeed_tang_primer_20k.BaseSoC, soc_capabilities={ + # Communication + "serial", + "spisdcard", + }) + #--------------------------------------------------------------------------------------------------- # Build #--------------------------------------------------------------------------------------------------- @@ -805,6 +817,7 @@ def __init__(self): # Gowin "sipeed_tang_nano_20k" : Sipeed_tang_nano_20k, + "sipeed_tang_primer_20k" : Sipeed_tang_primer_20k, } def main():