forked from qt-creator/qt-creator
Revert "McuSupport: CMake expects programmer path to include the bin folder"
This reverts commit e558fc4d1f.
Reason for revert: Because this is incompatible with how QtCreator 8
makes kits, it breaks the kit when changing versions. A fix for the
original issue was made in Qt for MCUs to accommodate not having bin
the path, allowing the detectionPath to be bin/... in matching with
legacy code.
Change-Id: I64c670398287b3ec9beec0aa6fac02325b322664
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -143,8 +143,8 @@ const char stmCubeProgrammerSetting[]{"Stm32CubeProgrammer"};
|
||||
const char stmCubeProgrammerLabel[]{"STM32CubeProgrammer"};
|
||||
const QString stmCubeProgrammerPath{QString{defaultToolPath} + "/bin"};
|
||||
const QString stmCubeProgrammerDetectionPath{HostOsInfo::isWindowsHost()
|
||||
? QString("STM32_Programmer_CLI.exe")
|
||||
: QString("STM32_Programmer.sh")};
|
||||
? QString("bin/STM32_Programmer_CLI.exe")
|
||||
: QString("bin/STM32_Programmer.sh")};
|
||||
|
||||
const char renesasProgrammerSetting[]{"RenesasFlashProgrammer"};
|
||||
const char renesasProgrammerCmakeVar[]{"RENESAS_FLASH_PROGRAMMER_PATH"};
|
||||
|
||||
Reference in New Issue
Block a user