Skip to content
Snippets Groups Projects
Commit bcc7ace9 authored by Fionn O'Donohoe's avatar Fionn O'Donohoe
Browse files

remove unused build environment parameters


Signed-off-by: default avatarFionn O'Donohoe <fionno@xilinx.com>
parent e40e59dd
No related branches found
No related tags found
No related merge requests found
......@@ -114,25 +114,14 @@ def get_build_env(kind, target_clk_ns):
if kind == "zynq":
ret["board"] = os.getenv("PYNQ_BOARD", default="Pynq-Z1")
ret["part"] = pynq_part_map[ret["board"]]
ret["ip"] = os.getenv("PYNQ_IP", "")
ret["username"] = os.getenv("PYNQ_USERNAME", "xilinx")
ret["password"] = os.getenv("PYNQ_PASSWORD", "xilinx")
ret["port"] = os.getenv("PYNQ_PORT", 22)
ret["target_dir"] = os.getenv("PYNQ_TARGET_DIR", "/home/xilinx/finn")
ret["build_fxn"] = ZynqBuild(ret["board"], target_clk_ns)
elif kind == "alveo":
ret["board"] = os.getenv("ALVEO_BOARD", default="U250")
ret["part"] = alveo_part_map[ret["board"]]
ret["platform"] = alveo_default_platform[ret["board"]]
ret["ip"] = os.getenv("ALVEO_IP", "")
ret["username"] = os.getenv("ALVEO_USERNAME", "")
ret["password"] = os.getenv("ALVEO_PASSWORD", "")
ret["port"] = os.getenv("ALVEO_PORT", 22)
ret["target_dir"] = os.getenv("ALVEO_TARGET_DIR", "/tmp/finn_alveo_deploy")
ret["build_fxn"] = VitisBuild(
ret["part"],
target_clk_ns,
ret["platform"],
alveo_default_platform[ret["board"]],
strategy=VitisOptStrategy.BUILD_SPEED,
)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment