This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: AT91SAM7SEK and USB-SLAVE
- From: Andrew Lunn <andrew at lunn dot ch>
- To: wavecom wavecom <wavecomw at yahoo dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 21 Aug 2007 10:27:07 +0200
- Subject: Re: [ECOS] AT91SAM7SEK and USB-SLAVE
- References: <20070704092400.GB24630@lunn.ch> <237641.11796.qm@web60723.mail.yahoo.com>
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