feat(firmware): add on-device git push spike (git_push)
Wi-Fi + SNTP + flash-FAT + libgit2 in one bench binary: init a fresh working copy, commit, and push a per-boot device/<unix> branch over mbedTLS HTTPS with PAT auth. Gated behind the `git` feature; built/flashed via `just flash-git-push`. Status: local git init verified on hardware; the ODB-write fix and the full push are not yet confirmed end-to-end on device. Cert verification is bypassed in the push callback (spike shortcut) -- real trust-store wiring must land before this leaves the bench.
This commit is contained in:
@@ -38,6 +38,16 @@ path = "src/bin/git_smoke.rs"
|
||||
harness = false
|
||||
required-features = ["git"]
|
||||
|
||||
# Spike 7 Path 2 finish — on-device init/commit/push over mbedTLS HTTPS. Wi-Fi +
|
||||
# SNTP + flash-FAT + libgit2 in one bench binary. Gated behind `git` like
|
||||
# git_smoke. Build/flash with `just flash-git-push` (needs the git TW_* vars in
|
||||
# .env; flashes partitions.csv so the `storage` FAT partition exists).
|
||||
[[bin]]
|
||||
name = "git_push"
|
||||
path = "src/bin/git_push.rs"
|
||||
harness = false
|
||||
required-features = ["git"]
|
||||
|
||||
[profile.release]
|
||||
opt-level = "s"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user