I'm trying to get USB working on the LPC1768. I was able to successfully build a couple of example projects but haven't managed to get my own working, so am obviously missing something obvious.
In an attempt to narrow down the problem, I've started a blank project, and added the appropriate (i.e. identical to other working projects) libraries through the RTE manager. I get the error
C:\Keil_v5\User\Keil\MDK-Middleware\7.12.0\USB\Include\usbd_config_def_0.h(7043): error: #35: #error directive: Endpoint 1 on Device 0 is already used! #error Endpoint 1 on Device 0 is already used!
There is no code at all in the blank project, so it's presumably some configuration step I'm missing in the header files. I'm very much a beginner to this stuff. Any insight would be very valuable.
It means you have configured that two interfaces on your device use same Endpoint 1.You should compare configuration files in your original code and your new code to spot the difference.