Visible to Intel only — GUID: iga1447447183266
Ixiasoft
Visible to Intel only — GUID: iga1447447183266
Ixiasoft
6.2.1.1.2. Project Templates
The Nios® II Software Build Tools for Eclipse help you to create a simple, small, and pretested software project to test a new board.
The Nios® II Software Build Tools for Eclipse provide a mechanism to create new software projects using project templates. To create a simple test program to test a new board, perform the following steps:
- In the Nios® II perspective, on the File menu, point to New, and click Nios® II Application and BSP from Template.
The New Project wizard for Nios® II C/C++ application projects appears.
- Specify the Platform Designer information (.sopcinfo) file for your design. The folder in which this file is located is your project directory.
- If your hardware design contains multiple Nios® II processors, in the CPU list, click the processor you wish to run this application software.
- Specify a project name.
- In the Templates list, click Hello World Small.
- Click Next.
- Click Finish.
The Hello World Small template is a very simple, small application. Using a simple, small application minimizes the number of potential failures that can occur as you bring up a new piece of hardware.
To create a new project for which you already have source code, perform the preceding steps with the following exceptions:
- In step 5, click Blank Project.
- After you perform step 7, perform the following steps:
- Create the new directory <your_project_directory>/software/<project_name>/source, where <project_name> is the project name you specified in step 4.
- Copy your source code files to the new project by copying them to the new <your_project_directory>/software/<project_name>/source directory.
- In the Project Explorer tab, right-click your application project name, and click Refresh. The new source folder appears under your application project name.