targets: add usb3_pipe banner

This commit is contained in:
Florent Kermarrec 2019-12-17 10:20:05 +01:00
parent c85fb39547
commit d74b39b8c5
4 changed files with 12 additions and 4 deletions

View File

@ -195,7 +195,9 @@ def load():
import argparse import argparse
def main(): def main():
parser = argparse.ArgumentParser() with open("README.md") as f:
description = [str(f.readline()) for i in range(7)]
parser = argparse.ArgumentParser(description="".join(description[1:]), formatter_class=argparse.RawTextHelpFormatter)
parser.add_argument("--build", action="store_true", help="build bitstream") parser.add_argument("--build", action="store_true", help="build bitstream")
parser.add_argument("--load", action="store_true", help="load bitstream (to SRAM)") parser.add_argument("--load", action="store_true", help="load bitstream (to SRAM)")
args = parser.parse_args() args = parser.parse_args()

View File

@ -145,7 +145,9 @@ def load():
import argparse import argparse
def main(): def main():
parser = argparse.ArgumentParser() with open("README.md") as f:
description = [str(f.readline()) for i in range(7)]
parser = argparse.ArgumentParser(description="".join(description[1:]), formatter_class=argparse.RawTextHelpFormatter)
parser.add_argument("--build", action="store_true", help="build bitstream") parser.add_argument("--build", action="store_true", help="build bitstream")
parser.add_argument("--load", action="store_true", help="load bitstream (to SRAM)") parser.add_argument("--load", action="store_true", help="load bitstream (to SRAM)")
parser.add_argument("--device", default="xc7a35t", help="FPGA device (xc7a35t (default) or xc7a100t)") parser.add_argument("--device", default="xc7a35t", help="FPGA device (xc7a35t (default) or xc7a100t)")

View File

@ -146,7 +146,9 @@ def load():
import argparse import argparse
def main(): def main():
parser = argparse.ArgumentParser() with open("README.md") as f:
description = [str(f.readline()) for i in range(7)]
parser = argparse.ArgumentParser(description="".join(description[1:]), formatter_class=argparse.RawTextHelpFormatter)
parser.add_argument("--build", action="store_true", help="build bitstream") parser.add_argument("--build", action="store_true", help="build bitstream")
parser.add_argument("--load", action="store_true", help="load bitstream (to SRAM)") parser.add_argument("--load", action="store_true", help="load bitstream (to SRAM)")
args = parser.parse_args() args = parser.parse_args()

View File

@ -210,7 +210,9 @@ jtag newtap ecp5 tap -irlen 8 -expected-id 0x81112043
import argparse import argparse
def main(): def main():
parser = argparse.ArgumentParser() with open("README.md") as f:
description = [str(f.readline()) for i in range(7)]
parser = argparse.ArgumentParser(description="".join(description[1:]), formatter_class=argparse.RawTextHelpFormatter)
parser.add_argument("--build", action="store_true", help="build bitstream") parser.add_argument("--build", action="store_true", help="build bitstream")
parser.add_argument("--load", action="store_true", help="load bitstream (to SRAM)") parser.add_argument("--load", action="store_true", help="load bitstream (to SRAM)")
args = parser.parse_args() args = parser.parse_args()