diff -r 578be2adaf3e -r 307f4279f433 Adaptation/GUID-F8BD699A-E926-5434-9F35-3DC6DC9FFBB6.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Adaptation/GUID-F8BD699A-E926-5434-9F35-3DC6DC9FFBB6.dita Fri Oct 15 14:32:18 2010 +0100 @@ -0,0 +1,43 @@ + + + + + +BuildThis topic describes how to include the ported driver in +a ROM. +

The USB client driver, EUSBC.LDD, and the +USB client controller, USBCC.DLL (the PDD) and +any other required component (a USB transceiver DLL) must be added +to the ROM image by adding suitable definitions to the ROM .oby files. In the template port add definitions to two +files:

+ +

Add the command line test applications. This can be done in a special +purpose .oby file which is used to create the +text shell, test ROM image:

+FILE=/EPOC32/RELEASE/ARMV5/UREL/T_USB.EXE SYS\BIN\T_USB.EXE +FILE=/EPOC32/RELEASE/ARMV5/UREL/T_USBAPI.EXE SYS\BIN\T_USBAPI.EXE + + Both these test applications are also pulled in by default +by the standard e32tests.oby file. +

The macro EUSBC needs to be defined +for the base port to pull in the user-mode components (e.g. USBMan) for a full ROM image. For template, this is done +in ...\template_variant\template.oby:

+REM Define whether or not to include USB client support: +#define EUSBC +
\ No newline at end of file