Hello Erich, nice to talk to you again.
Yes, you are right. Now I am using the USB_FSL stack and adding the Mouse component inside it. The files are not missing anymore.
I am using a FRDM-KL25 board with Codewarrior 10.7, I tried it on both 10.6 and 10.7 and the result was the same. After using the whole USB stack component, I got a compilation error (USB1_SendChar undeclared) in the Shell referenced component, which I removed. Now it is compiling wholly.
When I tried to debug, I got a debug halt from the hardware fault interrupt vector. It happened inside the USB0_Init() function, when it tries to access the USB0_CTL register. It seems that clock gating for USB module was not active, so I have set the corresponding bit in SIM_SCGC4 (in the beginning of USB0_Init). Now the program is running, but my wondows 10 computer does not recognize the USB device. I got an error 43 , failure in requesting device descriptor. I thought the PE component would have a standard descriptor and VID/PID. What am I missing? and why the original USB stack component is not turning on USB clock gating?
Thank you
Antonio