不想看怎么使用,就用以下两条命令就好。

1、这条直接复制到上面箭头框里,记得打钩,这条是直接在输出目录下生成bin文件
fromelf --bin -o "$L\@L.bin" "#L"
2、这条是在输出目录下的BIN文件夹下生成bin文件
fromelf --bin -o "$LBIN\@L.bin" "#L"
3、这条是在输出目录下的上一级目录的BIN文件夹下生成bin文件
fromelf --bin -o .\BIN\@L.bin "#L"
formelf.exe的语法,参考这位博主的 Keil如何用fromelf.exe工具生成目标(bin,hex等)文件-CSDN博客
fromelf [options] input_file (命令的格式)
Options:
--help display this help screen (显示帮助信息)
--vsn display version information (显示版本信息)
--output file the output file. (defaults to stdout for -text format) (输出文件(默认的输出为文本格式))
--nodebug do not put debug areas in the output image (在生成的映象中不包含调试信息)
--nolinkview do not put sec

本文介绍了Keil使用自带的fromelf生成bin文件的方法,给出三条生成bin文件的命令,分别可在输出目录、输出目录下的BIN文件夹、输出目录上一级目录的BIN文件夹生成。还说明了fromelf中$L、@L、L的用法及含义,并举例说明命令生成的bin文件路径。

8408

被折叠的 条评论
为什么被折叠?



