Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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