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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

Add file .h to my Nios2 project

Altera_Forum
Honored Contributor II
1,325 Views

I need some help for my project. 

 

I want to add th library (file .h) of the asmi . But I don't know the exact path to put in the "include" in my file .c. 

 

I wish to add these files "altera_avalon_epcs_flash_controller.h" and "epcs_commands.h" or this file only "epcs_struct.h" but not success. 

 

I have after compilation the message "No File Such..." 

 

thx for your help. 

 

P.S.: screen from my work. 

http://www.hiboox.com/vignettes/1407/3c991820.jpg (http://www.hiboox.com/image.php?img=3c991820.jpg

 

Exter
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
388 Views

You can add the appropriate path to the projects include path. Search for "include path" within the NIOS IDE for specific details on how to do this.  

 

As a less preferred alternative you can specify the whole path within the# include. 

 

Stefan
0 Kudos
Reply