For information about supported EWARM (Embedded Workbench for ARM) compiler/environment versions, see Compilers.
You can import EWARM projects by using the cpptesttrace
utility. See Importing Projects with IAR Embedded Workbench Support for more information.
The following components are provided to facilitate testing IAR Embedded Workbench projects:
CLI/Batch mode importer: "-ewp" option + "settings" properties: "ewp.import.config", "ewp.import.linked", "ewp.import.location", "ewp.import.subdirs", "ewp.import.pathvar.enabled", "ewp.import.pathvar.name", "ewp.import.pathvar.value".
--fpu
option to Project Properties >Parasoft> C++test> Build Settings> Compiler Options.--map
option to Project Properties >Parasoft> C++test> Build Settings> Linker Options. .no_neon-
designated core names are not provided to the --cpu
option for Cortex-Ax cores, regardless of the General Options> Target> FPU setting.Due to the limitation of the preprocessor included with some IAR ARM compiler versions, C++test will not accept the following code for IAR ARM compiler v. 7.2x and earlier:
#define MHZ *1000000l #define FREQ (1MHZ) void foo(long freq); void bar(void) { foo(FREQ); } |
Workaround: space should be inserted between 1
and MHZ
:
#define FREQ (1 MHZ)
__nounwind
keyword because exceptions are re-thrown after they have been caught. If your program contains __nounwind,
add the following macro to compiler options under Project Properties> Parasoft> C++test> Build settings:-DCPPTEST_COLLECT_STACK_TRACE=0
The IAR EW Build System (and 'iarbuild' command line util) appends the '\' character (a backslash) to the end of each include path defined in the EWP project. This is reflected in BDFs after scanning/tracing these builds.
C++test quotes the include path options, and so it must escape the backslash to prevent escaping end quotes. Due to an iccarm-related bug, when a path option contains any spaces plus the ending double-backslash sequence, it is not interpreted as a single option, even when quoted.
There are 2 possible workarounds:
Install IAR EW on a space-less path, to prevent inclusion paths from containing spaces.
Post-process BDFs, either removing any ending backslashes from path options, or escaping all spaces in them.