Microchip Technology DV164139 Data Sheet

Page of 54
© 2009 Microchip Technology Inc.
DS41356B-page 11
4.
In the Add Existing Files to Your Project window, navigate to 
C:\LPCUSBDK_Labs\Lab1_files
 and copy the following files:
a) enumeration.c
b) usb_descriptors.c
c)
HardwareProfile.h
d) usb_config.h
To copy a file, click on the large letter A in front of the file path in the right pane of the 
window until a large letter C appears. This mode makes a copy of this file into the new 
project directory leaving the original file intact. (see Figure 2-1)
FIGURE 2-1:
This next section will add the files that will build the Framework that takes care of the 
low level USB functions. This does not need to be done for every application. The 
included example projects could be easily converted to suit the needs of a custom 
application. However, in the interest of providing an intuitive introduction to the 
Framework, this lab builds this application from scratch.
5.
Next, navigate to 
C:\Microchip Solutions\Microchip\Include
 and copy over the 
following files:
a) Compiler.h
b) GenericTypeDefs.h
Note:
Note:
These files are used by all the applications in the Framework. Therefore, 
changing these files will affect all applications. If any of these files are 
inadvertently altered, it is recommended that the Framework be reinstalled.