习学发开 发表于 2012-12-22 20:00:30

出bin文件的问题,格式不知道怎么写

F:\Keil\ARM\BIN40\fromelf.exe --bin --output .\output\test.bin .\output\test.axf

两个问题:
第一个:output在我的命令行中是哪个目录?我现在糊涂了。

第二个:bin(目标文件)在前,axf(源文件)在后,对吧?参数没有写错吧?

ming180 发表于 2012-12-22 22:06:10

fromelf.exe --bin test.axf --output test.bin
楼主参考一下,fromelf.exe和test.axf还有test.bin根据实际所在路径决定

习学发开 发表于 2012-12-22 22:11:07

ming180 发表于 2012-12-22 22:06 static/image/common/back.gif
fromelf.exe --bin test.axf --output test.bin
楼主参考一下,fromelf.exe和test.axf还有test.bin根据实际 ...

谢谢你的回复,我就是不知道路径怎么写,windows路径的命名规则忘了
output这个目录是我再project options里面设置的输出目录还是什么?我现在彻底乱了

ming180 发表于 2012-12-23 13:04:42

习学发开 发表于 2012-12-22 22:11 static/image/common/back.gif
谢谢你的回复,我就是不知道路径怎么写,windows路径的命名规则忘了
output这个目录是我再project option ...

.\            是命令行当前工作目录的路径
.\output是当前工作目录下的output子目录
至于output目录中的axf文件生成的路径是可以在Keil中设置的

习学发开 发表于 2012-12-23 14:01:56

ming180 发表于 2012-12-23 13:04 static/image/common/back.gif
.\            是命令行当前工作目录的路径
.\output是当前工作目录下的output子目录
至于output目录中 ...

设置成功了,多谢!
页: [1]
查看完整版本: 出bin文件的问题,格式不知道怎么写