summaryrefslogtreecommitdiff
path: root/bootloader/Core
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/Core')
-rwxr-xr-xbootloader/Core/Src/ghostfat.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/bootloader/Core/Src/ghostfat.c b/bootloader/Core/Src/ghostfat.c
index e3a94d6..28ff3e4 100755
--- a/bootloader/Core/Src/ghostfat.c
+++ b/bootloader/Core/Src/ghostfat.c
@@ -76,10 +76,14 @@ struct UF2File {
int size;
};
+#define BOOTLOADER_VERSION "1.04"
+__attribute__((section(".signature"), used)) const char firmware_signature[4] = BOOTLOADER_VERSION;
+
+
const char infoUf2File[] = //
- "UF2 Bootloader v1.0.3 Plinky\r\n"
- "Model: Plinky Synth v1.0.3\r\n"
- "Board-ID: STM32L476-Plinky-103\r\n";
+ "UF2 Bootloader v" BOOTLOADER_VERSION " Plinky\r\n"
+ "Model: Plinky Synth Bootloader v" BOOTLOADER_VERSION "\r\n"
+ "Board-ID: STM32L476-Plinky-v3\r\n";
const char indexFile[] = //
"<!doctype html>\n"