This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AT91SAM7SEK and USB-SLAVE


On Tue, Aug 21, 2007 at 01:15:31AM -0700, wavecom wavecom wrote:
> I?ve created test USB package (only package
> directories and definition without any C-code).
> testusb.cdl looks like below:
> ?
> cdl_package CYGPKG_TEST_USB {
>     display       "Test USB"
>     description   "Test USB"
>     implements  CYGPKG_IO_USB
>     implements  CYGPKG_IO_USB_SLAVE
>     implements  CYGINT_IO_USB_SLAVE_CLIENTS 
> 
>     cdl_component CYGPKG_TEST_USB_DEVICES {
>         display       "Test USB dev"
>         flavor        bool
>         default_value 1
>         description   "Test USB dev"
>     }
> 
> }
> ?.
> Next I?ve added the package to ecos.db and to my
> project. But still, when I?m trying to enable ?Support
> the control endpoint 0?, I?ve got conflict ?? requires
> CYGPKG_IO_USB CYGPKG_IO_USB_SLAVE?. 
> To solve that, I?ve tried to add ?USB slave-side
> support? and ?USB Support? but the configuration tool
> rejected that, because of hardware property.
> Do I need to add these two packages?
> How to solve CYGPKG_IO_USB CYGPKG_IO_USB_SLAVE
> problem?
> I?m used at91sam7sek template.

Either use the CLI tool ecosconfig which ignores the hardware
property.  Or add CYGPKG_IO_USB and CYGPKG_IO_USB_SLAVE to the
at91sam7sek target in ecos.db.

            Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]