User guide

Nios II IDE Help System
Use an external file management tool (such as Windows Explorer) to "drag and drop" files
and folders onto the project folder in the Nios II C/C++ Projects view of the Nios II IDE.
The Nios II IDE automatically recognizes C files and folders in the project folder and
associates them with the project. After copying, you might have to right-click the project
in the Nios II C/C++ Projects view, and then click Refresh for the Nios II IDE to recognize
the files.
Alternatively, you can copy files and folders into the project directory with an external file
management tool, and then click Refresh in the Nios II C/C++ Projects view to instruct
the Nios II IDE to recognize the files.
To share software projects:
You can share Nios II IDE projects with other Nios II IDE users by either copying files, or
using a source control system. Refer to Related Topics for more information about source
control systems.
To share software projects by copying files, use the import and export steps described in
this topic. Passing project files to another Nios II IDE user requires that you:
Have the same version of the Nios II Embedded Design Suite (EDS) installed as
the other IDE user.
Use the default locations for the Nios II C/C++ application project and Nios II
system library project when you create the projects. The default location keeps the
software files in a fixed location relative to the SOPC Builder system file (.ptf), so
that the Nios II IDE can find everything it needs to build the project.
Include both the Nios II C/C++ application project and the Nios II system library
project directories.
Include the SRAM object file (.sof) and SOPC Builder system file (.ptf), which
describe the target hardware.
Optionally include any run/debug configurations associated with the project.
Note: Run/debug configurations by default reside separate from the project
files to keep project directories clutter free. To store a run/debug configuration
with its project, making it easier to track when sharing projects, select Shared
on the Common tab of the desired run/debug configuration and specify the
project's path in the Location box.
Do not include the build directory, typically named Debug or Release. The
contents of these directories are regenerated on the new machine.
You can also import Nios II software build tools C/C++ applications, board support packages
(BSP), and supporting source code into the IDE as user-managed makefile projects.
Importing a Nios II software build tools C/C++ application into the IDE as a Nios II user-
makefile C/C++ application project allows you to debug your application in the Nios II IDE.
Importing the BSP and supporting source code is not required to debug your application, but
allows you to see, step through, and debug the all source code associated with your
application.
To import Nios II software build tools projects:
Nios II software build tools produce or use the following items:
42