From 2ecdaa538fc7a9b9613b01357fbd2cdb293735a8 Mon Sep 17 00:00:00 2001
From: Alex Evans <715855+mmalex@users.noreply.github.com>
Date: Wed, 6 Nov 2024 14:21:16 +0000
Subject: fix the plinky bootloader to work on mac
---
sw/.settings/language.settings.xml | 4 ++--
sw/.settings/stm32cubeide.project.prefs | 6 +++---
sw/Core/Src/main.c | 2 +-
sw/plinkyblack Debug.launch | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
(limited to 'sw')
diff --git a/sw/.settings/language.settings.xml b/sw/.settings/language.settings.xml
index 05a91a8..f68ba64 100755
--- a/sw/.settings/language.settings.xml
+++ b/sw/.settings/language.settings.xml
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
diff --git a/sw/.settings/stm32cubeide.project.prefs b/sw/.settings/stm32cubeide.project.prefs
index d4dfdc6..e48e441 100755
--- a/sw/.settings/stm32cubeide.project.prefs
+++ b/sw/.settings/stm32cubeide.project.prefs
@@ -1,4 +1,4 @@
-2F62501ED4689FB349E356AB974DBE57=3A1D5F1D5DA59C315821B45517AD15C0
-8DF89ED150041C4CBC7CB9A9CAA90856=3A1D5F1D5DA59C315821B45517AD15C0
-DC22A860405A8BF2F2C095E5B6529F12=49746FB430C2084109BFFA3487BC8947
+2F62501ED4689FB349E356AB974DBE57=02DB07920DEA441BA5892DC44D0C2A3F
+8DF89ED150041C4CBC7CB9A9CAA90856=02DB07920DEA441BA5892DC44D0C2A3F
+DC22A860405A8BF2F2C095E5B6529F12=9E9B7CEA8F919227A9A9A8BAD4CA1FA0
eclipse.preferences.version=1
diff --git a/sw/Core/Src/main.c b/sw/Core/Src/main.c
index c225277..d070d81 100755
--- a/sw/Core/Src/main.c
+++ b/sw/Core/Src/main.c
@@ -200,7 +200,7 @@ void check_bootloader_flash(void) {
DebugLog("bootloader left %d ones for us magic is %08x\r\n", count, magic);
if (count!=64/4 || magic!=0xa738ea75)
return;
-
+ rb32[64]++; // clear the magic
const uint32_t *app_base = (const uint32_t *)DELAY_BUF;
DebugLog("bootloader app base is %08x %08x\r\n", app_base[0], app_base[1]);
diff --git a/sw/plinkyblack Debug.launch b/sw/plinkyblack Debug.launch
index 9ade9f2..8b4f438 100644
--- a/sw/plinkyblack Debug.launch
+++ b/sw/plinkyblack Debug.launch
@@ -60,7 +60,7 @@
-
+
--
cgit v1.2.3