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.
Mike
Hi Mike,
Thanks for letting us know about it! I will report it to the ksdk team.
BTW, KSDK 2.0 is available now, maybe you can try it. Please kindly refer to Welcome to Kinetis Expert | Kinetis Expert for details.
Have a great day,
Kan
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------