Select output format from the command line
I know this it can be done from within the CrossStudio IDE, however is there is a way to select the output format (.hex, .bin, .srec) from the command line using the crossbuild application?
-
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.
Please sign in to leave a comment.
Comments
1 comment