Hi Chris Great to see more USB support for eCos.
Chris Holgate wrote: > OK - I've now done a bit of tidying up which I hope won't have broken > it! The latest version of the package is here: > > http://www.zynaptic.com/ecos/packages/stm32-usb-20090519.epk I note that you've defined a new eCos target for "STM3210E-EVAL with USB". This should not be necessary. If you take a look at one of the other targets with USB support (eg "assabet") there's a CDL option which controls compilation of the USB hardware driver source code. In the case of assabet, this is the CYGFUN_DEVS_USB_SA11X0_EP0 option. This option is controlled by the CYGINT_IO_USB_SLAVE_CLIENTS interface. The intention is that other packages implement this interface to indicate that the USB hardware driver is required. Can you do something similar for your own target to eliminate the need for an extra target definition in ecos.db? The assabet target is old and may not offer the best example. John Dallaway