Skip to content

WIP: IAR updates

Stefan Andersson requested to merge (removed):master into master

-Attempt to make improve the support for IAR compilers and make it easier to add support for new target compilers -Added support for IAR targets RX, and MSP430 -Added variable CMAKE_C_COMPILER_INTERNAL_VERSIONwhich gets its value from the predefined symbol __IAR_SYSTEMS_ICC__ TODO: No errors when building but the new variable does not seem to get any value.

Status: -ARM builds fine

-The RX assembler fails due to that the regexp in file CMakeDetermineASMCompiler.cmake looks at the assembler sign-on message to determine the architecture. Not a stable solution as the sign-on message differs between different IAR assemblers. The regexp needs to be updated or to find another solution: ARM sign-on: IAR Assembler V8.11.3.13950/W32 for ARM RX sign-on: IAR Assembler V3.10.3.3705 for Renesas RX

-AVR and MSP430 fails in compiling due to that the -c option is invoked in the compiler command line, probably due some fallback.

Issue: #17264
Topic-rename: iar-updates

Edited by Brad King

Merge request reports