Content originally posted in LPCWare by NXP_Paul on Mon Aug 19 10:46:21 MST 2013
Takashi
Assuming you have unzipped LPCOpen to the root directory of your hard drive, you can try the following procedure:
1. Right-click in the LPCXpresso Project Explorer, from the pop-up menu, select "Import"
2. In the Import dialog box, select "General", then "Existing Project into Workspace". Press the "Next" button.
3. Browse to the LPC11Uxx project directory. For example, if LPCOpen is installed in the root directory, then it would be
C:\LPCOpen\applications\lpc11xx\xpresso_projects\nxp_xpresso_11u14
4. You can select all the projects you want to use, but you can also just include the projects that you need to run a specific example. For this example, let's say we want to make a Generic HID Device. For this, I would deselect all, then just select "nxp_xpresso_11u14_board_lib", "nxp_xpresso_11U14_usb_GenericHIDDevice", and "nxp_xpresso_11U14_usblib_device". Press the "Finish" button.
If you look in the "nxp_xpresso_11u14_GenericHIDDevice" project folder, you will see a file called "GenericHID.c". This file contains the main() function. The folder also contains the start-up file (cr_startup_lpc11xx.c).
Now you can build and debug the project.