Keil编译设置里的“fromelf.exe --bin -o "$L@L.bin" "#L"到底什么意思?

官方解释:Key Sequence for Tool Parameters

%   File name with extension (PROJECT1.UVPROJ)
#   File name with extension and complete path specification (C:\MYPROJECT\PROJECT1.UVPROJ)
@   File name without extension or path specification (PROJECT1)
$   Path name of a file. Path names get extended with a backslash. For example, $P could generate C:\MYPROJECT\.
L   Linker output file. Typically the executable file used for debugging (PROJECT1).

标签: none 阅读量: 3509

仅有一条评论

  1. Faceless

    $L:表示生成的链接文件路径
    @L:表示生成的链接文件名,不包括扩展名
    #L:表示生成的链接文件名,包含具体路径和扩展名
    fromelf.exe是keil自带的编译脚本,--bin -o是编译生成bin文件

添加新评论