Hi Audi McAvoy,
I already help you check it, I find there are several problems in your project.
1. you didn't add the usb_cdc.c in your project, at least I didn't find it in your workspace folder.
2. usb_device_config.h problem, you didn't defined the USBCFG_DEG_CDC in this head file, it is still :
| #define USBCFG_DEV_CDC | (0) |
You should modify it to :
| #define USBCFG_DEV_CDC | (1) |
If you didn't define it to 1, it will caused USB_Class_CDC_Init undefined, you can read the usb_cdc.c, only when USBCFG_DEV_CDC is defined as 1, function USB_Class_CDC_Init can be defined.
This is the main problem why you always meet the error of undefined USB_Class_CDC_Init.
3. If still have the undefined function, just add the according head file.
I help you modify your project, the undefined USB_Class_CDC_Init problem is solved, I also attached it, you can check it.
Besides, I suggest you refer to the KSDK CDC project:C:\Freescale\KSDK_1.2.0\examples\frdmk64f\demo_apps\usb\device\cdc\virtual_com\bm\kdsIn this project, USBCFG_DEG_CDC is defined as 1 in usb_device_config.h
Wish it helps you!
If you still have question, please contact with me!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------