AWS平台错误

0

【以下的问题经过翻译处理】 我在AWS机器上构建项目时遇到AWS_PLATFORM错误,请看下面的错误提示:

ERROR: [v++ 60-1258] No valid platform was found that matches 'AWS_PLATFORM'. Please make sure that the platform is specified correctly

平台仓库路径为:

/home/ubuntu/aws/aws-fpga/Vitis/aws_platform/xilinx_aws-vu9p-f1_shell-v04261818_201920_2/tools/Xilinx/Vitis/2019.2/platforms

从上述仓库路径中找到的有效平台为:

/home/ubuntu/aws/aws-fpga/Vitis/aws_platform/xilinx_aws-vu9p-f1_shell-v04261818_201920_2/xilinx_aws-vu9p-f1_shell-v04261818_201920_2.xpfm

/tools/Xilinx/Vitis/2019.2/platforms/xcvc1902_fixed/xcvc1902_fixed.xpfm

当我检查环境变量时,我发现:

$ echo $PLATFORM_REPO_PATHS

/home/ubuntu/aws/aws-fpga/Vitis/aws_platform/xilinx_aws-vu9p-f1_shell-v04261818_201920_2

$ echo $AWS_PLATFORM

/home/ubuntu/aws/aws-fpga/Vitis/aws_platform/xilinx_aws-vu9p-f1_shell-v04261818_201920_2/xilinx_aws-vu9p-f1_shell-v04261818_201920_2.xpfm

那问题出在哪里呢?我已经正确设置了AWS_PLATFORM名称和PLATFORM_REPO_PATHS路径,但是Vivado仍然报错未找到与 'AWS_PLATFORM' 匹配的有效平台。

profile picture
EXPERT
asked 6 months ago16 views
1 Answer
0

【以下的回答经过翻译处理】 是您在在运行make命令时忘记了在AWS_PLATFORM前面加上$符号。

正确的命令应该是:

make check TARGET=hw DEVICE=$AWS_PLATFORM

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions