...
- For runtime testing, increase "Stack/Heap" in EW project options to at least 2048(800h)/ 1280(500h) respectively to allow for testing overheads. For EW430 projects that use the 430X core and medium or large data model, the values should be at least 4096(1000h) for stack and 2048(800h)/4096(1000h) for the heaps.
- Start console.
- Set the compiler toolchain on PATH (as for C++test; 'cspybat' on PATH & EW_DIR envar aren't needed).
- Set the C++test install directory on PATH.
- CD to the project's directory.
- Run the following command:
|
Use an EW project configuration name (e.g., Debug
, Release
, DebugRunFromFlash
, etc.) for the -build
argument.
...
You may also use -log all
after the -build
flag to show detailed build progress information. The -log all
option is an iarbuild
option.
Import BDF file into C++test
- Start console (or reuse this for BDF generation).
- Set environment for the appropriate toolchain as described in the documentation (executables on PATH, EW_DIR envar).
- Start C++test.
- Follow steps of importing the BDF file described in documentation (see Importing project using Build Data File with the GUI wizard).
- Confirm project settings correctness in Properties> Parasoft> C++test> Build Settings.
...