eide icon indicating copy to clipboard operation
eide copied to clipboard

[question] 关于stm32烧录命令的一些疑问

Open tech-song opened this issue 10 months ago • 1 comments

请问如何配置烧录时执行的命令或传递的参数?

具体来说,图1中由于STM32_Programmer_CLI不支持中文路径,会导致烧录失败:

Image

能否将其修改成传递“download”参数时传递相对路径,而非绝对路径?这样的话即使项目文件夹命名存在中文也能成功烧录,只要hex文件名不是中文即可:

Image

tech-song avatar Mar 02 '25 03:03 tech-song

How would I specify a build directory on a different drive and path? I'd like to specify E:\Elecprog\arm_output
Whatever I try I get a "Not match RegExp" error.

Thank you.

LarryVDB avatar Mar 24 '25 19:03 LarryVDB

使用绝对路径是为了确保任何时候都有效,而不会因为当前目录的不同而导致失败。这个暂时不会修改。

不支持中文是 STM32_Program_CLI.exe 自身的问题

github0null avatar Aug 12 '25 14:08 github0null