Details
-
User Story
-
Resolution: Done
-
P2: Important
-
None
-
None
-
5
-
Tooling Sprint 1.3/2021, Tooling Sprint 1.4/2021
Description
Required versions of the dependencies
Right now, the kit generation only checks that the required executables are available at the expected paths.
However, the versions of the tools are not checked.
This task is to:
- Find out which versions are required for each dependency
- Figure out at which point in the process the version should be checked (probably when checking that the path to the dependency is valid)
- Create the functionality for such check (if possible)
- Displaying problems to the user (in the Dialog Ui as well as the General Messages output)
Current dependencies of the different kits supported by the MCU plugin:
- Armgcc
- Green Hills Compiler
- IAR Arm Compiler
- gcc
- Microsoft Visual C++ Compiler
- STM32 Cube Programmer
- McuXpresso IDE
The 'legacy' function for the targets Baremetal and FreeRTOS also depend on:
- Renesas Graphics Library
Update:
- The kit description files distributed together with Qt for MCUs contain version numbers for the toolchains (e.g. armgcc) and the sdks. We can use that for checking the versions.
- Some of the dependencies are not explicitly in the description files (e.g. that's the case for the McuXpresso IDE). For this task, we only check the dependencies where the version is in the description. Hard-coding versions in the code of the plugin is to be avoided.
- While working in this task, we should check how the Qt for MCUs build process checks those versions, and that all toolchains and sdks will have them in the description files.
- If a version of an installed dependency is below that found in the description file, we're to show a warning only, but let the kit creation process continue.
Attachments
For Gerrit Dashboard: QTCREATORBUG-25261 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
336821,5 | McuSupport: Detect dependency versions when building MCU kits | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
337618,5 | McuSupport: Improvements with version detection | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |