2025-02-13 02:58 AM
Hello,
I am trying to get USBX to work on my NUCLEO-U5A5ZJ-Q board independently from the example provided. I can copy and paste the project into the same directory location as the example (inside the firmware package) and it works absolutely fine.
When copying the project to another location outside the firmware directory and reroute all the files that use the relative directory position of files to the true location of the files (done inside the project preferences window and inside the .project folder), the project builds without errors or warnings but the USBC does not enumerate.
All of the project settings, IDE settings and file contents should be identical to the example.
Is there anything I have missed because I don't understand why it wouldn't work exactly the same as the example. If anyone has experienced this problem before or has any ideas on why this might be happening / how to fix this issue I would be very grateful.
(I'm using firmware version 1.7.0 & STM32CubeIDE version 1.17.0)
Kind regards,
Sonny
2025-02-13 06:17 AM
After changing the project location, you should import the project to the workspace. However, this has nothing to do with the enumeration of USB app. Your issue seems to be linked to project compilation in CubeIDE!
A screenshot of the issue would be helpful to investigate further.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.