Import Project Settings (Optional)

About this task

Efinix provides a C/C++ project settings file that defines the include paths and symbols for the C code. Importing these settings into your project lets you explore and jump through the code easily.

Note: You are not required to import the project settings to build. These settings simply make it easier for you to write and debug code.

To import the settings:

Procedure

  1. Choose File > Import to open the Import wizard.
  2. Expand C/C++.
  3. Choose C/C++ > C/C++ Project Settings.
  4. Click Next.
  5. Click Browse next to the Settings file box.
  6. Browse to one of the following files and click Open:
    OptionDescription
    Windows embedded_sw\<SoC module>\config\project_settings_soc.xml
    Linux embedded_sw/<SoC module>/config_linux/project_settings_soc.xml
  7. In the Select Project box, select the project name(s) for which you want to import the settings.
  8. Click Finish.

Results

Eclipse creates a new folder in your project named Includes, which contains all of the files the project uses.

After you import the settings, clean your project (Project > Clean) and then build (Project > Build Project). The build process indexes all of the files so they are linked in your project.