2022-08-09 08:22 AM
I am using recently updated CUBEMX version 6.6.1
As soon as i enable FreeRTOS cmss_v2 in cubeMX the USB init disappears...
MX_USB_DEVICE_Init is nowhere to be found........
Solved! Go to Solution.
2022-08-10 09:25 AM
there is not USB_DEVICE folder generated in my project
I realiced the USB files are located directly under src/ directory now.
The directories where cubeMX puts the usb files have changed?
MX_USB_DEVICE_Init needs to be put manually in main.c .
/* USER CODE BEGIN 2 */
MX_USB_DEVICE_Init();
/* USER CODE END 2 */
2022-08-10 01:16 AM
No clue of what is going on yet....
this guy pulls it out without problem https://www.youtube.com/watch?v=QZaC2Qf5bJI and i believe we do the same steps.
i tried with CMSIS v1 ... same issue
2022-08-10 07:24 AM
tried the same thing with cubeMX 6.3.0, same issue.
2022-08-10 08:06 AM
That youtube video is uploaded on 16th october 2020.
This means the cubeMX version he uses should be older than 6.1.0
2022-08-10 08:15 AM
I tried out cubeMX
and the issue is still there, im starting to think its not a version problem
2022-08-10 09:25 AM
there is not USB_DEVICE folder generated in my project
I realiced the USB files are located directly under src/ directory now.
The directories where cubeMX puts the usb files have changed?
MX_USB_DEVICE_Init needs to be put manually in main.c .
/* USER CODE BEGIN 2 */
MX_USB_DEVICE_Init();
/* USER CODE END 2 */