Skip to content

Enchance IAR (ARM) Compiler Support

nolange requested to merge (removed):iar_improved into master

IAR Support was vastly improved

  • Support for C/C++ Standard flags
  • Variables are consistently set for C/C++/ASM
  • Compiler and Assembler Version are detected
  • IAR Architecture is provided in a CMAKE__COMPILER_ARCHITECTURE_ID Variable. Detection is via Macros for C/C++ and parsed output for ASM
  • additional IAR Tools (similar to GNU Binutils) are provided as variables
  • the standard CMake configurations are supported (Debug, Release, ...)

I tested primary with IAR 8.10.1 and 7.30, and looked into manuals for 6.xx. These versions should be fully working, no guarantee for older ones.

Fixes: #16826 (closed)

Merge request reports