aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/mcusupport/mcusupportconstants.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-08-14 11:48:13 +0200
committerhjk <hjk@qt.io>2019-09-30 15:04:32 +0000
commitb0ea4311e8c2394e4ce4d039622ae4182742d6a8 (patch)
tree5169a2bb3a28f4157e15c0bd1b2119ad6f3305e6 /src/plugins/mcusupport/mcusupportconstants.h
parent6b73eec05bceba0dd370bbfb7927bf5681c00709 (diff)
Short live McuSupport
Medium term to be merged with BareMetal/RemoteLinux/... Change-Id: I444c65bcfa8e3cf8642ff64e964459720814860a Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/mcusupport/mcusupportconstants.h')
-rw-r--r--src/plugins/mcusupport/mcusupportconstants.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/plugins/mcusupport/mcusupportconstants.h b/src/plugins/mcusupport/mcusupportconstants.h
new file mode 100644
index 0000000000..2cc5bee41a
--- /dev/null
+++ b/src/plugins/mcusupport/mcusupportconstants.h
@@ -0,0 +1,49 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+****************************************************************************/
+
+#pragma once
+
+namespace McuSupport {
+namespace Constants {
+
+const char TOOLCHAIN_TYPEID[] = "McuSupport.ToolChain.ARM-GCC";
+const char DEVICE_TYPE[] = "McuSupport.DeviceType";
+const char DEVICE_ID[] = "McuSupport.Device";
+const char MCUSUPPORT_QT_VERSION[] = "Qt4ProjectManager.QtVersion.McuSupport";
+const char RUNCONFIGURATION[] = "McuSupport.RunConfiguration";
+const char SETTINGS_ID[] = "CC.McuSupport.Configuration";
+const char KIT_BOARD_MODEL_KEY[] = "McuSupport.BoardModel";
+
+const char ENVVAR_ARMGCC_DIR[] = "ARMGCC_DIR";
+const char ENVVAR_STM32CUBE_FW_F7_SDK_PATH[] = "STM32Cube_FW_F7_SDK_PATH";
+
+const char SETTINGS_GROUP[] = "McuSupport";
+const char SETTINGS_KEY_PACKAGE_PREFIX[] = "package_";
+const char SETTINGS_KEY_PACKAGE_ARMGCC[] = "ArmGcc";
+const char SETTINGS_KEY_STM32CUBE_FW_F7_SDK_PATH[] = "STM32Cube_FW_F7_SDK_PATH";
+const char SETTINGS_KEY_STM32CUBE_PROGRAMMER_PATH[] = "STM32Cube_Cube_Programmer_Path";
+
+} // namespace McuSupport
+} // namespace Constants