Commit Graph

9 Commits

Author SHA1 Message Date
8c8ac71a6f Use arm-none-eabi-objcopy instead of llvm-objcopy
Since LLVM v15, llvm-objcopy seems to produce broken (misaligned?)
binaries, which when combined with some difficult to debug timing issues
caused by the calibrate_dac_feedback routine, would cause the
independent watchdog to kick in, and bootloop the Thermostat.

As NixOS 23.11 ships LLVM v16, upgrading to it breaks builds. Using
rust-objcopy from cargo-binutils does not help either since the pinned
version of Rust uses LLVM v15.

arm-none-eabi-objcopy doesn't have this problem, so use it instead.

See https://github.com/llvm/llvm-project/issues/58407 and
https://github.com/rust-lang/rust/issues/102983.
2024-01-24 10:52:00 +08:00
76b95f66e0 Use latest working stable rust 2024-01-17 15:29:41 +08:00
78012f6fdd flake: Use rust from manifest, not from pkgs
Fix the rustPlatform deprecation warnings properly.
2023-09-20 11:29:38 +08:00
f29e86310d Update nix repos 2023-08-09 11:23:32 +08:00
5688b2f1bb flake: update stm32-eth sha256 hash 2022-03-02 17:21:17 +08:00
e6f63ec940 cargo/nix: update rustc, stm32-eth, smoltcp 2022-03-02 17:21:17 +08:00
67446ae99e cargo/flake: update package versions 2022-03-02 17:21:17 +08:00
Alex Wong
69dabf5aa1 update hash 2022-01-24 17:20:32 +08:00
4d43709f76 nix flakes support (#64)
Reviewed-on: #64
Co-authored-by: mwojcik <mw@m-labs.hk>
Co-committed-by: mwojcik <mw@m-labs.hk>
2022-01-19 11:13:47 +08:00