Skip to main content

IAR Embedded Workbench for RH850 3.20.x

Loading executable files built outside of the IDE

In this section:

You can also load C-SPY with an application that was built outside the IDE, for example applications built on the command line. To load an externally built executable file and to set build options you must first create a project for it in your workspace.

To create a project for an externally built file:
  1. Choose Project>Create New Project, and select the template Externally built executable. Click OK and specify a project name in the dialog box.

  2. To add the executable file to the project, choose Project>Add Files and make sure to choose All Files in the file type drop-down list. Locate the executable file.

  3. To start the executable file, clickDownloadAndDebugButton_Mym80_01.png the Download and Debug button. The project can be reused whenever you rebuild your executable file.

    The only project options that are meaningful to set for this kind of project are options in the General Options and Debugger categories. Make sure to set up the general project options in the same way as when the executable file was built.

Note

To make it possible for the IDE to find and display all source files referred to from the externally built binary file, a source file resolution system exists, based on aliases. For more information, see Resolving source files for externally built executable files.