Import Nios II Eclipse project from a different location
The Sopc Design File (.sopcinfo) path is stored as an absolute path instead of relative path. To import Nios II Eclipse project from a different location you may follow the steps below:-
How to import a Nios II Eclipse project (Application and BSP)
- Go to Start -> launch “Nios II <version> Software Build Tools for Eclipse”-> specify your current workspace directory.
- Go to File -> Import -> select “Nios II Software Build tools Project” -> double click and select “Import Nios II software Build tools Project” -> click Next button.
- Browse for your project location -> select “software\<Application> Folder” -> Input the Project name: need to be same as the Application folder name -> Click Finish.
- Do step 3 above for the <BSP> Folder. Browse for your project location ->Select “software\<BSP> Folder” -> Input the Project name: need to be same as the BSP folder name -> Click Finish.
- Please make sure that the .sopcinfo file for the project is located in the same directory as set in your new project’s “software\<BSP> Folder\settings.bsp” : <SopcDesignFile>**the location of the .sopcinfo file**\*name*.sopcinfo</SopcDesignFile>
- Lastly, go to Project-> Build All; build the project to make sure the import action has been performed successfully.
Note: There is two important points that need to take care:
- The new Application and BSP “Project Name” must be the same as the original Application and BSP “Folder Name”.
- The .sopcinfo file location must the placing in the same directory as stated in new project’s “software\<BSP> Folder\settings.bsp”.