Hi,
we have reproduced the problem. The examples get broken when they are imported to CW10,4 and re-generated.
The problem is than in the usb_descriptor.h, the #endif part at the #endif gets duplicated.
The quick workaround is to delete the ending part with the last #endif :
/* Begin of code block <4> auto generated code, DO NOT MODIFY LINES BELOW */
#endif
/*
** ###################################################################
**
** This file was created by Processor Expert 10.0 [05.03]
** for the Freescale Kinetis series of microcontrollers.
**
** ###################################################################
*/
/* End code block <4> auto generated code, DO NOT MODIFY LINES ABOVE */
After that, I was able to build the example with the CW10.4.
We are sorry for an incovenience.
best regards
Petr Hradsky
Processor Expert Support Team