2020-03-17 11:33 AM
... ideally automatically as part of a normal Debug or Release build.
Solved! Go to Solution.
2020-03-17 01:09 PM
Project Properties > C/C++ Build > Settings > Build steps > Post-build steps > Command:
arm-none-eabi-objcopy -O ihex ${ProjName}.elf ${ProjName}.hex
2020-03-17 01:09 PM
Project Properties > C/C++ Build > Settings > Build steps > Post-build steps > Command:
arm-none-eabi-objcopy -O ihex ${ProjName}.elf ${ProjName}.hex
2021-02-04 10:07 AM
for google:
Project -> Properties -> C/C++ Build: Settings -> Tools Settings : MCU Post build outputs: "Convert to Intel Hex file (-O ihex)"
2021-07-05 02:58 AM
2021-07-05 02:58 AM
This works for me.
(STM32CubeIDE, Version: 1.6.1, Build: 9958_20210326_1446 (UTC))
2022-05-27 01:56 AM
If someone wants to locate the hex file inside project... Find your workspace file--> project file --> Debug. You will find the .hex file inside Debug folder.
2023-07-30 02:58 PM
the developers didn't bother to make it convenient at all. But thanks those who answered
2023-07-30 10:09 PM - edited 2023-07-30 10:10 PM
In case anyone wants to know how to generate the file with the calculated CRC (this post was made with my other user who was BANNED from this forum for reasons I don't know):
https://github.com/ethanhuanginst/STM32CubeIDE-Workshop-2019/issues/4