Eclipse 上 STM32F7 的无效命令行错误

Invalid command line error with STM32F7 on Eclipse

我在 Ubuntu 下使用 Eclipse 来处理 STM32F7 DISCOVERY 我已将系统设置为将我的 blinky 项目闪存到 Discovery。构建项目后,我转到 运行-> 外部工具并点击 运行 下载代码以刷新,但我在控制台 window:

上收到以下消息
invalid command line
stlinkv1 command line: ./st-flash [--debug] [--reset] {read|write} /dev/sgX path addr <size>
stlinkv1 command line: ./st-flash [--debug] /dev/sgX erase
stlinkv2 command line: ./st-flash [--debug] [--reset] {read|write} path addr <size>
stlinkv2 command line: ./st-flash [--debug] erase
                   use hex format for addr and <size>

我使用的外部工具配置如下:

Main-> Location /usr/local/bin/st-flash Main -> Working Directory ${project_loc}/Release Main -> Arguments:write${project_name}.bin 0x8000000

你没有给出串口的路径。命令行的输出显示语法。