From 00f359250c071fb4b3035be2550439eac800817e Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Sat, 9 May 2026 17:57:45 -0400 Subject: [PATCH] chore: add SKUDAK -S1 version suffix to VERSTR The OpenInverter web UI displays the firmware version from the 'version' parameter (entry 2001), which expands VERSTR. Out of the box this reads '4=1.19.R' (upstream version, no Skudak indicator). With this change it reads '4=1.19.R-S1' so we can visually confirm we're running the Skudak fork and not stock OpenInverter firmware. Matches the convention already used in stm32-sine ('-sine-S6' / '-foc-S6') where the -S suffix bumps on each Skudak-side change. Verified: 'strings stm32_charger.bin | grep S1' shows '4=1.19.R-S1' in the built artifact. Co-Authored-By: Claude Opus 4.7 (1M context) --- include/param_prj.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/param_prj.h b/include/param_prj.h index 262d41e..6731ea7 100644 --- a/include/param_prj.h +++ b/include/param_prj.h @@ -124,7 +124,10 @@ #define CAT_CHARGER "Charger" #define CAT_COMM "Communication" -#define VERSTR STRINGIFY(4=VER) +// SKUDAK customization suffix: bump on every Skudak-side change so the OpenInverter +// web UI shows a distinct version (e.g. "4=1.19.R-S1") and we can visually confirm +// the right firmware is flashed. Match the stm32-sine -S convention. +#define VERSTR STRINGIFY(4=VER-S1) /***** enums ******/