From 88e65b7587cc41f8c4ecbd056db1f5b01225f793 Mon Sep 17 00:00:00 2001
From: "p.koevesdi"
Date: Sun, 17 Nov 2024 12:21:07 +0100
Subject: [PATCH] fixed wrong architecture
---
calculate-memory.rhai | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/calculate-memory.rhai b/calculate-memory.rhai
index 2075619..b175cf7 100644
--- a/calculate-memory.rhai
+++ b/calculate-memory.rhai
@@ -20,7 +20,7 @@ variable::set(
).to_hex()
);
-let target = variable::get("target");
+let target = variable::get("target-arch");
variable::set("architecture", switch target {
"thumbv6m-none-eabi" => "armv6m",