I would like to have more than one post link command, in SES. I can of course replace the one default to invoke my script say.
But I wonder if you can do this in SES without custom script.
So in project settings, User Build Steps, Post-Link Command I would like to replace with 2 in 1 as:
"$(ToolChainDir)/arm-none-eabi-objcopy" -Oihex "$(RelTargetPath)" "$(PostLinkOutputFilePath)".hex ; "$(ToolChainDir)/arm-none-eabi-objcopy" -v -Obinary "$(RelTargetPath)" "$(PostLinkOutputFilePath)".bin
But the chaining doesn't work, everything after first objcopy gets passed to it as arguments.
Additionally, for above I modified Post-Link Output file, to remove extension so that I can add it to the commands above. That, screws up the "Output Files" folder, which appears after you have built project and it contains the outputs. Now, removing extension from Post-Link Output file screws it up - only single no-extension output appears, which you cannot access - because that folder doesn't represent what's on the actual filesystem, it seems contains the targets defined through the project config.
Would be nice to have option to add multiple Post-link commands, and multiple output files.
But I wonder if you can do this in SES without custom script.
So in project settings, User Build Steps, Post-Link Command I would like to replace with 2 in 1 as:
"$(ToolChainDir)/arm-none-eabi-objcopy" -Oihex "$(RelTargetPath)" "$(PostLinkOutputFilePath)".hex ; "$(ToolChainDir)/arm-none-eabi-objcopy" -v -Obinary "$(RelTargetPath)" "$(PostLinkOutputFilePath)".bin
But the chaining doesn't work, everything after first objcopy gets passed to it as arguments.
Additionally, for above I modified Post-Link Output file, to remove extension so that I can add it to the commands above. That, screws up the "Output Files" folder, which appears after you have built project and it contains the outputs. Now, removing extension from Post-Link Output file screws it up - only single no-extension output appears, which you cannot access - because that folder doesn't represent what's on the actual filesystem, it seems contains the targets defined through the project config.
Would be nice to have option to add multiple Post-link commands, and multiple output files.