From 54529dfcc5c0ce3f5992706d53ad54a340f53764 Mon Sep 17 00:00:00 2001
From: Umberto Baldi <34278123+umbynos@users.noreply.github.com>
Date: Wed, 15 Nov 2023 18:19:29 +0100
Subject: [PATCH] remove trailing `-`: the IDE2 sets it automatically

With newer versions of the IDE this was causing problems.
See https://github.com/arduino/arduino-cli/pull/2428
---
 platform.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/platform.txt b/platform.txt
index 0955b1c54..0e7193624 100644
--- a/platform.txt
+++ b/platform.txt
@@ -214,7 +214,7 @@ tools.gdb.cmd.windows=arm-none-eabi-gdb.exe
 debug.executable={build.path}/{build.project_name}.elf
 debug.toolchain=gcc
 debug.toolchain.path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/
-debug.toolchain.prefix=arm-none-eabi-
+debug.toolchain.prefix=arm-none-eabi
 debug.server=openocd
 debug.server.openocd.path={runtime.tools.openocd-0.11.0-arduino2.path}/bin/openocd
 debug.server.openocd.scripts_dir={runtime.tools.openocd-0.11.0-arduino2.path}/share/openocd/scripts/