Solved
How does one generate a .hex file from STM32CubeIDE?
... ideally automatically as part of a normal Debug or Release build.
... ideally automatically as part of a normal Debug or Release build.
Project Properties > C/C++ Build > Settings > Build steps > Post-build steps > Command:
arm-none-eabi-objcopy -O ihex ${ProjName}.elf ${ProjName}.hex
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.