feat: add BUILD_TOKEN to firmware and consolidate build system

- Generate BUILD_TOKEN from 'git describe --always --dirty'
- Include via -include flag in justfile compile recipe
- Print BUILD_TOKEN in boot banners (DoorbellLogic + uno-r4-wifi)
- Remove all [tasks] from mise.toml; keep only [tools] + [env]
- Update AGENTS.md to use just commands as single source of truth
- Add 'just full' recipe (compile -> upload -> monitor -> watch)
- Switch BOARD var to env_var_or_default for mise set compatibility
- DRY clean/clean-temp with wildcard patterns
This commit is contained in:
2026-05-29 20:17:42 -07:00
parent ece874a8ed
commit 6f9d2912d3
5 changed files with 99 additions and 253 deletions
+5 -1
View File
@@ -1,6 +1,10 @@
#pragma once
#define FW_VERSION "5.1"
#define FW_VERSION "6.0"
#ifndef BUILD_TOKEN
#define BUILD_TOKEN "dev"
#endif
// ── ntfy.sh ──
#define NTFY_SERVER "ntfy.sh"
+1 -1
View File
@@ -21,7 +21,7 @@ void DoorbellLogic::begin(
#endif
Serial.println(F("========================================"));
Serial.printf(" KLUBHAUS ALERT v%s — %s\n", _version, _board);
Serial.printf(" KLUBHAUS ALERT v%s (%s) — %s\n", _version, BUILD_TOKEN, _board);
if(_debug)
Serial.println(F(" *** DEBUG MODE — _test topics ***"));
Serial.println(F("========================================\n"));