Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

postbuild steps in nios IDE?

Altera_Forum
Honored Contributor II
1,046 Views

hello 

how to make postbuild actions in niosii ide (v5.1). 

i just want to make ihex after each build. 

i'm using auto makefile. 

thank you
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
378 Views

I dont knw how to do it in IDE. 

But you can use nios2-elf-objcopy, add to your Makefile 

nios2-elf-objcopy -O ihex vmlinux vmlinux.hex
0 Kudos
Altera_Forum
Honored Contributor II
378 Views

 

--- Quote Start ---  

originally posted by hippo@Feb 10 2006, 04:00 PM 

i dont knw how to do it in ide. 

but you can use nios2-elf-objcopy, add to your makefile 

nios2-elf-objcopy -o ihex vmlinux vmlinux.hex 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=12673)</div> 

--- Quote End ---  

 

i know how to make hex file with nios2-elf-objcopy and elf2hex 

but we are using a autogenerated make file, thats generated each time priror build by IDE. 

do you know where makefile&#39;s teplates are placed?
0 Kudos
Altera_Forum
Honored Contributor II
378 Views

Try right-click on the project, select "Properties", then "Builders". Click the "New" button to generate a builder. You can specify an executable, probably a batch file as well. When you build the project Eclipse will launch the "Builders" in sequence. 

 

Hope that helps, 

Andrew
0 Kudos
Reply