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++

Nios.h - where is it?

Altera_Forum
名誉分销商 II
1,225 次查看

I'm trying to test a RS232 system, and the examples I've seen all tell me to include nios.h. Neither myself or my computer can find this file though.  

 

I'm using a DE2 board and Quartus II. 

 

Can anyone shed some light on this? 

 

Thanks
0 项奖励
1 回复
Altera_Forum
名誉分销商 II
214 次查看

That's a file from Nios classic days. It contains information about your system such as the address mapping for each peripheral connected to the Nios processor core. 

 

The file you want to look for (Nios II) is now called "system.h" which lives in the system library in the following location /<Debug or Release>/system_description. It provides the same type of information that nios.h contained. 

 

To become familiar with the new software flow I recommend taking the hardware design that you are using for the DE2 board, open then IDE and add a simple software project like "hello world", compile it then take a look at the resulting folder structure. I also recommend taking a look at this document: http://www.altera.com/literature/an/an350.pdf (http://www.altera.com/literature/an/an350.pdf

 

That&#39;ll help explain what has changed between Nios classic and Nios II in terms of software development.
0 项奖励
回复