C++test's built-in GUI-based EW project importer only supports EWARM projects, and only for specific EWARM versions (see Support Overview). Importing EW projects for other toolchain versions or target architectures must be done with the cpptesttrace
utility. The cpptesttrace
utility scans the command lines for processes spawned by the iarbuild
utility.
The importing process consists of two stages: 1) Generating the Build Data File (.bdf) and 2) importing this file in C++test.
cpptesttrace --cpptesttraceProjectName=<prj_name> --cpptesttraceOutputFile=<prj_dir>\<prj_name>.bdf
iarbuild <prj_name>.ewp -build <config>
Use an EW project configuration name (e.g. Specify the absolute path to the You may have to place quotation marks around the options containing spaces/braces. In most circumstances, you should name your C++test project after the .ewp file name when using the By default, the trace feature is configured to capture each toolchain executable name recognized by C++test through built-in compiler configurations. If the process' command-lines aren't scanned, specify the compiler and linker executable names by adding a For example:
for EW430 and
for STM8. The You may also use |
You must repeat the entire process following any changes to the original project unless you are adding new sources in existing source locations.