Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
743 Views

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

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 I
36 Views

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

Altera_Forum
Honored Contributor I
36 Views

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

Reply