Standalone download of GNU Tools for STM32 for CI pipelines
We develop STM32 firmware with STM32CubeMX (CMake project) and STM32CubeCLT
1.23.0. Our release builds run in a CI pipeline (GitHub Actions), so that
everyone in the company gets the same, traceable firmware version.
The problem: ST's compiler (GNU Tools for STM32 14.3.rel1) is only available
inside STM32CubeCLT / STM32CubeIDE, and the download requires a login. It
therefore can't be installed automatically in a pipeline. We use Arm GNU
Toolchain 14.3.Rel1 in CI instead. Its output differs from local builds with
ST's compiler: the same source produces a 26168-byte image with Arm's compiler
and 26084 bytes with ST's. So the firmware we test locally is not
byte-identical to the one we release.
Our request: please provide the compiler on its own, versioned and
downloadable without a login (e.g. a fixed URL per version), ideally also as a
Docker image or GitHub Action. Arm already does this for its toolchain. That
would make it possible to build locally and in CI with exactly the same
compiler.
Is something like this planned, or is there already a recommended way to use
ST's compiler in CI?
