forked from qt-creator/qt-creator
McuSupport: Bring tvii and rh850 kits up to date with latest QUL
Bring recently changed kits up to date with QUL repository. Task-number: QTCREATORBUG-28684 Task-number: QTCREATORBUG-28833 Change-Id: Id70268584891a72659930817a5c8458418a9f3b0 Reviewed-by: Yasser Grimes <yasser.grimes@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
constexpr auto ghs_rh850_d1m1a_baremetal_json = R"(
|
||||
{
|
||||
"qulVersion": "2.3.0",
|
||||
"qulVersion": "2.4.0",
|
||||
"compatVersion": "1",
|
||||
"platform": {
|
||||
"id": "RH850-D1M1A-BAREMETAL",
|
||||
@@ -19,17 +19,16 @@ constexpr auto ghs_rh850_d1m1a_baremetal_json = R"(
|
||||
"setting": "FlashProgrammerPath",
|
||||
"label": "Renesas Flash Programmer",
|
||||
"type": "path",
|
||||
"setting": "RenesasFlashProgrammer",
|
||||
"cmakeVar": "RENESAS_FLASH_PROGRAMMER_PATH",
|
||||
"defaultValue": {
|
||||
"windows": "%{Env:PROGRAMFILES}/Renesas Electronics/Programming Tools/Renesas Flash Programmer V3.09",
|
||||
"linux": "%{Env:HOME}"
|
||||
"linux": "",
|
||||
"windows": "%{Env:PROGRAMFILES(x86)}/Renesas Electronics/Programming Tools/Renesas Flash Programmer V3.09"
|
||||
},
|
||||
"detectionPath": {
|
||||
"windows": "rfp-cli.exe",
|
||||
"linux": "rfp-cli"
|
||||
},
|
||||
"envVar": "RENESAS_FLASH_PROGRAMMER_PATH",
|
||||
"envVar": "RenesasFlashProgrammer_PATH",
|
||||
"optional": true,
|
||||
"addToSystemPath": true
|
||||
}
|
||||
@@ -45,6 +44,10 @@ constexpr auto ghs_rh850_d1m1a_baremetal_json = R"(
|
||||
"setting": "GHSToolchain",
|
||||
"label": "Green Hills Compiler",
|
||||
"type": "path",
|
||||
"defaultValue": {
|
||||
"linux": "",
|
||||
"windows": "C:/ghs/comp_201815"
|
||||
},
|
||||
"optional": false,
|
||||
"versionDetection": {
|
||||
"filePattern": {
|
||||
@@ -71,12 +74,16 @@ constexpr auto ghs_rh850_d1m1a_baremetal_json = R"(
|
||||
"envVar": "RGL_DIR",
|
||||
"setting": "RGL_DIR",
|
||||
"versions": [
|
||||
"2.0.0",
|
||||
"2.0.0a"
|
||||
],
|
||||
"label": "Renesas Graphics Library",
|
||||
"cmakeVar": "QUL_BOARD_SDK_DIR",
|
||||
"type": "path",
|
||||
"defaultValue": "/Renesas_Electronics/D1x_RGL/rgl_ghs_D1Mx_obj_V.2.0.0a",
|
||||
"defaultValue": {
|
||||
"linux": "",
|
||||
"windows": "%{Env:PROGRAMFILES(x86)}/Renesas_Electronics/D1x_RGL/rgl_ghs_D1Mx_obj_V.2.0.0a"
|
||||
},
|
||||
"versionDetection": {
|
||||
"regex": "\\d+\\.\\d+\\.\\w+"
|
||||
},
|
||||
|
@@ -5,7 +5,7 @@
|
||||
|
||||
constexpr auto ghs_tviic2d4m_baremetal_json = R"(
|
||||
{
|
||||
"qulVersion": "2.3.0",
|
||||
"qulVersion": "2.4.0",
|
||||
"compatVersion": "1",
|
||||
"platform": {
|
||||
"id": "TVIIC2D4M-BAREMETAL",
|
||||
@@ -16,9 +16,10 @@ constexpr auto ghs_tviic2d4m_baremetal_json = R"(
|
||||
"cmakeEntries": [
|
||||
{
|
||||
"id": "INFINEON_AUTO_FLASH_UTILITY_DIR",
|
||||
"setting": "CypressAutoFlashUtil",
|
||||
"label": "Cypress Auto Flash Utility",
|
||||
"setting": "InfineonAutoFlashUtil",
|
||||
"label": "Infineon Auto Flash Utility",
|
||||
"type": "path",
|
||||
"defaultValue": "%{Env:PROGRAMFILES(x86)}/Infineon/Auto Flash Utility 1.2",
|
||||
"cmakeVar": "INFINEON_AUTO_FLASH_UTILITY_DIR",
|
||||
"detectionPath": "bin/openocd.exe",
|
||||
"optional": false,
|
||||
@@ -36,8 +37,8 @@ constexpr auto ghs_tviic2d4m_baremetal_json = R"(
|
||||
"label": "Green Hills Compiler for ARM",
|
||||
"cmakeVar": "QUL_TARGET_TOOLCHAIN_DIR",
|
||||
"setting": "GHSArmToolchain",
|
||||
"detectionPath": "cxarm.exe",
|
||||
"type": "path",
|
||||
"defaultValue": "C:/ghs/comp_201954",
|
||||
"optional": false,
|
||||
"versionDetection": {
|
||||
"filePattern": "gversion.exe",
|
||||
@@ -59,15 +60,17 @@ constexpr auto ghs_tviic2d4m_baremetal_json = R"(
|
||||
"envVar": "TVII_GRAPHICS_DRIVER_DIR",
|
||||
"setting": "TVII_GRAPHICS_DRIVER_DIR",
|
||||
"versions": [
|
||||
"V1e.1.0"
|
||||
"V1.2.0"
|
||||
],
|
||||
"id": "TVII_GRAPHICS_DRIVER_DIR",
|
||||
"label": "Graphics Driver for Traveo II Cluster Series",
|
||||
"cmakeVar": "QUL_BOARD_SDK_DIR",
|
||||
"type": "path",
|
||||
"defaultValue": "C:/TVII-GraphicsDriver",
|
||||
"optional": false,
|
||||
"versionDetection": {
|
||||
"regex": "V\\w+\\.\\d+\\.\\d+"
|
||||
"regex": "V\\d+\\.\\d+\\.\\d+"
|
||||
}
|
||||
}
|
||||
}
|
||||
)";
|
||||
|
@@ -5,7 +5,7 @@
|
||||
|
||||
constexpr auto ghs_tviic2d6m_baremetal_json = R"(
|
||||
{
|
||||
"qulVersion": "2.3.0",
|
||||
"qulVersion": "2.4.0",
|
||||
"compatVersion": "1",
|
||||
"platform": {
|
||||
"id": "TVIIC2D6M-BAREMETAL",
|
||||
@@ -16,9 +16,10 @@ constexpr auto ghs_tviic2d6m_baremetal_json = R"(
|
||||
"cmakeEntries": [
|
||||
{
|
||||
"id": "INFINEON_AUTO_FLASH_UTILITY_DIR",
|
||||
"setting": "CypressAutoFlashUtil",
|
||||
"label": "Cypress Auto Flash Utility",
|
||||
"setting": "InfineonAutoFlashUtil",
|
||||
"label": "Infineon Auto Flash Utility",
|
||||
"type": "path",
|
||||
"defaultValue": "%{Env:PROGRAMFILES(x86)}/Infineon/Auto Flash Utility 1.2",
|
||||
"cmakeVar": "INFINEON_AUTO_FLASH_UTILITY_DIR",
|
||||
"detectionPath": "bin/openocd.exe",
|
||||
"optional": false,
|
||||
@@ -36,8 +37,8 @@ constexpr auto ghs_tviic2d6m_baremetal_json = R"(
|
||||
"label": "Green Hills Compiler for ARM",
|
||||
"cmakeVar": "QUL_TARGET_TOOLCHAIN_DIR",
|
||||
"setting": "GHSArmToolchain",
|
||||
"detectionPath": "cxarm.exe",
|
||||
"type": "path",
|
||||
"defaultValue": "C:/ghs/comp_201954",
|
||||
"optional": false,
|
||||
"versionDetection": {
|
||||
"filePattern": "gversion.exe",
|
||||
@@ -59,15 +60,17 @@ constexpr auto ghs_tviic2d6m_baremetal_json = R"(
|
||||
"envVar": "TVII_GRAPHICS_DRIVER_DIR",
|
||||
"setting": "TVII_GRAPHICS_DRIVER_DIR",
|
||||
"versions": [
|
||||
"V1e.1.0"
|
||||
"V2e.1.0"
|
||||
],
|
||||
"id": "TVII_GRAPHICS_DRIVER_DIR",
|
||||
"label": "Graphics Driver for Traveo II Cluster Series",
|
||||
"cmakeVar": "QUL_BOARD_SDK_DIR",
|
||||
"type": "path",
|
||||
"defaultValue": "C:/TVII-GraphicsDriver",
|
||||
"optional": false,
|
||||
"versionDetection": {
|
||||
"regex": "V\\w+\\.\\d+\\.\\d+"
|
||||
"regex": "V\\d+e\\.\\d+\\.\\d+"
|
||||
}
|
||||
}
|
||||
}
|
||||
)";
|
||||
|
77
src/plugins/mcusupport/test/iar_tviic2d4m_baremetal_json.h
Normal file
77
src/plugins/mcusupport/test/iar_tviic2d4m_baremetal_json.h
Normal file
@@ -0,0 +1,77 @@
|
||||
// Copyright (C) 2022 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#pragma once
|
||||
|
||||
constexpr auto iar_tviic2d6m_baremetal_json = R"(
|
||||
{
|
||||
"qulVersion": "2.4.0",
|
||||
"compatVersion": "1",
|
||||
"platform": {
|
||||
"id": "TVIIC2D4M-BAREMETAL",
|
||||
"vendor": "CYPRESS",
|
||||
"colorDepths": [
|
||||
32
|
||||
],
|
||||
"cmakeEntries": [
|
||||
{
|
||||
"id": "INFINEON_AUTO_FLASH_UTILITY_DIR",
|
||||
"setting": "InfineonAutoFlashUtil",
|
||||
"label": "Infineon Auto Flash Utility",
|
||||
"type": "path",
|
||||
"defaultValue": "%{Env:PROGRAMFILES(x86)}/Infineon/Auto Flash Utility 1.2",
|
||||
"cmakeVar": "INFINEON_AUTO_FLASH_UTILITY_DIR",
|
||||
"detectionPath": "bin/openocd.exe",
|
||||
"optional": false,
|
||||
"addToSystemPath": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"toolchain": {
|
||||
"id": "iar",
|
||||
"versions": [
|
||||
"8.22.3"
|
||||
],
|
||||
"compiler": {
|
||||
"id": "IARToolchain",
|
||||
"setting": "IARToolchain",
|
||||
"envVar": "IAR_ARM_COMPILER_DIR",
|
||||
"label": "IAR ARM Compiler",
|
||||
"cmakeVar": "QUL_TARGET_TOOLCHAIN_DIR",
|
||||
"type": "path",
|
||||
"versionDetection": {
|
||||
"filePattern": "bin/iccarm.exe",
|
||||
"executableArgs": "--version",
|
||||
"regex": "\\bV(\\d+\\.\\d+\\.\\d+)\\.\\d+\\b"
|
||||
},
|
||||
"detectionPath": "bin/iccarm.exe",
|
||||
"defaultValue": "%{Env:PROGRAMFILES(x86)}/IAR Systems/Embedded Workbench 8.0 EWARM FS 8.22.3/arm",
|
||||
"optional": false
|
||||
},
|
||||
"file": {
|
||||
"id": "IAR_CMAKE_TOOLCHAIN_FILE",
|
||||
"cmakeVar": "CMAKE_TOOLCHAIN_FILE",
|
||||
"type": "file",
|
||||
"defaultValue": "%{Qul_ROOT}/lib/cmake/Qul/toolchain/iar.cmake",
|
||||
"visible": false,
|
||||
"optional": false
|
||||
}
|
||||
},
|
||||
"boardSdk": {
|
||||
"envVar": "TVII_GRAPHICS_DRIVER_DIR",
|
||||
"setting": "TVII_GRAPHICS_DRIVER_DIR",
|
||||
"versions": [
|
||||
"V1.2.0"
|
||||
],
|
||||
"id": "TVII_GRAPHICS_DRIVER_DIR",
|
||||
"label": "Graphics Driver for Traveo II Cluster Series",
|
||||
"cmakeVar": "QUL_BOARD_SDK_DIR",
|
||||
"type": "path",
|
||||
"defaultValue": "C:/TVII-GraphicsDriver",
|
||||
"optional": false,
|
||||
"versionDetection": {
|
||||
"regex": "V\\d+\\.\\d+\\.\\d+"
|
||||
}
|
||||
}
|
||||
}
|
||||
)";
|
@@ -5,7 +5,7 @@
|
||||
|
||||
constexpr auto iar_tviic2d6m_baremetal_json = R"(
|
||||
{
|
||||
"qulVersion": "2.3.0",
|
||||
"qulVersion": "2.4.0",
|
||||
"compatVersion": "1",
|
||||
"platform": {
|
||||
"id": "TVIIC2D6M-BAREMETAL",
|
||||
@@ -16,9 +16,10 @@ constexpr auto iar_tviic2d6m_baremetal_json = R"(
|
||||
"cmakeEntries": [
|
||||
{
|
||||
"id": "INFINEON_AUTO_FLASH_UTILITY_DIR",
|
||||
"setting": "CypressAutoFlashUtil",
|
||||
"label": "Cypress Auto Flash Utility",
|
||||
"setting": "InfineonAutoFlashUtil",
|
||||
"label": "Infineon Auto Flash Utility",
|
||||
"type": "path",
|
||||
"defaultValue": "%{Env:PROGRAMFILES(x86)}/Infineon/Auto Flash Utility 1.2",
|
||||
"cmakeVar": "INFINEON_AUTO_FLASH_UTILITY_DIR",
|
||||
"detectionPath": "bin/openocd.exe",
|
||||
"optional": false,
|
||||
@@ -39,14 +40,12 @@ constexpr auto iar_tviic2d6m_baremetal_json = R"(
|
||||
"cmakeVar": "QUL_TARGET_TOOLCHAIN_DIR",
|
||||
"type": "path",
|
||||
"versionDetection": {
|
||||
"filePattern": {
|
||||
"windows": "bin/iccarm.exe",
|
||||
"linux": "bin/iccarm"
|
||||
},
|
||||
"filePattern": "bin/iccarm.exe",
|
||||
"executableArgs": "--version",
|
||||
"regex": "\\bV(\\d+\\.\\d+\\.\\d+)\\.\\d+\\b"
|
||||
},
|
||||
"detectionPath": "bin/iccarm.exe",
|
||||
"defaultValue": "%{Env:PROGRAMFILES(x86)}/IAR Systems/Embedded Workbench 8.0 EWARM FS 8.22.3/arm",
|
||||
"optional": false
|
||||
},
|
||||
"file": {
|
||||
@@ -62,15 +61,17 @@ constexpr auto iar_tviic2d6m_baremetal_json = R"(
|
||||
"envVar": "TVII_GRAPHICS_DRIVER_DIR",
|
||||
"setting": "TVII_GRAPHICS_DRIVER_DIR",
|
||||
"versions": [
|
||||
"V1e.1.0"
|
||||
"V2e.1.0"
|
||||
],
|
||||
"id": "TVII_GRAPHICS_DRIVER_DIR",
|
||||
"label": "Graphics Driver for Traveo II Cluster Series",
|
||||
"cmakeVar": "QUL_BOARD_SDK_DIR",
|
||||
"type": "path",
|
||||
"defaultValue": "C:/TVII-GraphicsDriver",
|
||||
"optional": false,
|
||||
"versionDetection": {
|
||||
"regex": "V\\w+\\.\\d+\\.\\d+"
|
||||
"regex": "V\\d+e\\.\\d+\\.\\d+"
|
||||
}
|
||||
}
|
||||
}
|
||||
)";
|
||||
|
Reference in New Issue
Block a user