When using a kit with the IAR toolchain, after setting the path to IAR ARM Compiler in the MCU Device requirements (pic_1), the project configuration fails because the Kit doesn't have a C/C++ compiler specified
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
-- The C compiler identification is IAR ARM 8.50.9
-- The CXX compiler identification is IAR ARM 8.50.9
-- The ASM compiler identification is IAR ARM 8.50.9
-- Found assembler: /opt/iarsystems/bxarm/arm/bin/iasmarm
CMake Error at /usr/share/cmake-3.16/Modules/CMakeDetermineASMCompiler.cmake:17 (message):
Could not find compiler set in environment variable ASM_MASM:
Call Stack (most recent call first):
CMake Error: CMAKE_ASM_MASM_COMPILER not set, after EnableLanguage
The NXP1050 IAR Kit shows warnings for missing C/C++ compilers (pic_2).
After manually adding the C/C++ compilers to QtCreator (IAREW in pic_3) then the kit doesn't show anymore warnings (pic_4) and the project configures and builds fine.
Not sure if it's a bug or should be documented somewhere that it is necessary to add manually once the IAR C/C++ compilers if not auto-detected.