[ECOS] AT91SAM7SEK and USB-SLAVE
wavecom wavecom
wavecomw@yahoo.com
Wed Aug 22 08:36:00 GMT 2007
Another AT91 USBSlave question :):) :
File:
ecos/packages/devs/usb/at91/current/include/usbs_at91.h
contains only usbs_control_endpoint and 3
usbs_rx_endpoint.
How to retrieve proper instance of usbs_tx_endpoint?
Thanks,
Pete
--- Andrew Lunn <andrew@lunn.ch> wrote:
> 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
>
>
____________________________________________________________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list