Tests/RunCMake/IAR: Fix ASM cases for XLINK targets
As per the IAR Assemblers in the table below, there are some supposedly built-in target-identifier symbols missing.
Assembler | Version | Symbol |
---|---|---|
IAR Assembler for 8051 | 10.40.1 | __A8051__ |
IAR Assembler for AVR | 8.10.1 | __AAVR__ |
This MR proposes two improvements regarding this aspect:
- an alternative approach for detecting the affected target architectures by using their respective
__TID__
(Target Identifier) built-in symbols. - make sure that there is an IAR Assembly implementation for each target under test.
Fixes: #26267 (closed)
Edited by Brad King