Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16684 Discussions

Version control for the Nios II Eclipse program

Altera_Forum
Honored Contributor II
1,688 Views

I am working on the programs for the Nios II system. So what files of the program I need to commit for version control? It seems I should only need to commit all source files in application and BSP, plus makefile?  

 

If I only need source codes and makefile, if I checkout, how should I rebuilt the programs? thru makefile? 

 

Thanks.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
301 Views

Anyone has idea? 

 

Thanks.
0 Kudos
Altera_Forum
Honored Contributor II
302 Views

Hello, 

 

Nice question. I appreciate this as it would be useful to many people. 

 

I do not know exactly what kind of files should be there but here we are used to follow following procedure: 

(1) Make and build project in Eclipse. Test it on Hardware. 

(2) From eclipse, right click on your project and select clean project. This would delete some files which can be generated again when you perform build project. 

(3) Now commit files available under that project directory. 

 

If you find some better option or more information, please share. 

 

Regards, 

Bhaumik
0 Kudos
Altera_Forum
Honored Contributor II
302 Views

 

--- Quote Start ---  

Hello, 

 

Nice question. I appreciate this as it would be useful to many people. 

 

I do not know exactly what kind of files should be there but here we are used to follow following procedure: 

(1) Make and build project in Eclipse. Test it on Hardware. 

(2) From eclipse, right click on your project and select clean project. This would delete some files which can be generated again when you perform build project. 

(3) Now commit files available under that project directory. 

 

If you find some better option or more information, please share. 

 

Regards, 

Bhaumik 

--- Quote End ---  

 

 

Thanks for reply. Yes, I agree that commits all files after clean is a good idea. But we may still have a better idea. Let's whether there will be someone else post here.
0 Kudos
Reply