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

MakeFile creation command line

Altera_Forum
Honored Contributor II
1,976 Views

Hello everybody, 

 

Not sure if I am posting my request at the right place, feel free to move it!  

 

I am trying to create a automated build software which can handle batch files to build nios projects. I am using NiosII 7.2 and can't really work out how to generate Makefile using command line in a dos prompt. 

 

I have a Sopc file : I use nios2-bsp-create-settings command to create the bsp file. From here, I use the nios2-bsp-generate-files to create the bsp directory (this step does not work and I have an exception : "SEVERE: ErrorLogException: Missing mapping for section ".stack"" ) . I am stuck here.  

 

I am wondering what is the difference between the PTF and SOPC file, as the SOPC file is lot smaller than my PTF one. 

 

If there is any other way of generating a makefile, I would be more than happy !!!  

 

Thanks for your help, 

Mat
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
967 Views

Hello everyone, 

 

I think I worked out myself that I can't really use the nios2-bsp-create-settings and nios2-bsp-generate-files commands to generate the makefile as my version (nios II 7.2) is too old to use bsp files...  

 

So now, is there a way I can generate these makefiles without using these commands ? I believe nios IDE generates the makefiles itself before to build, and I guess it does that using commands, but which ones ?  

 

Thank you very much for your help ! 

 

Mat
0 Kudos
Altera_Forum
Honored Contributor II
967 Views

Hi again, 

 

Could it be a way to launch nios2ide from the command line (nios2-ide.exe) passing the project that has to be built. Nios2 would then open, and build (if I can find an option to automatically build when opening project....)  

 

Cheers.
0 Kudos
Reply