Commit Graph

10 Commits

Author SHA1 Message Date
Alessandro Portale
aaef25f708 McuSupport: Set Kit's CMAKE_PREFIX_PATH for Desktop version
... make sure that CMake really finds the right Qt installation

Change-Id: I90083e4522111eac9b3658f4351536cfc798bf98
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-11-07 12:38:35 +00:00
Alessandro Portale
af6ec7943e McuSupport: Tag "board" and Kit with vendor name
Needed for an upcoming hack, but also later when we "zero-config"
the boards.

Change-Id: I240cc252ebba458cab71db24740266756d0e8b37
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-11-04 17:47:57 +00:00
Alessandro Portale
ebc2628116 McuSupport: Adjust default path for SEGGER JLink
Change-Id: Iace2010f35bbaad3d1db749d6e05e2faa347c803
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-11-04 15:36:52 +00:00
Alessandro Portale
7d14132c8c McuSupport: Create a Qul-Desktop kit
First, hacky step towards supporting the "Qt" target. Such a target now
gets created with correct environment variables and CMake options.

Device type is for now Desktop, but portale thinks we will have a Qul/
Desktop target at some point.

Compiler and Qt version are randomly preselected and certainly need to
be adjusted by the user (for now).

Change-Id: Ie3f6a6e3ce1a46c35687e20a7550ff51b6b1b7c7
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-11-04 13:53:38 +00:00
Alessandro Portale
43e40f21a7 McuSupport: Detect GNU Toolchain for Arm a bit better
If there is exactly one subdir in the GNU Tools installation dir, pre-
select it.

Change-Id: I14cb2e46863884724d4eef2ecac83513c515ebee
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-11-01 08:56:11 +00:00
Alessandro Portale
e2f82cd57f McuSupport: Add path to shipped clang to build environment
Task-number: UL-1109
Change-Id: I0a79c597c3d4d0377fc6b3da9a8362d70dee85d5
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-10-31 15:17:35 +00:00
Alessandro Portale
907c35dc00 McuSupport: Enable and preselect usage of the shipped JOM (on Windows)
- Set CMake generator to "NMake Makefiles JOM"
- Add ICore::libexecPath to environment path
- Set the environment for the run configuration

Change-Id: Ie7b2dc1513b366911b429d77cc4a1954be531075
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-10-31 15:16:26 +00:00
Alessandro Portale
7fffe8a7b1 McuSupport: Add Segger Jlink path to kit environment
SEGGER_JLINK_SOFTWARE_AND_DOCUMENTATION_PATH

Change-Id: I29a1b4f011ce9f419b46e9571a930d14438bae20
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-10-30 18:34:45 +00:00
Alessandro Portale
efe49d3d9f McuSupport: Rename "NXP EVKB-IMXRT1050 SDK" to "NXP i.MXRT SDK"
The new name is more generic, and valid for more targets.

Change-Id: I7efb3f1721ec1e88de073d5f43edff8b308f3f02
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-10-30 18:33:55 +00:00
Alessandro Portale
6bdc6c1584 McuSupport: Split up McuSupportOptionsPage
Move the non-OptionsPage code into a new file for comprehensibility.

Change-Id: I306ae669ec9fdd941f777426420859ee2eb89e95
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-10-22 14:35:34 +00:00