Forum Discussion
Altera_Forum
Honored Contributor
13 years agoUpdating Eclipse Project Upon NIOS II System Change
What do you have to do to make projects in NIOS II Software Build Tools for Eclipse pick up on changes made to a NIOS II System in Quartus II/QSYS? I have changed and added components to my system in QSYS and can't figure out how to get projects to pick up on the changes in Eclipse. The System.h file gets updated with the new/changed components, but I am unable to use any of the constants that are created in that file. The only way I have found is to create a new project in Eclipse using the sopcinfo file. Is there a way to force an existing project to update?
13 Replies
- Altera_Forum
Honored Contributor
1. Initialize Eclipse workspace
2. Create a new software project in the SBT Configure the Board Support Package Configure BSP Project Build Properties Add source code to the project Configure Application Project Build Properties Define Application Include Directories Compile, Download and Run the Software Project 2. Verify the Board Connection 3. Run the Software Project on the Target - Altera_Forum
Honored Contributor
--- Quote Start --- 1. Initialize Eclipse workspace 2. Create a new software project in the SBT Configure the Board Support Package Configure BSP Project Build Properties Add source code to the project Configure Application Project Build Properties Define Application Include Directories Compile, Download and Run the Software Project 2. Verify the Board Connection 3. Run the Software Project on the Target ----- --- Quote End --- Again, you missed the subject of the thread. The question was how to update nios ii eclipse project upon on modification in qsys and not to how to create new nios ii eclipse project (that is perfectly described in Nios II Classic Software Developer's Handbook). From my experience there are 2 cases:- with minor modifications in qsys
- with major modifications in qsys
- Qsys: Make modification in qsys and save it under new name
- Quartus: Instantiate new qsys in the top module (commenting former one), add it to the project and remove former one
- Quartus: In the top module adjust (if necessary) external ports
- Quartus: Compile new system and program device with modified .sof
- Eclipse: generate new bsp
- Eclipse: in application properties point to the new bsp