aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/mcusupport/mcusupportoptions.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2020-07-03 09:46:44 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2020-07-06 07:51:48 +0000
commit6fec04d6de52034ffd61c591393e460dc3a33c8f (patch)
treed265f051c21c25b89fa9ff076775ab5a6c4deee9 /src/plugins/mcusupport/mcusupportoptions.cpp
parent5c6c892388f9e15d31539c8578e28b834b553cc8 (diff)
McuSupport: Find default FreeRTOS dir inside pre-installed board SDK
Qt for MCUs 1.3 ships the board/MCU SDKs, and also adds the subdir to the FreeRTOS component inside the board/MCU SDKs as "boardSdkSubDir" to the .json files (see: UL-2760). Task: Qt Creator needs to lookup that "boardSdkSubDir" value and use it to construct a default path for the FreeRTOS path. Task-number: QTCREATORBUG-24300 Change-Id: Ie3c8186b76443d5fe3640226ea61aa8b14779d54 Reviewed-by: Rainer Keller <Rainer.Keller@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/mcusupport/mcusupportoptions.cpp')
-rw-r--r--src/plugins/mcusupport/mcusupportoptions.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/mcusupport/mcusupportoptions.cpp b/src/plugins/mcusupport/mcusupportoptions.cpp
index ece93331e7c..911f0b3091e 100644
--- a/src/plugins/mcusupport/mcusupportoptions.cpp
+++ b/src/plugins/mcusupport/mcusupportoptions.cpp
@@ -95,6 +95,11 @@ QString McuPackage::label() const
return m_label;
}
+QString McuPackage::defaultPath() const
+{
+ return m_defaultPath;
+}
+
QString McuPackage::detectionPath() const
{
return m_detectionPath;