Results 1 to 3 of 3

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

  1. #1
    Join Date
    Dec 2013
    Posts
    12
    Rep Power
    1

    Question 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. #2
    Daixiwen is offline Moderator **Forum Master**
    Join Date
    May 2008
    Location
    Norway
    Posts
    4,441
    Rep Power
    1

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

    Is the CYGPKG_IO package enabled in your ecos.ecc file? I see a cyg/io/devtab.h in my projects.
    Definition of a man-year: 730 people trying to finish the project before lunch

  3. #3
    Join Date
    Dec 2013
    Posts
    12
    Rep Power
    1

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

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •