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]

How to Enable USB Slave


I want to enable USB in Redboot. Which is similar to ecos. So writing this email.

I have read http://ecos.sourceware.org/docs-latest/ref/usbs-intro.html
Here it is mentioned that "Easiest way to do this is to enable the configuration option CYGGLO_IO_USB_SLAVE_APPLICATION, 
and the USB device driver and related packages will adjust accordingly"
But I don't know where to modify this.?

I have tried modifying ?build/ecos/packages/hal/arm/arm9/edb93xx/current/misc/redboot_ROMRAM.ecm
Add 
      package -hardware CYGPKG_DEVS_USB_D12 current? ; 
??????????? package CYGPKG_IO_USB current? ;
??????????? package CYGPKG_IO_USB_SLAVE current? ;
??????????? package CYGPKG_IO_USB_SLAVE_ETH current? ;

but this is giving me errors :
*************
C CYGPKG_DEVS_USB_D12, "requires" constraint not satisfied: CYGIMP_DEVS_USB_D12_HW_ACCESS_HEADER

Unable to generate build tree, this configuration still contains conflicts.
Either resolve the conflicts or use --ignore-errors
make[1]: Entering directory `/newhome/vivek/linux-crater_1-0-3Redboot/build/ecos/build'
********************

I have checked CYGIMP_DEVS_USB_D12_HW_ACCESS_HEADER in ecos.ecc, 
there is cdl_options for this, but did not understand why compilation is giving error (basically in ecosconfig tree) ? 

do i have to check some header file implementing D12 registers ?

What should I do to resolve this. Any pointers...will help a lot.

Thanks in advance.

Regards,
Vivek :-


--
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]