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

How to put devtab.h into <cyg/io> ?

Altera_Forum
Honored Contributor II
1,016 Views

Hi! 

 

In io.cdl, I see: 

 

cdl_package CYGPKG_IO { 

display "I/O sub-system" 

doc ref/io.html 

include_dir cyg/io 

requires CYGPKG_ERROR 

description " 

The eCos system is supplied with a number of different 

device drivers. This option enables the basic I/O system 

support which is the basis for all drivers." 

... 

In ecos.db, there is 

package CYGPKG_IO { 

alias { "I/O sub-system" io } 

directory io/common 

script io.cdl 

... 

 

There is devtab.h in packages/io/common/current/include. 

 

However, after building, I see no devtab.h file in cyg/io. What may be wrong?  

TIA
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
309 Views

Is the CYGPKG_IO package enabled in your ecos.ecc file? I see a cyg/io/devtab.h in my projects.

0 Kudos
Altera_Forum
Honored Contributor II
309 Views

Thanks, Daixiwen! I just did not know that there were several targets in my ecos.db. Now, the problem is solved.

0 Kudos
Reply