From 84b7e693d49fcebc6a54b727f96f89678ceb928f Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Tue, 5 May 2020 14:41:40 +0300 Subject: [PATCH] BareMetal: Remove extra slash in auto-detected Keil toolchain path Change-Id: I2de655155c7d84c2b74536ef89931a3e122da4cb Reviewed-by: hjk --- src/plugins/baremetal/keiltoolchain.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/baremetal/keiltoolchain.cpp b/src/plugins/baremetal/keiltoolchain.cpp index 3eca05dcc65..09ffd87c089 100644 --- a/src/plugins/baremetal/keiltoolchain.cpp +++ b/src/plugins/baremetal/keiltoolchain.cpp @@ -642,13 +642,13 @@ QList KeilToolChainFactory::autoDetect(const QList &al // Fetch the toolchain executable path. FilePath compilerPath; if (productPath.endsWith("ARM")) - compilerPath = productPath.pathAppended("\\ARMCC\\bin\\armcc.exe"); + compilerPath = productPath.pathAppended("ARMCC\\bin\\armcc.exe"); else if (productPath.endsWith("C51")) - compilerPath = productPath.pathAppended("\\BIN\\c51.exe"); + compilerPath = productPath.pathAppended("BIN\\c51.exe"); else if (productPath.endsWith("C251")) - compilerPath = productPath.pathAppended("\\BIN\\c251.exe"); + compilerPath = productPath.pathAppended("BIN\\c251.exe"); else if (productPath.endsWith("C166")) - compilerPath = productPath.pathAppended("\\BIN\\c166.exe"); + compilerPath = productPath.pathAppended("BIN\\c166.exe"); if (compilerPath.exists()) { // Fetch the toolchain version.