sha256sum different for hex file generated from STM32CubeIDE and STM32CubeCLT
Hi,
I am working on automating the build process of the ST firmware and for that I was looking for CLI tools which can be used for the same. I found that STM32CubeCLT is a toolset extracted from STM32CubeIDE, so I was trying out the toolset to check if it fulfils my needs. For development purposes we use STM32CubeIDE.
To check if same hex file is generated, I built the firmware to generate the hex files using the STM32CubeIDE and STM32CubeCLT and calculated the sha2556sum hash of both the files. It turns out that both the hex files return different hash values.
Is there any specific reason for this? I checked the commands executed by both the IDE and the CLI tool and the commands are same as far as I can tell. Note that I did clean build both the times(i.e. for CLI and IDE).
Also I have noticed that there is no user manual/reference document for the STM32CubeCLT toolset except for the quick start guide. So I used the command mentioned in the quick start guide to build firmware using CLI.
Regards,
Sahil
