Select output format from the command line

Comments

1 comment

  • Avatar
    Jon Elliott

    CrossBuild will generate other output formats based on the "Linker Options > Additional Output Format" project property set in the .hzp file.

    I'm not aware of a way of specifying the output format on the command line.

    One solution may be to call the tool that CrossWorks uses to generate the alternative output formats directly from the command line - this is "$(StudioDir)/gcc/bin/objcopy" for ARM or "$(StudioDir)/bin/hex" for other targets.

    0
    Comment actions Permalink

Please sign in to leave a comment.