2019-06-27 10:30 AM
Using TrueStudio we have a post build step which modifies the generated binary file, but using STM32CubeIDE doesn't work because the post build step is executed before the binary file is generated. How I can perform a step after generate the binary file?
Here is a sample output:
Finished building target: MyApp.elf
make --no-print-directory post-build
echo "This is my Post-build step"
This is my Post-build step
arm-none-eabi-size MyApp.elf
arm-none-eabi-objdump -h -S MyApp.elf > "MyApp.list"
text data bss dec hex filename
6168 12 1868 8048 1f70 MyApp.elf
arm-none-eabi-objcopy -O binary MyApp.elf "MyApp.bin"
Finished building: default.size.stdout
Finished building: MyApp.bin
Finished building: MyApp.list
2019-06-28 01:48 AM
This is fixed in our internal builds and will be part of a release pretty soon.
I don't know of a workaround in the meantime.
2019-06-28 02:23 AM
Thank you Markus!
It's fine for me if this issue it's solved in the next release.