Hi
I am trying to use KDSK usb library with Project I created for k64 in KDS 3.0.
I have added MQX_SDK (MQX_lite) from the Processor expert in the project.
I have copied complete USB directory in KDSK 1.3.0 to workspace directory and changed all project path and symbols in USB library project.
now able to build USB library.
I have copied USB_descriptor and Virtual_com to my main project.
when I try to to build the project I get below error.
| Description | Resource | Path | Location | Type |
| expected declaration specifiers or '...' before '*' token | psptypes.h | /ksdk_usb/SDK/rtos/mqx/mqx/source/psp/cortex_m | line 42 | C/C++ Problem |
| make: *** [Sources/main.o] Error 1 | ksdk_usb | | | C/C++ Problem |
| unknown type name 'usb_application_callback_struct_t' | usb_class_cdc.h | /usbd_sdk_mqx_lib_MK64F12/usb_core/device/sources/class_driver/include | line 134 | C/C++ Problem |
| unknown type name 'usb_board_init_callback_struct_t' | usb_class_cdc.h | /usbd_sdk_mqx_lib_MK64F12/usb_core/device/sources/class_driver/include | line 138 | C/C++ Problem |
| unknown type name 'usb_desc_request_notify_struct_t' | usb_class_cdc.h | /usbd_sdk_mqx_lib_MK64F12/usb_core/device/sources/class_driver/include | line 137 | C/C++ Problem |
| unknown type name 'usb_status' | usb_class_cdc.h | /usbd_sdk_mqx_lib_MK64F12/usb_core/device/sources/class_driver/include | line 183 | C/C++ Problem |
| unknown type name 'usb_status' | usb_class_cdc.h | /usbd_sdk_mqx_lib_MK64F12/usb_core/device/sources/class_driver/include | line 199 | C/C++ Problem |
| unknown type name 'usb_status' | usb_class_cdc.h | /usbd_sdk_mqx_lib_MK64F12/usb_core/device/sources/class_driver/include | line 239 | C/C++ Problem |
| unknown type name 'usb_status' | usb_class_cdc.h | /usbd_sdk_mqx_lib_MK64F12/usb_core/device/sources/class_driver/include | line 257 | C/C++ Problem |
| unknown type name 'usb_status' | usb_class_cdc.h | /usbd_sdk_mqx_lib_MK64F12/usb_core/device/sources/class_driver/include | line 279 | C/C++ Problem |
| unknown type name 'usb_vendor_req_callback_struct_t' | usb_class_cdc.h | /usbd_sdk_mqx_lib_MK64F12/usb_core/device/sources/class_driver/include | line 135 | C/C++ Problem |
I have update all the include path also, still i get these error.
anyone has idea what could be going wrong here.