← Back to the chapter · Next detail →

Technical detail · Managing Libraries and Version Control

Build evidence for firmware and gateways

Kconfig records build options; a devicetree describes hardware and its connections to software. The stack holds call frames and local values, while the heap holds memory allocated as the program runs. Record their limits or observed use so the same build can be tested again.

Then prove the contract in the smallest useful run. For Arduino or PlatformIO firmware, record platformio.ini, board package version, lib_deps, compiler output, binary size, and the serial log for one normal and one fault case. For ESP-IDF or Zephyr, record component revision, Kconfig or devicetree options, build target, partition table, stack or heap evidence, and the command that flashed the board. For gateway code, record the npm, pip, Go module, Cargo, or Docker lockfile plus the local broker, SQLite queue, systemd unit, or container configuration used during the run.

← Back to the chapter · Next detail →