ksdk 1.3 usb stack compile errors

Discussion created by MICHAEL HUSLIG on Jan 30, 2016
Latest reply on Feb 1, 2016 by Kan_Li

After modifying an MSD device project from the 1.3 examples, I started getting compile errors when using the bare metal usb stack.  The errors pointed to the "#define _CODE_PTR_ *" line in types.h.  After much searching, I figured out that "usb_device_stack_interface.h" must be included before "usb_class.h".  On the next iteration of the stack, you might want to add that to usb_class.h.