Content originally posted in LPCWare by jdupre on Tue Nov 26 16:34:07 MST 2013
I reindexed all projects of LPCOpen, no change.
Here's another part of the problem:
Quote:
#if defined(USB_DEVICE_ONLY)
#if !defined(USB_CAN_BE_DEVICE)
#error USB_DEVICE_ONLY is not available for the currently selected microcontroller model.
#else
#undef USB_CAN_BE_HOST
#undef USB_CAN_BE_BOTH
#endif
#endif
For some reason the indexer thinks that USB_DEVICE_ONLY is defined, when it isn't. (At least the compiler knows that its isn't.) Because of that, the indexer also thinks that USB_CAN_BE_HOST is undefined. If I comment out the #undefine, then everything looks right.
Question is, why does the indexer think that USB_DEVICE_ONLY is defined??? I can right click on it and ask for declarations, but it says none found in the workspace.