Skip to content

Make firmware release builds reproducible - #430

Open
stojadin2701 wants to merge 6 commits into
mainfrom
fix/reproducible-firmware-builds
Open

stojadin2701 wants to merge 6 commits into
mainfrom
fix/reproducible-firmware-builds

Conversation

@stojadin2701

@stojadin2701 stojadin2701 commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Pin the verified STM32 platform, Arm GCC, and SCons for Vega and Telemetry, plus STM32CubeG0 and linker scripts for Telemetry.

  • Keep Ground Station on the versioned Tasmota platform and pin SCons and NeoPixel. Keep the unused NeoPixel dependency out of compilation so it cannot change the ELF fingerprint.

  • Use Python 3.15.2 for Vega and Telemetry and Python 3.14.10 for Ground Station in the Windows upload jobs. Document the corresponding local build setup.

  • Honor the requested commit SHA in the format, lint, and upload checkouts.

  • Normalize source and Xtensa DWARF paths so Ground Station retains debug information while flat and nested toolchain installs generate the same ELF and firmware images.

  • Pass the requested SHA and changed-files JSON through environment variables in the Bash matrix filter.

Validation

  • actionlint and the Ground Station pre-commit suite passed locally.
  • Windows Python 3.15.2 builds reproduced the published Vega 3.0.2 and Telemetry 1.2.0 binaries byte for byte.
  • The Windows Python 3.14.10 build reproduced the previously verified Ground Station ELF, BIN, and UF2 byte for byte.
  • The PR's Windows artifacts match the local builds byte for byte. Compared the Vega and Telemetry BINs plus the Ground Station ELF, BIN, and UF2. Firmware CI
  • The Ground Station Simulator workflow passed. Simulator CI
  • The matrix filter passed eight local cases, and the PR run selected all three firmware projects. Matrix job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant